03-24-2010 08:31 AM
I inherited an intermixed bag of software tools that are called from Command Line Interfaces I would like to add some code that I have written in LabVIEW to this bag. The only problem I have at the moment is getting anything that looks like a standard output argument from LabVIEW. Is this possible? For example lest say I have a vi that performs a number of tests based on input criteria at the completion of the tests the indicators on the front panel look like oh say, a Boolean that says Pass, a string that says Unit Name, and an array of strings that holds the names of the tests run, and a numeric that indicates the number of tests performed. How can I pass these values to STD OUT?
03-24-2010 09:02 AM
03-24-2010 01:14 PM
03-24-2010 01:29 PM
04-03-2014 07:12 AM
an old thread I know but wanted to share this howto use a LabVIEW executable with SystemExec
- pass your command line arguments by using the LabVIEW Application Property Node App.Args
- write to std out using System.Console.WriteLine
- write to std err using System.Console.OpenStandardError (string2byteArray, see screenshot)
This solution is pure .net and works for 32 and 64bit systems.