LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make a Boolean Controls also pass as a string of data

I have a boolean Controls that we are entering the calibration standard value in, this number is then used to subtract from the raw resistance value. I also want to use this standard as the name of the part being tested. Can I pass it through as a string of data also, or do I have to create another pop up for this?
0 Kudos
Message 1 of 4
(2,948 Views)
You can pass the string through as a name, as long as the name makes some kind of numerical sense. For example, if you want to enter a 200 ohm wirewound resistor as "WW200" the 200 can be simply parsed out using the search string function. There is also a boolean to numeric conversion under the boolean toolbox. I assume you are entering the data in a string control.
Eric P. Nichols
P.O. Box 56235
North Pole, AK 99705
0 Kudos
Message 2 of 4
(2,948 Views)
I have attached the file that I am using. I am using a digital control passing the data, I also need to pass the same data as a string.
0 Kudos
Message 3 of 4
(2,948 Views)
To convert the number to string, all you have to do is use Format Into String function or Number to Fractional String. You can do the conversion in either the subVI or in the main VI from the number returned.
0 Kudos
Message 4 of 4
(2,948 Views)