Good morning.
I'm developing an application using LabWindows/CVI 2009 (Vs. 9.1.0 (428)) and I need to use the "Change Detection" interrupt to be warned as soon as possible of a variation of one or more digital lines on a port.
Using MAX, I have enabled the simulation of the following two boards:
PXI-6509
PXI-6528
Using the "NI Example Finder" tool, I found that both the boards can be used to run the "ReadDigChan" and the "ReadDigChan-ChangeDetectionEvent" examples. The "ReadDigChan" correctly works, i.e. I can see data on the example MMI (I can correctly see the LEDs enlightened following the algorithm realized by the NIDAQmx). Using the "ReadDigChan-ChangeDetectionEvent" I'm not able to see any variation in the MMI. Please note that:
- The example can be compiled correctly.
- The obtained executable runs without errors (no error returned by the used NIDAQmx routines).
- A "printf()" instruction inserted at the beginning of the "ChangeDetectionCallback" callback is never executed, i.e. it's like the "Change Detection" were never generated.
- The same behavior can be observed for both the simulated boards (PXI-6509, PXI-6528).
Any idea about possible errors in my operations? Is it possible that the change detection cannot be used in "simulation" mode?
Any help would be appreciated!
Thanks in advance, Massimo.