LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do you create a string indicator as an output to a formula node?

I am creating a formula node and I want one of my outputs to be a string indicator. How do I do this?
0 Kudos
Message 1 of 6
(4,302 Views)
You can't as far as I know. As far as I know, none of operations inside a formula node create string data. What are trying now? More homework?
0 Kudos
Message 2 of 6
(4,288 Views)
Yes. We are supposed to create a subVi which will calculate BMI given a formula and 2 numeric inputs. We are supposed to classify the body weight according to a table which I did through LEDs and a message to the user. However, our professor said that the subvi should have two outputs: the BMI as a floating point number indicator and the classification as a string indicator. Maybe I am misunderstanding the question?
0 Kudos
Message 3 of 6
(4,284 Views)
Yes, you are misunderstanding the question. An output of the subVI does not at all mean an output from a formula node. Whatever numeric you get (from a formula node or native LabVIEW math functions), you will have to use that to generate the string. Perhaps index a string array.
0 Kudos
Message 4 of 6
(4,281 Views)
Would you mind explaining how a string array works?
0 Kudos
Message 5 of 6
(4,277 Views)
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
0 Kudos
Message 6 of 6
(4,265 Views)