LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I display #define value of c header file on LabWindows/CVI textbox control ?

Hi all,

 

I want to display #define value of c header file on textbox control when my application executing,

how do I implement it ? Thanks a lot.

0 Kudos
Message 1 of 3
(3,381 Views)

Say like, you have #define PI 3.1415926, you can use printf("PI=%f", PI) to print out the value of PI.

0 Kudos
Message 2 of 3
(3,361 Views)

Besides, if you wanna display it on your textbox control, you can use SetCtrlVal to make it appeared on your control object.

0 Kudos
Message 3 of 3
(3,352 Views)