01-22-2016 06:26 AM
calling .vi file through command prompt is working using the command
C:\Program Files\National Instruments\LabVIEW 7.1\LabVIEW.exe "C:\test.vi" –– 4 5
and the .vi file which is configured for addition operation is taking inputs and printing the output in front panel as 9.
Now how can i get this output(9) to be printed in command prompt
01-22-2016 06:28 AM - edited 01-22-2016 06:31 AM
You can't, or at least, not easily. LabVIEW has no functions for writing to StdOut or StdErr so I think you have to use DLL calls into Windows or .NET to find the process/command-line instance and then call the appropriate functions to output to the console.
There are some posts about it here:
http://forums.ni.com/t5/LabVIEW/how-to-make-a-VI-write-to-standard-output/td-p/347392
https://lavag.org/topic/13486-printing-to-the-standard-output/
01-27-2016 06:40 AM
hi
how a .lib file can be created in labview15.0 version
01-27-2016 07:19 AM
@PrathyushaAjjugal wrote:
hi
how a .lib file can be created in labview15.0 version
Do you mean a .LLB file? LLBs are not really recommended any more (use .lvlib instead), but you can still create LLBs by going to Tools -> LLB Manager...