Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

triggering DAQ

HI,
I have an PXI-6071E DAQ card.I want to configure analoginput using DAQ-mx VI's. I have to trigger the DAQ using the waveform in the analog i/p itself. How can I do this?
Example:I have a 3 phase voltage, I want all 3 analog i/ps to be triggered when the analog i/p channel 1 has its voltage at 0 Volts and rising.
What should the source of trigger be? Also, in the DAQ-mx timing, what should the source be?
Thank you.
0 Kudos
Message 1 of 5
(3,001 Views)
What you need to do is setup a task with all three channels in it. Then set up an analog trigger where the source of your signal is channel 1. If you look at the examples in DAQmy \Analog In\Measure Voltage\Continous Voltage with Analog Trigger (or something close to that) it will illustrate what you want to do. Those examples use PFI0 as the source of the trigger, but all you need to do is change it to be channel 1. You can set the rising behavior and level in the VI. The source of your timing should probably be the internal clock unless you have some special timing requirements that require an external clock but it doesn't sound like it

Stuart G
Message 2 of 5
(3,001 Views)
HI Stuart,
The Triggering source is a string; and the help file does not say how to represent each channel in my device as a string. I tried 'Channel 1'. It did not work.
I also looked at the examples, but all of them have their triggering source as 'PFI0'.
Can you please tell me how to represent each channel as a string, for the triggering source. I am using an PXI-6071E.
Waiting for your reply.
Thank you.
0 Kudos
Message 3 of 5
(3,001 Views)
When I looked in the help I found quite a bit of information (look in the DAQmx help). Also, the error which is returned is pretty descriptive. One thing is the channel you want to use as the trigger needs to be the first channel in your list. So if you have a channel list say Dev2/ai0:3 then the trigger string would be Dev2/ai0.
0 Kudos
Message 4 of 5
(3,001 Views)
Thanks Stuart..It worked!!
0 Kudos
Message 5 of 5
(3,001 Views)