LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using the WinNT-console window as stdio

I can start a program generated by CVI from a WindowsNT console window (cmd.exe). The program started opens a new window for stdio. Is there any way to use the console window from which the program was started as stdio instead?

Thanks for your help,
Peter
0 Kudos
Message 1 of 3
(3,077 Views)
Yes, if you have CVI 5.5, then you can define the program as a console application in the Build->Target Settings... dialog. If you are in CVI 5.0.1 or previous, you can't do it.

Best Regards,

Chris Matthews
Measurement Studio Support Manager
0 Kudos
Message 2 of 3
(3,077 Views)
Peter Hahn writes:
> I can start a program generated by CVI from a WindowsNT console window
> (cmd.exe). The program started opens a new window for stdio. Is there
> any way to use the console window from which the program was started
> as stdio instead?

CVI will use the console window from which you've started
your application if you check the Create Console Application
option in the Target Settings dialog.

Peter

-- Peter Ilberg
Message 3 of 3
(3,077 Views)