Hello,
i am trying to output an analog and a digital waveform on my PCI6259. Both waveforms should be synchronized.
As sample clock i use Ctr0 for the digital task and the ao/SampleClock for the analog task.
Now i'd like to trigger both outputs to start at the same time. I referred to example
MultiFunctionSyncAIAO_DigStart
but it seems like the digital output cannot be triggered like this. I always get the following error message:
'Specified property is not supported by the device or is not applicable to the task.
Property: CNiDAQmxStartTrigger::Type,
TaskName: DigitalOutTask'
This is how i configured my triggers:
// Set up the start triggers
m_taskAnalogOut->Triggers.StartTrigger.ConfigureDigitalEdgeTrigger("Dev1/PFI9", DAQmxDigitalEdgeStartTriggerEdgeRising);
m_taskDigitalOut->Triggers.StartTrigger.ConfigureDigitalEdgeTrigger("Dev1/ao/StartTrigger", DAQmxDigitalEdgeStartTriggerEdgeRising);
Thx for your help
Regards, Markus