05-07-2017 06:59 AM
Hi,
I am trying to read two different instruments, one of them is not NI which I read through Visa and the second is an NI ADC which I read throgh DAQ.
They both need to be read simultaneously so i can compare between the two.
I am able to read each of them separately but when i put them both in the same VI the Visa gets stuck.
i attached a photo of my VI.
Appreciate some help.
Thank you!
Solved! Go to Solution.
05-07-2017 07:13 AM
1. Your VISA Configure Serial Port should be before your loop.
2. You should remove the case structure. Once you Initialize the port, you need to keep the buffer cleared.
Cannot give much more advice without knowing the configuration of the DAQ Assistant.
05-07-2017 07:48 AM
Thank you for your answer!
I don't know what keeping the buffer clear means. It would be great if you could explain 🙂 i'm new to labview
also I added a picture of the DAQ properties.
Thanks!
Shelly
05-07-2017 08:55 AM
As data comes in from the serial port, it goes into a memory buffer. When you perform a read, data is taken out of that buffer. If you do not perform a read, that buffer will get full and you will lose data and get an error.
The DAQ works in a similar manner.