LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with graph and sampling period

Hi,

I've made a VI that reads data from serial port, and in this VI I created a "user dialog box" which allows to set the sampling period.

My problem is : when I draw the graph, the samples are in X-axis. So if the sampling period is 5 seconds, I will have a point every 5 seconds. That's OK. But what I want is TIME in X-axis, and if I put the scale format in relative time, Labview considers that one sample = 1 second, which is false.

Excuse me if you don't understand everything, I'm French.

Please Help

Seb
0 Kudos
Message 1 of 3
(2,263 Views)


@SebN74 wrote:
...Excuse me if you don't understand everything, I'm French


Ce n'est pas une raison, les étrangers sont probablement moins intelligents que les français, mais ils peuvent quand même comprendre les questions bien posées 😉 😄

Si vous utilisez un waveform graph, il suffit de préciser le pas delta x en utilisant un noeud de propriété "Multiplier". Voir le vi attaché. Même chaose avec les graphes déroulants.

CC
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
0 Kudos
Message 2 of 3
(2,255 Views)
C'est vrai, j'ai oublié un instant que les français étaient les meilleurs... J'aurais du directement poser la question en français !!

Sinon, merci beaucoup c'est EXACTEMENT ce que je cherchais. Mais j'aimerais aller plus loin si possible : peut-on avoir l'heure système sur le graphe ?? C'est une fonction que je cherche depuis longtemps, et je n'ai toujours rien trouvé.

D'avance merci,

Seb.
0 Kudos
Message 3 of 3
(2,242 Views)