LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

c and labwindows interface

Hi There,

 

I need some help here with labwindows:

 

I have some C codes and I need all my printf() from the C codes to write the output to a lawindows interface window. Please keep in mind that the C codes are are really separate from labwindows (they are stand-alone) but will be calling the labwindows interface to write the outputs.

 

for example:  prinft ("this is my c codes"),

so this is my c codes  should be sent to the labwindows interface....

 

How do I do this?

 

Thanks for your help

0 Kudos
Message 1 of 2
(3,017 Views)

There are multiple ways to display messages in CVI.  You could pop up a dialog box, or put a string or textbox control on your user interface.

See the CVI help for MessagePopup() and SetCtrlVal().

 

It sounds like it would help if you took some time to work through some CVI tutorials to get acquainted with the basics.  Start with Getting Started with LabWindows/CVI here: https://www.ni.com/docs/en-US/bundle/373552k/resource/373552k.pdf

0 Kudos
Message 2 of 2
(2,998 Views)