05-05-2006 06:16 PM
05-08-2006 03:40 AM
05-11-2006 05:35 PM
I'm using a console to display printf() output from a DLL that I'm debugging when it's loaded in LabVIEW. This works great. I wanted to see if the streams are going somewhere useful by default in LabVIEW or at the very least confirm that redirecting stdin/stdout won't mess anything up in LabVIEW's process.
Thanks for the feedback!
05-12-2006 04:40 AM - edited 05-12-2006 04:40 AM
Windows dinstinguishes between two basic types of applications (Just leave out Active X and .Net for the moment). One is a console application and the other is a GUI application. GUI applications by default do NOT have any stdin/stdout and as far as I know does LabVIEW not do anything to change this. In order to have some sort of stdin/stdout functionality in a GUI application you have to explicitedly allocate a console and associate some streams with its stdin/stdout in order to have printf and friends do something meaningful. I believe that printf and friends otherwise just are redirected to NUL.
@clnorris wrote:
I'm using a console to display printf() output from a DLL that I'm debugging when it's loaded in LabVIEW. This works great. I wanted to see if the streams are going somewhere useful by default in LabVIEW or at the very least confirm that redirecting stdin/stdout won't mess anything up in LabVIEW's process.
Thanks for the feedback!
Message Edited by rolfk on 05-12-2006 11:41 AM
06-27-2007 04:32 AM
10-14-2013 09:17 AM