02-28-2004 01:42 AM
03-01-2004
03:20 PM
- last edited on
03-30-2026
10:38 AM
by
Content Cleaner
Dear Rion,
It�s possible that the short answer to your question is to use the NIDAQYield function to allow the main process to yield to the callback functions. Your problem may require something more than that, however.
Without knowing all of the details of your application, I can suggest that the Continuous Change Detection Example looks like it closely parallels what you are trying to do. I have that example functioning on my system using a PCI-6534.
Make sure that your hardware settings (device number, etc.) a
re correct for your setup. If these suggestions do not help with your problem, please reply with information on what hardware and software you are using, as well as all of the code for this application, including any constants or definitions that you are referencing.
Have a good day,
Kyle Bryson
National Instruments
03-01-2004 08:09 PM
03-02-2004
11:34 AM
- last edited on
03-30-2026
10:39 AM
by
Content Cleaner
Dear Rion,
Change detection is a hardware feature that is not supported on the Lab-PC 1200. I believe that you would like the hardware to monitor for a change without software continuously polling; unfortunately, the Lab-PC 1200 contains no mechanism for detecting this and interrupting the software.
I would recommend use of a PCI-6533 or a PCI-6534, both of which support hardware change detection and will function with the example code that I linked previously. Otherwise, the only solution with your existing hardware requires software to poll the state of the line in question to see if it has changed. Please let me know if you have any further questions or if I may be of additional assistance.
Thank you,
Kyle Bryson
National Instruments