LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mesure avec limite de variation

Bonjour,

J’ai un problème je n’arrive pas à piloter mon capteur de pression.

C’est-à-dire qu’il prenne chaque mesure avec une limite de variation de 0.01 c’est à dire qu’il prenne pour 12mBar entre 11.99 et 12.01 mBar. Et s’il n’est pas dans cet intervalle il continue et qu’au bout d’une minute s’il n’est pas stabilisé il recommence le programme.

Merci de votre aide 🙂 

0 Kudos
Message 1 of 2
(339 Views)

Hi mistu,

 


@mistu wrote:

Good morning,

I have a problem I can't control my pressure sensor.

That is to say that it takes each measurement with a variation limit of 0.01, that is to say that it takes for 12mBar between 11.99 and 12.01 mBar. And if it is not within this interval it continues and after a minute if it is not stabilized it starts the program again.


You cannot "control" sensors - they measure physical values...

 

Do you want to analyze the measured signal for some "stability criterion"? Then you need a loop to run for the required time and collect samples. Do any analysis you want with the collected samples (like InRangeAndCoerce) and decide which step/state of your state machine should be executed next...

Best regards,
GerdW


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