User guide

DOC101014-1_Hatteland Display API_AIPC.docx rev: 7
Created: 17.11.2011 Modified: 07.10.2013 19 of 27
Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway
Tel: (+47) 4814 2200 - mail@hatteland-display.com - www.hatteland-display.com
Hatteland Display API
All intellectual properties belongs to Hatteland Display AS
4.5.7.2 Read
int errCode = -1;
byte[] output = new byte[2];
byte[] input = new byte[0];
byte pNBytes = Convert.ToByte(output.Length);
errCode = hwApiHatteland.HWAPIcommandRW(COMMANDS.WATCHDOG_MONITOR_ENABLE_WAIT, true, input, output, ref pNBytes);
4.5.8 WATCHDOG_MONITOR_COUNT_RESET
int errCode = -1;
byte[] output = new byte[0];
byte[] input = new byte[1]{0x00};
byte pNBytes = Convert.ToByte(output.Length);
errCode = hwApiHatteland.HWAPIcommandRW(COMMANDS.WATCHDOG_MONITOR_COUNT_RESET, false, input, output, ref pNBytes);
4.5.9 ALARM_RESET
int errCode = -1;
byte[] output = new byte[0];
byte[] input = new byte[0];
byte pNBytes = Convert.ToByte(output.Length);
errCode = hwApiHatteland.HWAPIcommandRW(COMMANDS.ALARM_RESET, false, input, output, ref pNBytes);
4.5.10 ALARM_FAULT_TEST
int errCode = -1;
byte[] output = new byte[0];
byte[] input = new byte[0];
byte pNBytes = Convert.ToByte(output.Length);
errCode = hwApiHatteland.HWAPIcommandRW(COMMANDS.ALARM_FAULT_TEST, false, input, output, ref pNBytes);
4.5.11 ALARM_SOUND_OFF
int errCode = -1;
byte[] output = new byte[0];