Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Communication with instrumentation via command lines

Hi

 

   I have an instrumentation which I need to communicate through command line. It does not mean to open vi by using command lines but LabVIEW read and write certain commands through command lines.

Please let me know if any good examples related to this topic or let me know any suggestions. Thank you for your help.  

 

Donghun

0 Kudos
Message 1 of 5
(3,112 Views)
There are thousands of examples in the instrument driver network. You have not provided many details. Important ones are the make and model of instrument and the type of connection.
0 Kudos
Message 2 of 5
(3,107 Views)

Hi Dennis

 

   The product and company are pretty new and they don't have any LabVIEW based drivers yet. They provide a simple exe file and in case I want to make my own program, they provide commands as form of arguements in command lines. I can send commands to the instrumentation using these comand lines through USB interface. I want to make sub-vis to read and write arguements to the command line (without showing and opening the comand prompt) which will comminicate with the instrumentation.  Thank you.

 

 

0 Kudos
Message 3 of 5
(3,094 Views)

That is somewhat confusing to me. Are you really sending commands to the exe or communicating directly over the USB to the instrument. Your use of the word 'command line' implies that you are running the exe with different command line options and not communicating directly.

0 Kudos
Message 4 of 5
(3,091 Views)

Hi Dennis, sorry for the confusion. The company provides a command line tool which is a single exe file that is called from the commnad prompt and can be intergreted with other programs such as LabVIEW. So basically I send commands to the exe and the exe communicates to the instrument through USB. I have searched and found that System Exec vi. seems to be used for my program. I hope this clear out your confusion. Thank you for the help. 

0 Kudos
Message 5 of 5
(3,086 Views)