LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data conversion

Hey there I want convert DBL to numeric but I dont know what is the conversion

Chris9823Alb_0-1703602742344.png

 

0 Kudos
Message 1 of 6
(853 Views)

Your problem is not on the convertion, the function is doing it's job, it's converting an array of doubles to an array of I32.

 

The case structure doesn't accepts arrays

 

0 Kudos
Message 2 of 6
(840 Views)

if "comando" is a voltage signal (i assume it is) then you should calculate the average before performing any operation on it.

0 Kudos
Message 3 of 6
(835 Views)

I measure the value after DBL and get just 3 integers values 0, 1 , 2 but I just want transform they to numeric value to use on case box

0 Kudos
Message 4 of 6
(815 Views)

It sounds like you are getting 3 values out of 'Comando'. Do you want to send 3 outputs to 'DAQ Assistant2'? If so, you can put a for loop around the case structure to handle each of the 3 values.

0 Kudos
Message 5 of 6
(779 Views)

thank you I indexed the array and worked

0 Kudos
Message 6 of 6
(714 Views)