Hello,
This might be an elementary question, but I just stumpled upon the 'ledctrlarray' example in LabWindows/CVI.
My issue:
I dont' see the linkage between the 'CTRLARRAY' and all the LED controls on the panel.
The panel is populated with 29 LEDs, a numeric knob, a color control, and a timer. When you call 'GetCtrlArrayFromResourceID' you provide the panel handle and CTRLARRAY and get the control array handle. Then you call 'GetNumCtrlArrayItems' with ythe control array handle and get the number of LEDs on the panel.
How are just the LEDs linked to the CTRLARRAY resource id?
I guesss I am missing how the CTRLARRAY resource id gets into the ledctrlarray.h file to begin with.
Thank you in advance for your input.