TTL Pulse with USB-6221, trigger for FES stimulation

2 views (last 30 days)
Hi All
Im trying to activitate an external stimulator for functional electrical stimulation, on the stimulator itself i can controll Pulse With, and aimplitude. I need there for to send a TTL pulse to activiate the stimulator.
My probem is then i would like to have the ability to stop/start a contenious stimulation with a given pulse rate.
This can be use to send a high low to the stimulator:
outputSingleScan(s,[1])
outputSingleScan(s,[0]) % Can be used to send a single plulse to the DAQ
I dearly i would like to be able to set different Hz for the pulse train, so for instance 35Hz.
With a stop/start option to that section of the code.
Ofcause any alternative solution to this problem is welcome.
Kind regards
Christain

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!