06-16-2017 09:26 AM
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.
Solved! Go to Solution.
06-19-2017 11:29 PM
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?