Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Sweep voltage range with trigger

Hi everyone,

I have an application where I have a source in my setup which is generating TTL trigger pulses at a rate of roughly 15 per second. The pulses are 16us long and 3.3V.

I want to program my USB-6343 so that one of the analog output channels will step through a list of 100 voltages when each pulse comes in. When the list is finished the output value no longer changes (though pulses may still be generated in the setup).

 

I am using pyDAQmx if that matters at all.

 

Thank you for any help you can give!

0 Kudos
Message 1 of 2
(1,212 Views)

I'm no help at all on the Python syntax, but the idea will be:

1. Configure a task where timing is set for Finite Sampling and 100 samples.

2. Further configure it to use the source pulses as an external *sample clock* signal, rather than thinking of them as "triggers."

 

 

-Kevin P

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(1,168 Views)