NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure call library function node for printf application?

Hello,

 

I'm a total labview beginner and I need a console output window. I know that it is possible with library function node in lv. But I don't have any idea how to configure it. I've created one argument for input but I don't know what to put into function name and which library name or path to take. Can anyone help?

0 Kudos
Message 1 of 5
(1,713 Views)

the errorlist tells me that there is no function specified. What is missing in terms of config? I took libc.so.6 as path in, but don't know how to continue

0 Kudos
Message 2 of 5
(1,706 Views)

Can anyone help me?

0 Kudos
Message 3 of 5
(1,666 Views)

Hi,

 

If you are wanting to display text on a terminal (e.g. PuTTY) through the serial port, the following my be a more robust solution:

 

1) In Measurement and Automation Explorer (MAX) make sure 'Enable Console Out' is turned off for your target You want to be able to access the serial port and console out will not allow that.

2) Use the 'RT Debug String VI' to output messages to the serial port.

 

As the name implies this VI is intended to be used as a debugging tool, but it will work for the above scenario. As you are writing to the serial port, it will impact the speed of the application.

0 Kudos
Message 4 of 5
(1,653 Views)

hey,

 

thanks for your answer. But Ive found another solution for my problem by using local variables.

 

kind regards

0 Kudos
Message 5 of 5
(1,626 Views)