Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

NI VISA process command simultaneously

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.

0 Kudos
Message 1 of 3
(2,552 Views)

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

0 Kudos
Message 2 of 3
(2,506 Views)

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

 

0 Kudos
Message 3 of 3
(2,351 Views)