LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI 9264 and NI cDAQ9178 triggering

Solved!
Go to solution

All,

I am circling somewhat to my original question with this question: "Why won't this snippet of code wait for the trigger from the NI 9178 PFI 0 input?"

Please see attached snippet.No Trigger.png

Thanks again for everyone's input!

 

-Heyou

 

-

0 Kudos
Message 11 of 16
(907 Views)

Hi Heyou,

 

You are still using an Output task. Triggering should only work with an Input task. This may explain why it is not working correctly.

 

Michael B.

Applications Engineer

National Instruments 

0 Kudos
Message 12 of 16
(894 Views)

Michael,

Thank you for your patience with me. The reason I'm bemoaning  this point is that when I use DAQmx assist VI  I can produce a sine wave that the PFI 0 input functions as a trigger. What am I missing? The PFI triggering function is a selection with the assistant for NI 9264.  Any thoughts?

 

-Heyou

0 Kudos
Message 13 of 16
(885 Views)

Hi Heyou,

 

Are you able to get DAQ Assistant to work with the trigger in your application?

 

Michael B.

Applications Engineer

National Instruments 

0 Kudos
Message 14 of 16
(873 Views)

Hey Michael,

No.     I am seeking to output my waveform from a *.csv file. My csv waveform will work with other code and the NI 9264 output. The last snippet I sent is with a version of the generated NI-DAQmx code modified as I thought it should be. But it isn't working.

 

-Heyou.

 

0 Kudos
Message 15 of 16
(868 Views)
Solution
Accepted by topic author Heyou

This snippet works as intended. I must have been making it more difficult than it really was. Thanks for your help Michael and everyone! 🙂

 

Best regards,

Heyou

 

Solution.png

0 Kudos
Message 16 of 16
(860 Views)