From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
|
typedef struct LED_Field
{
unsigned int one: 1;
unsigned int two: 1;
unsigned int three: 1;
unsigned int four: 1;
unsigned int five: 1;
unsigned int six: 1;
unsigned int seven: 1;
unsigned int eight: 1;
}LED_ARRAY;
...
static LED_ARRAY leds;
...
static void GetCurrentValues()
{
unsigned int val;
GetCtrlVal(panelHandle, PANEL_LED, &val);
leds.one = val;
}
|