10-10-2024 10:59 AM
Having a AO task, which should allow one to change dc during generation: You can write a 1D array DBL with Mul Chan 1 Sample Write to generate varying DC levels when configuring no timing at all, fine. BUT, I need to be able to Start the Task here using the actual Start vi. This means I have to write the buffer before starting with autostart off, which means I have to configure timing. BUT I can't figure out how to configure the timing, in order to write dc with a single sample.
Is it possible to generate dc, writing one sam per channel with a task that starts with predefined levels using Start Task.vi?
10-10-2024 07:02 PM
@Quiztus2 wrote:
Is it possible to generate dc, writing one sam per channel with a task that starts with predefined levels using Start Task.vi?
That's essentially an on-demand software-timed task. There is a shipping example for that.
Just omit the DAQmx Configure Timing VI will do.
10-11-2024 12:42 AM - edited 10-11-2024 01:03 AM
Yes, my question is, if one can mimic the 'omit the DAQmx Configure Timing VI', I think this means I would have to Configure a '1 Sample Mode' using the Configure Timing.
Is not configuring timing the same as 'Simultaneous Analog Output Enable'?
10-11-2024 07:20 PM
If you don't configure sample clock timing, the task will use on-demand mode by default. If you set Simultaneous Analog Output Enable to true when using on-demand timing, it is the same as using a finite sample clock timing with 1 sample point, but without using the limited hardware timed task.