LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Daqmx Digital edge start trigger not working

Hi,

 

I am facing an issue in setting up a Counter output task to start based on a digital edge triggering.

The system consists of a PXIe 1065 chassis, PXIe 8840 controller, PXIe 4322 (Analog output), PXIe 6355. Software platform is LabWindows CVI 2017 and Daqmx driver ver 2017

 

I am creating a counter output task (pulse generation) on PXIe 6355(ctr0) which i would like to start based on the analog output start trigger signal from an AO task running on PXIe4322. So using the Daqmx digital start trigger function i have configured the counter task's trigger source as /4322/ao/StartTrigger. I am making sure that the counter task is started(software start using Daqmx task start) before AO task so that it won't miss the trigger. But this is not working as intended because counter doesn't start at all. I have made sure that the AO task is running as intended. There are no errors occurring. In fact i have implemented the same scheme in another system using labview and it works fine. I have made sure that the AO task is running as intended. Without using any triggers to start the counter also works fine. So it won't start only if i set a start trigger for it.

 

6355 card is on slot 8 and 4322 is on slot 9 of pxi chassis. I've tried it in two ways.

 

Method 1

I will directly specify the trigger source for counter task on 6355 as '/4322/ao/StartTrigger'. Here i am assuming that DAQmx will handle the trigger routing implicitly. The LabVIEW code on another system follows this pattern and it just work fine.

 

Method 2

Since method 1 didn't work, next i tried to explicitly route the 4322/ao/StartTrigger signal to a PXI Trigger line Trig5 using Daqmx connect terminals function and then configuring the counter task's trigger source as /6355/PXI_Trig5. But this also doesn't work.

 

Any guesses where i might be going wrong?

-----------------------------------------------------------------------------------------------------------------------------
Waiting For the inner calling 🙂


0 Kudos
Message 1 of 1
(1,984 Views)