Loading…
Loading…
Method Name: set_error_dir_method
Method ID: 0x4045
Method Label: Set error dir
Method Help: Choose whether the output should go upscale or downscale on alarm.
- {
- char status[3];
- long varids[3];
- int dir;
- PUT_MESSAGE(literal_string(253));
- send_command(140);
- varids[0] = 16422;
- varids[1] = 16423;
- varids[2] = 16430;
- dir = _ivar_value(16428);
- if ((dir & (0x08 | 0x10)) == 0)
- {
- _iassign(16430,0);
- }
- else
- {
- _iassign(16430,1);
- }
Please login for more