01-28-2018 05:17 PM
Is it possible to trigger the output of the NI 9264 from the PFI 0 of the NI cDAQ9178? When I try I get the following error.
This is my basic code.
Thanks in advance.......
Solved! Go to Solution.
01-29-2018 02:11 AM
Hi Heyou,
what kind of trigger do you want to use?
What do you want to achieve with a "Reference Digital Edge" trigger? According to the LabVIEW help the reference triggers apply to input tasks: you use an AO module instead!
01-29-2018 07:08 AM
Good Morning,
I am seeking to cause the output of the 9264 to start specifically when another voltage goes low 4 volts to 0 volts "falling edge".
-Heyou
01-29-2018 07:31 AM
Hi Heyou,
I hope I understood you correctly.
You could use the DAQmx-Trigger VI, select Analog Window and the Trigger Source (APFI...) you want to use. You can then configure your top and bottom window and select "Leaving Window".
Hope this helps.
Kind regards,
Julika
01-29-2018 07:46 AM
Hi Heyou,
to cause the output of the 9264 to start specifically when another voltage goes low 4 volts to 0 volts "falling edge".
So you want to use a StartTrigger with an Analog input set to look for a certain level at falling edges!
You need to configure the DAQmxTrigger function correctly!
01-29-2018 08:33 AM
@Julika wrote:
Hi Heyou,
I hope I understood you correctly.
You could use the DAQmx-Trigger VI, select Analog Window and the Trigger Source (APFI...) you want to use. You can then configure your top and bottom window and select "Leaving Window".
Hope this helps.
Kind regards,
Julika
So where is the APFI? Can PFI 0 on the cDAQ 9178 be used for this?
Thanks for the help.
-Heyou
01-29-2018 06:03 PM
Hi Heyou,
I think you may want to look into using an Analog Input task to trigger from the PFI line. You can then have your Analog Output task start at the same time as that triggered Analog Input.
Michael B.
Applications Engineer
National Instruments
01-30-2018 08:25 AM
@MichaelB123 wrote:
Hi Heyou,
I think you may want to look into using an Analog Input task to trigger from the PFI line. You can then have your Analog Output task start at the same time as that triggered Analog Input.
Michael B.
Applications Engineer
National Instruments
Good morning Michael,
A newbie question with a perhaps an obvious answer. Would that require an analog input module?
-Heyou
01-30-2018 10:14 AM
Hi Heyou,
You can use any module which has input capabilities. You can use an analog or digital input module, or a multi-function I/O module or a digital I/O module.
Michael B.
Applications Engineer
National Instruments
01-30-2018 04:00 PM
Ok. I have an NI 9403 Bidirectional TTL input. What do I select as the trigger source? for the Reference Digital Edge?
-Heyou