Some courses and learning paths on NI Learning Center may not appear on learner dashboards. Our team is actively investigating.
If you encounter access issues, please contact services@ni.com and include the learner’s name, email, service ID or EA number, and the list of required courses.
11-24-2011 08:37 PM
Hi-
My labview code needs to execute only when a physical switch is pressed by the user.
Is it possible to generate a DAQmx event for a level change on a digital input line of the USB-6343?
I am using LV2010 on a windows 7 machine.
Best,
Dar Bahatt
Solved! Go to Solution.
11-24-2011 10:47 PM
11-24-2011 11:14 PM
Can you give more details?
11-25-2011 01:05 AM
11-25-2011 09:32 AM
Thanks!
In your method do I need to constantly monitor (loop with digital input read) the value of the
digital input associated with the UI indicator? If so, that would use system resources.
If possible, I prefer using a DAQmx event with an event handelr within a while loop. Not sure if
DIO can be set to generate an event.
Dar
11-26-2011 11:57 AM
Hi Dar,
If you want to use the daqmx event for level change,then you have to register events..Please go through this program to begin with..http://zone.ni.com/devzone/cda/epd/p/id/317
Regards,
Srikrishna.