LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Starting a waveform chart at 0

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!

0 Kudos
Message 1 of 2
(2,807 Views)

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...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,749 Views)