Copyright IXXAT Automation GmbH
UCI Programming Manual FlexRay, V1.13
External interfaces
14
5
External interfaces
5.1
SW interfaces
5.1.1
Exported functions
5.1.1.1
UCI_CreateInstance
creates a UCI instance for a board based on a board key.
This may include loading of firmware, setting up communication and resetting
the controllers. After successful creation of a UCI instance,
returns a pointer to an
interface.
The board key and the string with the additional, board-specific parameters are
provided equivalent to the VCI V2 programming interface via the board selection
dialog, the request of the standard interface, enumeration of the installed inter-
face or the search for a certain interface. For this, please read the description of
the functions
taken from the VCI V2 pro-
gramming manual (see Annex section 6.2).
As different UCI DLLs have to be loaded for the different types of IXXAT PC inter-
faces, it is recommended to load these dynamically (see example on next page).
Prototype:
HRESULT WINAPI UCI_CreateInstance( DWORD
dwKey,
PCHAR
pStr,
LPUCIBOARD*
ppBrd );
Parameters:
dwKey IN
Board key
pStr
IN
1)
Pointer to zero-terminated string with additional, board-specific
parameters. The string is not necessary to run the device but the
user may provide following tags to control the behavior:
•
URL://<IP or name>//
*1)
•
DISABLEPOPUP://<value>//
<value> is either “TRUE” or “FALSE” and controls the be-
havior of the UCI’s dialog windows. The value “TRUE” for-
bids the UCI to open any dialog window. This includes the
IP-Configuration, TX time budget overrun the heart beat
timeout dialog windows.
<IP or name> is equal to the numeric IP address or the
DNS name of the device to connect to.
Содержание FlexRay CCM
Страница 6: ......