ni.com is currently undergoing scheduled maintenance.
Some services may be unavailable at this time. Please contact us for help or try again later.
10-11-2012 04:17 AM
Hi, I have a problem in writing data from 2 devices that i currently have (for pressure and temperature). I wanted it to be written in 2 coloums, one for temperature and one for pressure for each data produced. What i currently have is that the data written in rows. Please help me on this.
Also, i put the time stamp, but the time only come out on the data as hh/mm/ss. would it possible to produce the time as in the graph, which is written as hh/mm/ssssss (in microsecond)
I have attached my labview program, and also the current save file that i get, and also the required format that i really want.
Thanks
Solved! Go to Solution.
10-11-2012 04:32 AM - edited 10-11-2012 04:34 AM
Hello
1. Use a transpose 2D array function, before you write the array to 'Array to Spreadsheet' function.
2. Use the correct time format to the Format Datae/Time string function. Use the Help provided for this function, to get the date and time format you need
3. The wiring is not good. Your 'open file' function is placed somewhere after the write to file case structure. follow data flow.
advice: you can consize your block diagram and place your functions and blocks in an order, wire them neater.
10-11-2012 05:07 AM
Hi That wasa working well. However, The other problem arise which:
1) 1Sample100hz: it writes all the time the data taken
2) however, if i asked for 10 samples or more, only one time stamp created for the whole sample. The problem is that i need to produce each measurement with each time sample. would it possible to do this in labview?