05-30-2009 04:28 AM
oh, I am so so sorry, what i have done, it's my friend who wrote. please accept my apologize. and just he wrot in capitals, he did not mean that.
we are sorry.
05-31-2009 01:10 PM
coq rouge, if you forgive me, can you tell me there is only one kind of graphic can build history?
05-31-2009 01:35 PM - edited 05-31-2009 01:36 PM
anyone can help me
now like this, it just can show 20s after that it stops, i don't know why?
and i want the time is 0 to 20, not like this.
thanks very much.
05-31-2009 10:12 PM
You have a serious problem in your VI. The boolean wire that terminates the inner while loop comes from outside that while loop. If that wire is Tru, your inner while loop will run only one time. If that boolean wire is False, then the inner while loop will run for ever and the only way to stop your program will be to hit the abort button. Since the Stop button is read before the inner loop starts, there is no way for that value to be read again. It is a basic principle about dataflow.
I would recommend you learn more about LabVIEW from here. How to Learn LV
06-01-2009 03:12 AM
Si tu as LabVIEW français j'imagine que tu es français ?! J'ai repris ton VI vite fait : cf pièce jointe. Pour le graphe déroulant, tu as décoché la mise à l'échelle automatique pour l'axe des Y, je te conseille de recocher cette option. Pour l'axe des X, tu dois le gérer par programmation en utilisant les propriétés adéquates.
06-01-2009 07:38 AM
merci bp, j'ai réusi que chaque 20s il efface une fois, la graphe deroulant ne correspond pas parfait ement ce que je veux, c'est 'échelle X temps, je veux qu'il affiche comme
par example: il y a 20 points correspondent 20 seconds.
je veux d'abord , t =1, affichage y1;
t=2, affichage y2, y1;
t=3, affichage y3,y2, y1;
t=20, rien affichage;
si t= 21
t=1, afficage y21;
......
je ne sais pas si j'ai exprime bien ?
06-01-2009 11:56 AM
xiuming
Please use the scoop chart mode. And if you want 20 seconds data in chart you must set set the chart history length to sample rate *20 In your current software this is 11025 samples pr second. DO not make it any harder than it is 😉
06-02-2009 03:06 AM
thank you coq rouge
I am so happy to get your reply! so we are cool now.
and I have managed to display the data of the 20s, but if i want to show X scale in real time not 20*11024, what should i do?
06-02-2009 06:46 AM
06-02-2009 08:59 AM