LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Initialize variant control in design mode

How do I initialize a variant control in design mode.
I need to do this to test the VI without actually connecting to the system.
This VI stores readings (floats, dates, ints, strings, etc) into the database.
0 Kudos
Message 1 of 4
(3,451 Views)
You can't enter stuff directly into the control, so you have to use an indirect method. One way is to have an indicator already populated with the data, change it to a control, right-click on the control and select Data Operations -> Make Current Value Default.
Message 2 of 4
(3,449 Views)
How do I populate the indicator with data?
0 Kudos
Message 3 of 4
(3,443 Views)
Use the To Variant function (in the Cluster & Variant palette) to convert the data that's expected:



Message Edited by smercurio_fc on 05-09-2008 10:21 AM
0 Kudos
Message 4 of 4
(3,439 Views)