LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

realisation d'un chrono

Bonjour ;

j'ai realisé un chronométre dans un premier temps avec des commande de Labview,,je désir maintenant modifier mon programme afin de remplacer les commande grafique par des boutons pousoirs réels.(la carte utilisee NI 6221,avec un boitier NI 68)

voila le programme 

0 Kudos
Message 1 of 8
(3,307 Views)

je demande s'il y a quelqu'un qui peut modifier le proggrame pour atteindre le but 

et Merci  

0 Kudos
Message 2 of 8
(3,302 Views)

Have you tried doing this on your own first?  That would be a good start.  You cannot map physical IO to the event structure, so you'll need to arrange your code differently.  You could use User Events that are driven by the digital inputs, or you could poll the inputs and remove the event structure.  Some DAQ devices support change detection events; if your device supports it you could use that.

0 Kudos
Message 3 of 8
(3,296 Views)

i tried whit remplacing push buton by  DAQ assistant,but  its'nt work.you says that the DAQ Assistant is not  supported by the  event structure . they must be changed by what?

I'm just a bigginer.

thank you. 

0 Kudos
Message 4 of 8
(3,290 Views)

N'hesitez pas repondre en francais si c'est plus facile pour vous - je le comprends sans probleme, mais je n'arrive pas a bien expliquer les concepts techniques qu'en anglais.  Par contre ce forum est plutot anglophone, donc en anglais vous aurez plus de reponses.

 

Try just a single button before you attempt 5.  Attach your VI showing what you tried to do with the DAQ.  You will need to check the digital input in a loop, and see if it goes from false to true - when it does, the user pushed the button.

 

Some DAQ devices support a "change detection" event.  That means you'll get an event when the digital line changes state (from true to false, or from false to true).  If your device does not support change detection, then you cannot use an event structure for this.

0 Kudos
Message 5 of 8
(3,287 Views)

Merci

j'ai essayer tous ce que vous avez dit.le probléme c'est comment detecter en faite le changement d'etat de l'entree numerique qui est connecté au boton pousoir par DAQ.

 

0 Kudos
Message 6 of 8
(3,265 Views)

Can you show what you tried, by attaching your VI with the DAQ functions included?  How do you have your buttons connected to the DAQ?  Is it 5 separate digital inputs, one per button, or something else?  Have you written a simple VI that demonstrates that when you push a button, you see the DAQ input change?  Do you need to detect a change (from false to true) of the DAQ input, or is it sufficient to check that the DAQ input is true (meaning the button is pressed)?  I'm assuming here that you do have 5 individual buttons connected to different digital lines, but I may have misunderstood your system.

0 Kudos
Message 7 of 8
(3,261 Views)

j'ai  realisé un programme seulement pour un boutton ca  bien Marché,donc c'est pareil pour les autres bouton.

0 Kudos
Message 8 of 8
(3,260 Views)