08-28-2024 02:34 AM
I'd like to connect a digital signal to a notifier. I have a PXI time&sync card with a digital connector PFI0. I alreday use that as trigger input in a DAQmx task. But I want to use it for triggering one more, purely software thing in my application. How do I connect that PFI0 to a notifier, occurence or similar, in order to do a certain thing when PFI0 signal goes from low to high? Should I perhaps use NI Sync, NI DAQmx, or...?
Many thanks in advance,
/Andreas
Solved! Go to Solution.
08-28-2024 09:13 AM
@andreas_nilsson wrote:
I'd like to connect a digital signal to a notifier. I have a PXI time&sync card with a digital connector PFI0. I alreday use that as trigger input in a DAQmx task. But I want to use it for triggering one more, purely software thing in my application. How do I connect that PFI0 to a notifier, occurence or similar, in order to do a certain thing when PFI0 signal goes from low to high? Should I perhaps use NI Sync, NI DAQmx, or...?
Many thanks in advance,
/Andreas
Depending on your hardware, your DAQ board may support DAQmx Digital events. When used, a change in your digital state can trigger an event, not necessarily a notifier but the event trigger can be used as software trigger.
08-29-2024 05:30 AM
Thank you! However, PFI0 is not in the list of my DAQmx physical channels. There are only my eight AI channels on the PXIe-4300 card.
The digital signal PFI0 is on my NI PXI-6683H timing & sync module. The PXI-6683H can be controlled using the NI Sync driver, rather than the DAQmx driver, I think.
08-29-2024 11:35 AM
If using a 6683, you could set up a timestamp trigger and use that for your notification. Look in the example finder for a timestamp trigger; once you get the trigger send your notification.
09-02-2024 05:58 AM
Ah, thanks a lot!
I thought there must be a way to somehow have the software react on a digital input signal event, but could not figure out how.