01-16-2012 01:18 AM
I am trying to write an "auto-clicker" VI, or a pulse generator. Basically I want to make an automated "timer" switch that turns off and on (boolean output) with user-set time-delay, without using a DAQ card. Basically I want a automatic boolean switch that switches off and on.
The reason for doing this is that I want the user to have an option to click to refresh, or just set an automated timer that will automatically refresh (restart averaging).
So what I am trying to do is a simple switch for the user to restart (already connected), and I would like to use an OR operation, now the next step is I am not to sure how to generate a boolean output.
How do I create a pulse generator in this manner? that automatically "clicks" with a user-set time delay?
Help would be much appreciated! Thanks!
Solved! Go to Solution.
01-16-2012 10:43 AM
Look at the Elapsed Time vi.
To take it one step further, put it in a case structure which is governed by thr Auto Average boolean in your image. When Auto Average is off, make the result of the case structure false, otherwise make it the Time has Elapsed output of the Elapsed Time vi. Or that result with your Refresh button.
01-16-2012 11:44 AM
Thank you, it works!