From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
I need to save a BUS communication Protocol in TDMS format. The different data say voltage ,current and bus signals are generated at specific time intervals. Whts an elegant method to save the Time Information( at which the specific signal say Voltage1[10000] or BusConnect_Bool[10000], or ActivMode_U32[10000] ) along with the Channel. The channel is an Array of these values. I need the specific time for each specific element of the array, and every array. The individual signals are generated at different times eg voltage1 is measured at t1, and BusConnect_Bool at t2. the whole Dut test is also cyclic . thats why 10000 values.
Assuming a constant rate for each element of your array, I would use the data to build a waveform and then use Get Waveform Time Array to get an array of timestamps that you can then save to your TDMS file.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions Unofficial Forum Rules and Guidelines "Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5