Problems connecting through SSH & SCPI simultaneously
Posted: Tue Mar 16, 2021 11:24 pm
Hello. I am currently working on a project that requires me to SSH into the RP to talk to a device plugged into its USB port. At the same time I need to generate custom waveforms (fast out) and perform acquisition (fast in), both of which I do with python through SCPI.
I've noticed that using the two connections (scpi & ssh) in tandem can cause some problems. For instance, part of my program requires running a python script in the RP which loads the FPGA overlay and pulses some of the DIOs. Then when I try to generate waveforms with the fast outs or turn on/off some of the DIOs through the scpi commands, the commands don't seem to work. Is this because the overlay was previously loaded in a script in the RP?
Naturally I am looking into ways to transition everything to scripts in the RP and only using the SSH connection, but I am still very familiar with and like using the scpi remote programming. Is there an efficient way to use both connections simultaneously, or was this not meant to be the way the RP is used?
I've noticed that using the two connections (scpi & ssh) in tandem can cause some problems. For instance, part of my program requires running a python script in the RP which loads the FPGA overlay and pulses some of the DIOs. Then when I try to generate waveforms with the fast outs or turn on/off some of the DIOs through the scpi commands, the commands don't seem to work. Is this because the overlay was previously loaded in a script in the RP?
Naturally I am looking into ways to transition everything to scripts in the RP and only using the SSH connection, but I am still very familiar with and like using the scpi remote programming. Is there an efficient way to use both connections simultaneously, or was this not meant to be the way the RP is used?