Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
57
IEM Manual, 1.5
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
o_blocking
IN
blocking/non-blocking execution
Return Value
Description
COM_k_OK
channel opened successfully
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_INVALID_STATE
routine called in invalid state
COM_k_BUSY
BCC busy
COM_k_NO_RESP
no response available as yet
COM_k_ERROR
wrong board handle or error response
4.1.2.12 EMI_cmdChannelClose()
COM_e_ERROR EMI_cmdChannelClose(COM_t_BOARD_REF td_brdRef, BOOL o_blocking);
Description
This function closes a previously initialized communication stack instance on
the Industrial Ethernet Module. The firmware stays initialized in order to be
able to start the protocol stack with a different parameter set afterwards. The
BCC is used for the command transmission. The state of the MSM on both de-
vices is updated. The function is blocked waiting on the response if the
o_blocking is TRUE, otherwise the application has to query for the response
by means of EMI_cmdCommandRespQuery.
Remarks
-
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
o_blocking
IN
blocking/non-blocking execution
Return Value
Description
COM_k_OK
channel closed successfully
COM_k_BUSY
BCC busy
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_INVALID_STATE
routine called in invalid state
COM_k_ERROR
wrong board handle or error response