LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

string and time stamps contatenation

Solved!
Go to solution
My task is to build a VI that takes 50 temperature readings inside a loop, once every 0.25 seconds, and plots each on a chart. It also converts each reading to a string, and then concatenates that string with a Tab character, a time stamp, and an end of line character. The VI writes all of this data to a file. The file should be like this.

78.9

           11:34:38

79.0

           11:34:39

79.0

           11:34:50

I've attached the vi what I'm trying. The whole data from the array comes all at ones and don't know how to connect time stamp because every time I connect it to the concatenate string i get broken wires. I'll be thankful for any suggestion or help.I'm writing the data to file just checking first in the indicator.
Naqqash
0 Kudos
Message 1 of 5
(3,010 Views)
Thats strange, I am not having any issues connecting the time stamp to the concatenate string function. Maybe I'm misunderstanding your question?
0 Kudos
Message 2 of 5
(3,008 Views)

im having problem opening vi its 8.6 and im using 8.5 so error occured.Please post the screenshot. Can you tell me how to tackle with the other problem i.e how to separate the data and conctenate them with tab and end of line if you were able to see the whole data is displayed all at once. I want the data like this. First iteration then the first data from random number for example 79 then tab then time stamp then the end of line. and then the next iteration data and so on please help.

Naqqash
0 Kudos
Message 3 of 5
(3,003 Views)
Solution
Accepted by Naqqash
None of what you are doing is correct. You aren't even using the correct function to convert the numeric. Below is a modified VI in 8.5.
Message 4 of 5
(2,996 Views)
thanks alot Dennis.
Naqqash
0 Kudos
Message 5 of 5
(2,946 Views)