Page 1 of 1

Continuous fast acquisition from two channels via SCPI with LabView

Posted: Thu Oct 29, 2020 3:57 am
by JHedger
Hi everyone,

I am encountering a communication speed issue in my VI that I need to overcome.

I am using an SDR 122-16 and communicating to it with LabView 2018 via SCPI. My intention is to simultaneously and (nearly) continuously acquire data from both inputs on the RP, rapidly analyse the results, and then update an output plot "live" with the data.

To do this, I initialise the connection to the RP, and then enter a while loop to do the acquiring and processing. However, my loop is running quite slowly and I found that it is due to the communication with the RP. Typical values I have found in my code are:

- Running "Triggered Acquisition.vi" and "Wait for Trigger.vi" takes 80ms.
- Running two copies of "Read Waveform.vi" takes 275ms.
- Running my analysis code and updating my plots takes 2ms.

This clearly shows why I am limited to a plot refresh rate of around 3Hz. Are these values typical of communication to the RP with LabView via SCPI? Or is my while loop implementation not the fastest way of achieving what I want to do?

Cheers,

Jonathan

Re: Continuous fast acquisition from two channels via SCPI with LabView

Posted: Fri Jan 14, 2022 3:29 pm
by jdetlefs
Hello,

I'm not any help. Just commenting to mention I have the exact same issues
with LabVIEW.

Anyone have a solution?

Best wishes,
James