From 08:00 PM CDT Friday, August 12 - 01:00 PM CDT Saturday, August 13, ni.com will be undergoing system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 08:00 PM CDT Friday, August 12 - 01:00 PM CDT Saturday, August 13, ni.com will be undergoing 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;
}
|