06-12-2017 11:00 AM
I have created my DAQmx task for change detection on a digital IO channel (PXIe-1062Q; PXI-6527). In my VI i have registered the event in the same manner as the "DAQmx Create Event.vi". This event is needed only to capture a button press to start a test sequence. My the program compiles and runs but the event never fires.
Solved! Go to Solution.
06-13-2017 08:51 AM
Good morning,
Here is some documentation to help you in your use of the event structure in LabVIEW. http://www.ni.com/white-paper/3331/en/
You should not have to wire the event into the event structure.
Could I see what other events you have in your event structure?
Angie Cisneros
06-13-2017 09:13 AM
Is your task running and acquiring data from digital line while you are waiting for this event?
06-13-2017 09:19 AM
a.cisneros, attached is a snip of the other events in the structure. They are all mouse down events on front panel buttons.
06-13-2017 09:22 AM
I have tried inserting a "DAQmx Start Task.vi" in between the task name and the reg events and that made no difference.
06-13-2017 10:20 AM
Does this example work?
http://forums.ni.com/t5/Example-Programs/DAQmx-Change-Detection-Event-Registration/ta-p/3502871
06-13-2017 03:12 PM
Yes that was it. My big stoppage was inserting the "DAQmx Start Task.vi" before the Reg Events. Like a charm now!