Copyright IXXAT Automation GmbH
UCI Programming Manual FlexRay, V1.13
External interfaces
33
5.1.4.15
FormatError
If a UCI-method returns an error, an error description can be requested via the
function
. This is a zero-terminated string with max.
UCI_MAX_ERRSTR characters. For this, sufficient memory must be reserved via the
parameter
pszError
.
Prototype:
virtual HRESULT __stdcall FormatError ( HRESULT
hrError,
PCHAR
pszError );
Parameters:
hrError IN
UCI error code.
pszError IN
Pointer to memory for reception of an error string.
pszError OUT Pointer to the error description.
Return value:
UCI error codes
5.1.5
IUciFlxMsgTrigger
If the device does not support trigger outputs or trigger inputs the
returns zero. Please ensure to
retrieve the amount of triggers before modifying the trigger settings. Trying to
modify an unavailable trigger will return an error code.
5.1.5.1
GetOutTriggerCount
Via this method it is possible to retrieve the number of possible trigger output
ports from the device.
Prototype:
virtual HRESULT __stdcall GetOutTriggerCount ( PWORD pwOutTriggerCount );
Parameters:
pwOutTrig-
gerCount
OUT Pointer which receives the number of possible trigger out-
put ports of the device.
Return value:
UCI error codes
5.1.5.2
SetOutTrigger
Via this method it is possible to configure a trigger condition on which the Fle-
xRay interface board pulses an output pin on the board if the appropriate data is
recognized.
Содержание FlexRay CCM
Страница 6: ......