05-25-2007 01:38 PM
05-29-2007 11:32 PM - edited 05-29-2007 11:32 PM
Hi hbar,
A reason why the VI works without configuring the sample clock and trigger is because without configuring the sample clock, the output is software timed, and not hardware timed. This means that the output is not deterministic, as when you have a clock. Please not the limitations of the USB-6015 analog output ( 6015 Family Specifications – P.5). The USB-6015 is limited to 300S/s software timed, and 50S/s hardware timed.
I may suggest looking at some of the shipping examples which
come with LabVIEW. (Help >> Find Examples.. >> Hardware Input and
Output >>NI-DAQmx >> Analog Generation >> Voltage). I would
also suggest using the Context help (Help >> show Context help) as this
gives detailed descriptions of all VI’s when you hover your mouse over them. If you need to post back, please expand more on the configuration you are looking for. (continuous? finite generation?)
Message Edited by David L. on 05-29-2007 11:33 PM
05-30-2007 10:09 AM - edited 05-30-2007 10:09 AM
Message Edited by hbar on 05-30-2007 10:14 AM
Message Edited by hbar on 05-30-2007 10:16 AM
Message Edited by hbar on 05-30-2007 10:29 AM
05-31-2007 04:55 PM
Hi hbar,
That sheds much more light on your questions and what you are trying to accomplish, Thanks!!
Lets start with the clock and trigger: Input and Output (both digital and analog) can be done software timed, but a trigger is done in hardware (hardware comparison). The 80Mhz clock is used to latch digital values on the trigger line. When it latches one value low, and the next value high, then it triggers a rising edge. This rising edge then causes the task sample clock to start, thus beginning the acquisition or generation.What you are looking to do is a ‘retriggerable analog output’ task. This is not directly supported with an AO task, but can be done by combining a counter task with an analog task. The counter task DOES have the property to be retriggerable, and we can then have this output a finite pulse and use this pulse as the finite clock for our AO. The AO task only runs when it sees the clock, thus only when the trigger sets off the counter which creates the pulse. Please see the shipping example” Multi-Function-Ctr Retrigg Pulse Train Generation for AI Sample Clock.vi” (Help >> Find Examples… >> Hardware Input and Output >> Synchronization). Although this example is for AI, you can change it to work for AO.
06-03-2007 11:56 PM
06-04-2007 01:42 AM - edited 06-04-2007 01:42 AM
Message Edited by hbar on 06-04-2007 01:42 AM