Hd can module programmer’s guide (windows) – Hatteland Display HT B22 (Fanless) User Manual
Page 9

DOC101357-1_ - rev 2 – 2013-09-23 - Created by:6644
Page 9 of 25
Hatteland Display AS, Åmsosen, N-5578 Nedre Vats, Norway
Tel: (+47) 4814 2200 - [email protected] - www.hatteland-display.com
HD CAN Module Programmer’s Guide (Windows)
All intellectual properties belongs to Hatteland Display AS
PassThruSetProgrammingVoltage
=
(
PassThruSetProgrammingVoltage_t
)
GetProcAddress
(
dllLib
,
"PassThruSetProgramm
ingVoltage"
);
PassThruReadVersion
=
(
PassThruReadVersion_t
)
GetProcAddress
(
dllLib
,
"PassThruReadVersion"
);
PassThruGetStatus
=
(
PassThruGetStatus_t
)
GetProcAddress
(
dllLib
,
"PassThruGetStatus"
);
PassThruReset
=
(
PassThruReset_t
)
GetProcAddress
(
dllLib
,
"PassThruReset"
);
if
((
PassThruOpen
==
NULL
)
||
(
PassThruClose
==
NULL
)
||
(
PassThruConnect
==
NULL
)
||
(
PassThruDisconnect
==
NULL
)
||
(
PassThruReadMsgs
==
NULL
)
||
(
PassThruWriteMsgs
==
NULL
)
||
(
PassThruGetLastError
==
NULL
)
||
(
PassThruStartPeriodicMsg
==
NULL
)
||
(
PassThruStopPeriodicMsg
==
NULL
)
||
(
PassThruStartMsgFilter
==
NULL
)
||
(
PassThruStopMsgFilter
==
NULL
)
||
(
PassThruReset
==
NULL
))
{
cout
<<
"Unable to find DLL function!"
<<
endl
;
if
(
false
==
freeLib
())
{
cout
<<
"Unable to free DLL!"
<<
endl
;
}
return
false
;
}
return
true
;
}
/**************************************************************************
**********//**
* @brief Function to Open device
***************************************************************************
************/
static
void
callPassThruOpen
()
{
PassThruOpen
(
0
,
&
deviceId
);
}
/**************************************************************************
**********//**
* @brief Function to Close Device
***************************************************************************
************/
static
void
callPassThruClose
()
{
PassThruClose
(
deviceId
);
}
/**************************************************************************
**********//**
* @brief Function to Connect Channel
- 26 inch - HD 26T21 MMC (Widescreen) 24 inch - HD 24T21 MMC (Widescreen) 19 inch - HD 19T21 MMC 17 inch - HD 17T21 MMC 15 inch - HD 15T21 MMC 12 inch - HD 12T21 MMC 13 inch - HD 13T21 MMC (Widescreen, Inte Cor2 Duo CPU) 13 inch - HD 13T21 MMC (Widescreen, Inte Ato CPU) 8 inch - HD 08T21 MMC (Widescreen)