LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting a decimal to a string

Solved!
Go to solution
I'm working with a gas mixer and I'm trying to pass it some flow rates. The mixer only takes decimal values, for example if you want 2500 cc flow rate you have to pass it 2500.0. I've tried using the number to decimal string function and doing a type cast but I get an error everytime from the machine. The only thing that does work is using a string control and typing in the value but I would like to do it with a numeric control. Anyone have any tips or advice?
0 Kudos
Message 1 of 2
(2,534 Views)
Solution
Accepted by topic author CorrAtm

Example_VI.png

 

Note that you only provided one sample size. Also, 2500.0 is not a decimal, it's a floating point value.

 

It's also not clear whether how you're talking to the machine. You said you used a Type Cast. For what? How are you communicating with the machine?

Message Edited by smercurio_fc on 07-03-2009 09:25 AM
0 Kudos
Message 2 of 2
(2,529 Views)