06-30-2009 08:19 AM
Hello everyone,
i have a question that should be often meeted , but that i don't know how to solve.
i sample x channels that can be 1 to 10 for example, so my state machine scan like this ch1,ch2,ch3......ch1,ch2,ch3.
My probleme is that if there was few ms betwwen each channels i couls admit they have all same data of acquisition and
waiting all channels reading and ploting them (on "ring " chart) at same date time, but here
delay between channel is 3s minimum up to 10 s.
What kind of way should i adopte :
for moment i tried two ways but not satisfing:
1) at each channel acquisition i remember all other channels for this date time, so i obtain a graph with many flat moment between each cycle .
and the more channels i have the more they look square
2) i put a Nan value for aquisition for channels not concerning by current aquisition, this way is much close that i want to obtain , the probleme
is this method is that between real acquisition plots the chart cannot draw a line between them and i have for result a curve a multicolored
dots not linked and too hard to interpret
So my question is is there a third or fourth solution ?
in attachement images to illustrate the probleme
Best regards Tinnitus
06-30-2009 08:38 AM
07-01-2009 04:34 AM
Hi,
You can create a XY graph like this
If you put the same x-axis, you will have synchronous Y-axis. If you want to see the timestamp you can replace index by the vi Get date.
Regards
Aurélien J.
National Instruments France
07-01-2009 09:08 AM
Hello,
Sorry, i think i don't express correctly, i will try to make an vi example to
clarify my problem
regards
Tinnitus