Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
59
IEM Manual, 1.5
Remarks
Different to the function EMI_cmdChannelReset, the EMI_cmdChannelStop
doesn't manipulate any configuration data of the bus protocol software.
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
o_blocking
IN
blocking/non-blocking execution
Return Value
Description
COM_k_OK
channel stopped
COM_k_BUSY
CMD channel 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
4.1.2.15 EMI_cmdChannelReset()
COM_e_ERROR EMI_cmdChannelReset(COM_t_BOARD_REF td_brdRef, BOOL o_blocking);
Description
This function performs the reset of the bus protocol stack and sets it into its
default state (power-on state). The stored configuration parameters are used
for initialization if possible. The CMD channel is used for the transmission of
this service. The state of the MSM on both devices is updated. The function is
blocked waiting on the response if the o_blocking is TRUE, otherwise the ap-
plication
has
to
query
for
the
response
by
means
of
EMI_cmdCommandRespQuery. If the IEM is an active participant of the bus, it
will be set inactive automatically.
Remarks
Changes in the configuration parameters that were not stored to non-volatile
memory may be set to their power-on values.
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
o_blocking
IN
blocking/non-blocking execution
Return Value
Description
COM_k_OK
channel reset for normal operation
COM_k_BUSY
CMD channel busy
COM_k_INVALID_BOARD
invalid IEM reference