11-20-2007 11:18 AM
11-20-2007 02:48 PM
Sorry I do not see ACH0. My input is AI0. I connect sqwure wave to A10 and PFI0/AI start, I got the same problem.
Liming
11-20-2007 02:58 PM
11-20-2007 03:17 PM
I know the DQAmx trigger.vi is not working in my vi. I remove this subvi or set as non trigger. My program works. But I can not use it since I need a single trigger for capture of pulse voltage.
So how do I figure this trigger from BNC-2110?
Or BNC-2110 has no such a function, or NI PCI-MIO-16E-1 card has no trigger?
Please help
Liming
11-21-2007 09:58 AM
Hi, Hani,
Good news I figured out. I used a output signal from scope to trigger PFI 0/AI start Trig, it works. I do not know why it does not work when I input sqware wave (witch I want to measure) toPFI 0/AI. Anyway, I may leave it to understand later.
Now I try to save data in ASCI from DQAmx read.vi data output. Please can advice me to do it, I really need to finish this very quick.
Thanks
Liming
11-21-2007
10:32 AM
- last edited on
04-18-2025
03:57 PM
by
Content Cleaner
Hi Liming,
I'm glad you got the trigger working. From the screenshot of your signal in Measurement and Automation Explorer, it looks like your signal goes from 2.4V to about 3.8V. Essentially, the hardware is waiting for a TTL compliant signal before acquiring data to rise above 0.5V. Because the square wave signal never crossed 0.5V, it did not trigger the acquisition to begin.
The easiest way for you to save data to a file is to use the Write To Measurement File VI. This is an express VI that will allow you to save to an LVM file (which can be opened by a text editor). You can wire the data output of the DAQmx Read to the Signal input of the Write To Measurement File VI. Let me know if you have any other questions.
Message Edited by Hani R on 11-21-2007 10:32 AM