09-17-2019 08:15 AM
Background:
I am writing C code and calling the DAQmx API directly. I am developing in VS community 2017 with the latest DAQmx. I am using the Synch AI-AO example with success. I changed the examples triggering scheme to have the AO task trigger the AI task with success. I have a PXIe chassis with a PCIe-6358 board.
Question:
I want to trigger the AO task from a DAQmx function call, a software event is going to start the AO/AI in one-shot mode. I tried DAQmxSendSoftwareTrigger() with no success. Is this idea even possible?
Thanks,
Ed
09-23-2025 09:01 PM
Does anyone know how to setup DAQmx to use a software trigger (DAQmxSendSoftwareTrigger())? I have been trying to use DAQmxCfgDigEdgeAdvTrig(taskHandle, "Dev1/PFI8", DAQmx_Val_Rising) to setup my PCIe-6320, but I get this error:
DAQmx Error: Specified property is not supported by the device or is not applicable to the task.
Property: DAQmx_AdvTrig_Type
Task Name:
Status Code: -200452
The only two options for triggerEdge are: DAQmx_Val_Rising and DAQmx_Val_Falling.
I am usig ANSI C, does anyone have an example of how to do this?