I have a trouble in getting change detection of DI from field when I work with my application.
I am using DAQmx Create Channel(DI-Digital Input).vi along
with DAQmx Start Task.vi in a separate subvi
I created a subi for configuring required DI channels (i.e.: Dev1/port0/line0:7 ) and started the task there itself.
In Main Im using DAQmx Read (Digital 1D Bool 1Chan 1Samp).vi to acquire the field status of all inputs in every scan of
10ms and passing it to other vis via FG. In other vis, I have about 5 test sequences to be run. Here Im using Queued state machine structure. Maneuvre between these tests Im planning to use the field DI status. In a separate vi I have checked the functionality of DAQms Timing change detection vi along with dynamic registering event to
do requiring process based on the field status. But when Im trying to link this code with Main vi or Other vi I could not
able to read the status. Somewhere Im making mistake I think I dont know where probably in Starting the task. Also Ill attach the jpeg for ref. Any help is appreciated.