11-03-2005 01:49 AM
11-03-2005 03:53 AM
Hi
First, kindly clarify this: 'Are you acquiring data from your four data sources(i assume them to be anlog) using 4 different AI reads?'
If you are doing something like this, then let me tell you that all four sources can be configured in a single task (group) and then, data can be acquired by using single AI read.
select AI read type as ' Analog -> multiple channels -> multiple samples -> 2D double'.
Data acquired will be in form of a 2d array whose each row corresponding to one data source . This array be directly displayed on a Graph.
Looking at your requirement of "graph should display a certain timelength and update automatically", it seems like 'Chart' Display will suit your purpose better than a 'Graph' display. Select a suitable chart history length to get this effect
Note: Transpose the 2 D array data that comes out of Ai read before displaying it on the Chart.
hope this helps
regards
11-03-2005 04:00 AM
11-03-2005 07:05 AM
11-03-2005 07:06 AM
11-03-2005 11:09 PM
11-04-2005 12:33 AM
Hi RichL,
Thanks for the input.
In this case, whenever you extract data from one source, use it either to build a cluster of waveforms an plot on XY graph as Falkpl has shown, or to build a 2D array by merging that instant's data from other three sources and plotting on chart/graph.
this you can perform each time you extract data from any of the sources.
regards
Dev
11-15-2005 12:33 AM
11-15-2005 12:36 AM
11-15-2005 12:42 AM