取消
显示结果 
搜索替代 
您的意思是: 

Waveform graph time scale from DAQmx Waveform data

I have an application where i'm pulling AI data from a process, using a waveform output.  At first i only was interested in (4) channels and everything was perfect, the X axis was in seconds, the trends represented the channels...i used the luster unbundle function to separate the channels.

 

The problem now is that i added and additional (4) channels making my total channel count now (8).  The waveform chart no long works when i unbundle (8) channels of data.  Why?  

 

Basically what i have now is running the waveform straight to the chart, X axis is OLE time and looks bad.

Any help would be appreciated.

 

THanks

0 项奖励
1 条消息(共 10 条)
4,150 次查看

show your code example

0 项奖励
2 条消息(共 10 条)
4,139 次查看

4channel.PNGFor (4) channels this works like a champ.  IF i add channels, to the DAQ and to the bundle (sorry i said unbundle earlier) it doesn't like that.

0 项奖励
3 条消息(共 10 条)
4,134 次查看

How you collect 8 channels?
Are you sure there presents all 8 channels?

0 项奖励
4 条消息(共 10 条)
4,126 次查看

The channels are captured via DAQmx READ.vi, i know they are collecting because i can wire a waveform chart to the output line and get a data on all line.  The time aspect of it is not good though, i would rather use the t0 second counter but what is being displayed is the timestamp.

0 项奖励
5 条消息(共 10 条)
4,121 次查看

Show your broken code.

I get single point for each channel form DAQ? Or array of points (waveform)?

0 项奖励
6 条消息(共 10 条)
4,115 次查看
0 项奖励
7 条消息(共 10 条)
4,109 次查看

why youuse waveform for single element?

0 项奖励
8 条消息(共 10 条)
4,097 次查看

This is not helping...

0 项奖励
9 条消息(共 10 条)
4,078 次查看

Why not?

 

on chart you'll see last point only, without history.

And why you want draw clester of WF, not array if WF?

Take subarray of your data and send it to chart

chart.png

0 项奖励
10 条消息(共 10 条)
4,075 次查看