LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert a string data to a 1 d array

Solved!
Go to solution

Dear All,

 

I am wondering if somebody help me.

 

In the attached fle i have my program (in labview 8.6) which read temperature data and updates temperature during the time.

 

I want to use the updated temperature in a calculation.  How can i get the new temperature which i think is in a string format and convert it to 1 d array?

 

I tried but the number that i got from temperature was not the same temperature which is shonw in data section of the program.

 

Could somebody please help me?

 

Regards, 

0 Kudos
Message 1 of 3
(2,813 Views)
Solution
Accepted by topic author Neka

You are not reading temperature, you are reading a binary file. You seem to be assuming string format but do you really know? No one here can tell since you did not attach the file If it is you would need to use one of the string conversion functions. And please, get rid of the Data local variable. You are already usin shift registers. Do the same with the data from the file.

0 Kudos
Message 2 of 3
(2,787 Views)

Thank you Dennis,

 

I got it.

0 Kudos
Message 3 of 3
(2,749 Views)