Download "user manual"
Transcript
Interface Description Parameter: board_type (in) an integer value which marks the type of the PC/CAN-interface used. Is only used for checking consistency, since the board is clearly defined by the board index parameter. board_index (in) In the parameter board_index, a unique index number is transferred, under which the PC/CAN-interface is registered with the system. Valid index numbers can be determined by the application via the registration functions (see Section 3). s_addinfo (in) Pointer to a buffer with maximum 256 bytes which can accept additional information. This additional information is administered by the VCI_V2 and can be altered by the user in the hardware selection dialogue. If you do not require this information, set this parameter to zero. At the moment this parameter is only used for special hardware. Standard IXXAT PC/CAN-interfaces do not use this additional information. b_addLength (in) Maximum length of the buffer for the additional information in s_addinfo. fp_puts (in) Call-back function for the issue of error and status messages with Prepare (NULL -> no status issue). msg_rx_int_hdlr (in) ID of the Windows-message with which the reception of CANmessages is to be signaled to the application. Typically one userdefined message (WM_USER + Offset) is determined and transferred at this point. fp_exc_hdlr (in) Function pointer to the Exception handler for processing of the error which has occurred (NULL -> no Exception handler) apl_handle (in) Handle of the application to which the agreed Windows-message is to be sent. Return value: >= 0 -> Board-Handle <0 -> VCI-Return codes. Copyright IXXAT Automation GmbH 26 VCI-V2 Programmers Manual, Version 2.9