LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have a the P

CI-MIO-16E-1 and I want to use analog trigger with multiple channels. NI's manuals explains that I must use PFI0 to do it.But there aren't any examples to explain.So I don't know,how can I use PFIO as an analog trigger input to configure AI trigger config.
0 Kudos
Message 1 of 7
(3,548 Views)
CI-MIO-16E-1 and I want to use analog trigger with multiple channels. NI's manuals explains that I must use PFI0 to do it.But there aren't any examples to explain.So I don't know,how can I use PFIO as an analog trigger input to configure AI trigger config.If you take a look at the On-line Help for AI Trigger Config VI, you'll see an input called "trigger source". If you look at the help for that input, there is a section that discusses valid values for this input when the trigger type is "analog," "analog scan clock gating," or "ATCOUT."

Basically, when one of those trigger types is selected, "trigger source" defaults to analog channel 0. However, "PFI0" is also a valid input.

Hope this helps.
Regards,
Erin
0 Kudos
Message 2 of 7
(3,548 Views)
CI-MIO-16E-1 and I want to use analog trigger with multiple channels. NI's manuals explains that I must use PFI0 to do it.But there aren't any examples to explain.So I don't know,how can I use PFIO as an analog trigger input to configure AI trigger config.Why dont you use simply the Analoge InputChannel as a Trigger source?
That one is already connected to your system:-)


"Ovalie" schrieb im Newsbeitrag
news:5065000000080000002E1F0000-986697009000@quiq.com...
> I have a the PCI-MIO-16E-1 and I want to use analog trigger with
> multiple channels. NI's manuals explains that I must use PFI0 to do
> it.But there aren't any examples to explain.So I don't know,how can I
> use PFIO as an analog trigger input to configure AI trigger config.
>
>
0 Kudos
Message 3 of 7
(3,548 Views)
CI-MIO-16E-1 and I want to use analog trigger with multiple channels. NI's manuals explains that I must use PFI0 to do it.But there aren't any examples to explain.So I don't know,how can I use PFIO as an analog trigger input to configure AI trigger config.Actually, the rule goes like this. If you are sampling more than one channel, and you want to have an analog trigger on one of them, it must be the first channel in the scan list. If it isn't, or that's not possible, then you can use PFI0 as an analog trigger.

Simply look at the examples/DAQ/anlogin/anlogin.llb/Acquire N Scans Analog Hardware Trig.VI, and set the trigger channel to PFI0 (and physically connect your trigger channel to PFI0--you can also parallel it to an analog input channel if you want it in the scan list, too). Your scan list will be only the analog channels, not the PFI0 channel. Give it a shot. If you open this VI then look at File->VI properties and then select Documentation from the pull-down, it will explain all of it.

Mark
0 Kudos
Message 4 of 7
(3,548 Views)
CI-MIO-16E-1 and I want to use analog trigger with multiple channels. NI's manuals explains that I must use PFI0 to do it.But there aren't any examples to explain.So I don't know,how can I use PFIO as an analog trigger input to configure AI trigger config.A few years ago, I met htis problem while trying to pretrigger with
analog trigger on a PCI MIO E 1.
I got this support by Labview.
It�s not necessary to change the settings of the PCI-MIO-16E-1 board.
Just use the example as it is provided in the analogin.llb in LabVIEW.
The one thing that seems to be different between my setup and yours is
that I enter �PFI0� as the trigger channel and not �0�.
If you specify channel 0 as the trigger channel AND the pretrigger scans
settings is
0 you can only acquire the data from one channel. You really have to
specify that
PFI0 is the trigger channel.
The only thing you can do to acquire the data from more then one channel
and still use it with the pretrigger scan value > 0 is using PFI0 as the
trigger source.
In your case I believe you want to trigger on channel 0 and acquire the
data from channel 0 and channel 1 AND the pretrigger scans numeric has a
value > 0.
Solution :
Wire channel 0 to the first input channel on your DAQ board (because you
want to acquire data from this channel).
Wire channel 1 to the second input channel on your DAQ board (because you
want to acquire data from this channel).
ALSO Wire channel 0 to the PFI0 line of your DAQ board. (it�s pin 11 if
you use a 68pin accessorie; it�s pin 38 if you use a 50 pin accessorie)
because you want to trigger on the value of channel 0.
Enter �PFI0� as the triggering channel on the front panel of the �Acquire
N Scans
Analog Hardware Triggering.vi�
You do not have to change any of the settings of the DAQ board. Just open
LabVIEW, and run the example after you have made the proper hardware
connections and entered the appropriate values on the front panel of the
vi.
This really works. I tested it with a PCI-MIO-16E-4 board (same as E-1
only a little bit slower)
If this still doesn�t work or there are some things you want to discuss
with me, please don�t hesitate to contact me. I�ll be glad to help you
with all your questions.
Best Regards,
Dennis Vanotterdijk

National Instruments Applications Engineer.

It worked fine... with drivers of that time.
Hopes it helps
G�rard

Ovalie wrote:

> I have a the PCI-MIO-16E-1 and I want to use analog trigger with
> multiple channels. NI's manuals explains that I must use PFI0 to do
> it.But there aren't any examples to explain.So I don't know,how can I
> use PFIO as an analog trigger input to configure AI trigger config.
Message 5 of 7
(3,548 Views)
CI-MIO-16E-1 and I want to use analog trigger with multiple channels. NI's manuals explains that I must use PFI0 to do it.But there aren't any examples to explain.So I don't know,how can I use PFIO as an analog trigger input to configure AI trigger config.Thank you for your answer.But I wonder as PFIO can be a digital trigger ( so an output signal ), I hesitate to put an analog input which may be cause damage in the DAQ board.
0 Kudos
Message 6 of 7
(3,548 Views)
CI-MIO-16E-1 and I want to use analog trigger with multiple channels. NI's manuals explains that I must use PFI0 to do it.But there aren't any examples to explain.So I don't know,how can I use PFIO as an analog trigger input to configure AI trigger config.Hello. It is fine to put your analog input into that PFI line. PFI lines are often used for digital signals, but this is a case where they are also designed to work with analog signals.
I know this is long after the fact, but I want to write an answer here for anyone else that reads this.

Regards,
John N
Applications Engineer
0 Kudos
Message 7 of 7
(3,548 Views)