Hello,
I am currently in the process of creating a program to work with a laser and a DAQ device (Fig 2 and 3). I use two two Type Definitions - IR Settings Cluster and DAQ Settings Cluster - to carry the required settings to my state machine.
I noticed that my program crashed stating that I have set an incorrect value to my DAQ (the SampleClock was set to zero).
The probe test result is shown on Fig.1 - Odd probe numbers pertain to the IR Settings Cluster, and even numbers pertain to the DAQ Settings Cluster. After setting these up (see Figures 1, 2 and 3), I managed to notice that the data regarding the DAQ is not carried properly at probe #12, whereas the data of the IR Settings cluster is carried out properly. I also noted that the IR Settings Cluster tunnel at the event selector (probe #12) has a little arrow, unlike the DAQ Settings Cluster, and I am currently trying to understand its meaning. The content of the clusters can be seen on the "Unbundled by Name" functions.
Any help to understand why the correct values are not carried properly would be greatly appreciated.
Should the actual code be needed, I will be most willing to share it, but be advised it is rather heavy - that will mean that it will have to be dowloaded from an external source.
Thanks in advance!
Probe results
Fig 1. Probe results
Left Part of Program Diagram
Fig 2 - Left part of the Main VI
Right Part of Program Diagram
Fig 3 - Right part of the Main VI
Wiring Detail - the little arrow on the shift register
Fig 4 - Wiring details with the previously mentioned arrow