LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

sampling channel & displaying on same graph

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

 

 

 

 

 

 

 

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
Download All
0 Kudos
Message 1 of 4
(2,540 Views)

Hi Tinnitus,

 

3rd option:

Make each channel a single xy-plot keeping track of it's DAQ timestamps! Plot all "tracks" on a XY-graph...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,537 Views)

Hi,

 

You can create a XY graph like this

graphe.jpg

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

0 Kudos
Message 3 of 4
(2,503 Views)

Hello,

 

Sorry, i think i don't express correctly, i will try to make an vi example to 

 

clarify my problem

 

regards

 

Tinnitus

 

 

CLAD / Labview 2011, Win Xp
------------------------------------------------------
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail

Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
0 Kudos
Message 4 of 4
(2,493 Views)