ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

5V trigger every other second

How can I send a +5v trigger pulse for one second, then break for one second, then send another +5v trigger, etc?

 

My biggest problem is having the 1 second pause between pulses. The pause is to allow a peripheral nerve enough time to recover from stimulation. I apologize if this is a very basic question, I am quite new to this programming environment, or any programming environment for that matter.

 

Thanks for your help.

 

-OG

0 Kudos
Message 1 of 2
(5,477 Views)

What kind of hardware do you use to send out the trigger?

And what timing requirements do you have? 

Attached is a simple software timed version. Lot's of room for improvements, see timed loop or timed sequence . If you have the IO hardware you can do very precise hardware timing.

 

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 2 of 2
(5,463 Views)