LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting visa outputs to numbers

Solved!
Go to solution

Labview is currently recieving data from a device (through visa) as a string in the format NA[ ][ ][ ][ ][ ][ ]cr, where the first [ ] is a +/-, and the follwoing five [ ] is a 4 digit number with one decimal place.

 

I need to convert this to a number that only contains the [ ], and have not been able to find a solution

 

thanks!

0 Kudos
Message 1 of 4
(2,587 Views)

See this.

 

This is a pretty basic operation. Have you taken the LabVIEW 101 tutorial?

0 Kudos
Message 2 of 4
(2,573 Views)
Solution
Accepted by topic author DARB

Hint:  Look in the strings palette.

 

You have access to String/Number conversion function.

 

Message 3 of 4
(2,551 Views)

Thanks Ray.R

 

I ended up using the fract/exp operation.

0 Kudos
Message 4 of 4
(2,531 Views)