Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Industrial automation

Solved!
Go to solution

Hello, on a test bench, I use an industrial automaton to order the recording of my values. I then use the "Read" function in "Numeric" mode. I then have boolean data, which I then send in a condition selector, of a structure "CONDITION". I am currently experiencing a problem, my VI does not wait for the triggering of my controller to change value at regular intervals according to the "timeout" I have defined. The smaller the latter, the longer the wait time between two "TRUE" values is short. How can I solve my problems.

I provide a VI to understand the functions I use.

 

Thank you for your answer.

0 Kudos
Message 1 of 2
(2,365 Views)
Solution
Accepted by topic author Jeremie.D

The input you've given to the Sample Clock VI (marked Valeur du timeout) is in fact a sample rate - it gives the acquisition rate for the digital input. In your case, it will try to sample one point every 1/1000 seconds, or 1ms.

 

If you want to read the digital input once every second, change the value to 1. This will make the Digital Bool 1Line 1Point read function only finish once per second. Is that what you want?


GCentral
0 Kudos
Message 2 of 2
(2,312 Views)