LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping an input

Hello,

 

I am taking an input from an instrument and it will return:

 

(1)

(10)

(13)

(12)

(14)

(7)

 

I want to map these to:

 

1

2

3

4

5

6

 

What is the best way to do this?

 

 

0 Kudos
Message 1 of 2
(2,007 Views)

Here's how I'd do it, assuming you're receiving the data from the instrument as a string, with the parentheses included:

 

map_input.png

 

map_input_fp.png

0 Kudos
Message 2 of 2
(2,000 Views)