04-14-2015 09:17 AM
Problem:
I've got that stereotypical issue where my waveform chart starts at a huge number instead of 0. I understand the origins of the huge number but can't seem to make it go away. I think the problem is related to the data type I'm plotting (1D array of (waveform(dbl))) but I'm not sure how to make my program work unless I use this data type. Because of this data type I can't seem to use functions like "Get Waveform Components" and "Get Time", do some math, and spit out a new chart which starts at 0.
Background:
This program is used in 7 different laboratories to monitor 4-8 voltage signals. The voltage signals are acquired and scaled through a task (unique for each laboratory) which is set up in NI MAX. I used TDMS files because that's what the training session I attended focused on. Data is collected and saved out in intervals set by the user (hence the For Loop and Test Configuration).
Where have I gone wrong?
Thanks for any input!
04-15-2015 01:48 PM
The reason the numbers are really big is because they are the number of seconds since midnight GMT 1904. In other words, they are timestamps.
Change the formatting of the x axis to absolute time and you'll see what I mean.
Mike...