01-31-2018 11:23 AM
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.
Thanks again for everyone's input!
-Heyou
-
01-31-2018 05:48 PM
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
02-01-2018 07:22 AM
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
02-01-2018 06:31 PM
Hi Heyou,
Are you able to get DAQ Assistant to work with the trigger in your application?
Michael B.
Applications Engineer
National Instruments
02-02-2018 07:06 AM
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.
02-02-2018 12:26 PM
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