06-09-2006 10:17 AM
06-09-2006 11:08 AM
06-09-2006 11:17 AM
06-09-2006 11:25 AM - edited 06-09-2006 11:25 AM
I suspect a waveform data type is involved.
If a chart is setup to accept updates as waveform data types, then the "1024" limits how many WF can be presented to the chart.
If each WF has 1000 elements in its "Y" array, the chart will display 1,024,000 data points.
Ben
PS If you posted an example or an image, we would not have to guess.
Message Edited by Ben on 06-09-2006 11:27 AM
06-09-2006 12:35 PM
Hola,
You are correct, I am using waveform data. I'm attaching a screenshot. Apologies for the undocumented VI's. One sets up the daq task, the 2nd adds a channel to the front which is the sum of three other channels, and the last extracts the channels the user has selected to plot. I have about 2 1/2 hrs up on the chart right now. (started a log after my first post)
um... crap. I must make a correction. My history length is actually 180000 (I forgot I had been experimenting on it yesterday). Man, I'm glad it's Friday. However, I still do not understand the math.
180000 / (5 waveforms @ 10 Hz) = 180000/50 pts. = 3600 second chart length, = 1 hr. Yet I'm at 2.5 hrs.
Apologies for the bad data on the first post.
Cheers,
06-09-2006 12:54 PM
06-09-2006 01:51 PM
06-09-2006 01:57 PM
06-09-2006 01:57 PM - edited 06-09-2006 01:57 PM
"What happens after the 5 hour mark? "
Depends.
Provided EVERY WF had the same number of sample in the Y array, the data point contained in the oldeset WF will be dropped and the newest added.
Ben
And I loose by a matter of seconds!
Message Edited by Ben on 06-09-2006 01:58 PM
06-09-2006 03:09 PM