06-30-2017 12:12 AM
HI,
I'm using VB.net and messagebase of NI VISA v14 for instrument communication. I found that NI VISA is not processing command simultaneously. It is queuing all the command I send and process one by one.
May I know is there a way I can do to let NI VISA process the command I send simultaneously?
Thanks.
07-05-2017 09:53 AM
Hi GeorgeTing,
Would you be able to provide some more information on what instrument you are using and how you are currently sending commands?
I was able to pull up an older forum with some information about this and have posted it below as a reference. This is using LabVIEW, but the process may be similar.
Writing multiple commands with serial communication: https://forums.ni.com/t5/LabVIEW/Writing-multiple-commands-with-serial-communication/td-p/3262434
Thanks,
ShaneK
08-11-2017 08:08 AM
I'm not sure the raw Visa functions can do it but if you are using VB.NET you might check out this library capable of simultaneous querying and compatible with Visa:
https://www.codeproject.com/Articles/1166996/Multithreaded-communication-for-GPIB-Visa-Serial-i