04-30-2012 06:19 PM
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
04-30-2012 07:37 PM
05-01-2012 11:09 AM
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.
05-01-2012 01:17 PM
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.
05-01-2012 04:26 PM
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.