Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Not quite Periodic Data Recording----pls help

All,

I'm developing a program to communicate with and record data from several RS-232 connected instruments.

When I get readings, they are not perfectly periodic (varies depending on what else the instrument is working on).

I need a way to record data (in spreadsheet, report, ASCII form) that accounts for this difference in delta-time.

I'm currently trying to use the "Get Time in Seconds" function to get a time each time an instrument returns a reading.

I get the time when recording starts, and subtract this value from the reading times to get an absolute "Time since start" for each reading.

I want to bundle these times with the readings themselves and record them, but don't know what the best way to do this. (Insert into array, autoindexing, etc etc)

Anyone have any ideas? It seems like a simple enough problem, I'm just brain dead atm.

Thanks!

-Shawn 

0 Kudos
Message 1 of 1
(5,828 Views)