Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
62
IEM Manual, 1.5
Return Value
Description
COM_k_OK
parameters and settings restored
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
restore operation failed
4.1.2.19 EMI_cmdCommandRespQuery()
COM_e_ERROR EMI_cmdCommandRespQuery(COM_t_BOARD_REF td_brdRef,
COM_t_CMD_RESPONSE *ps_response);
Description
This function reads the received response from BCC respectively CMD re-
sponse channel. Only one of the two channels can be used at the same time.
The application must not send another request before the last response has
been received (window size 1). Thus the existence of two communication
channels can be hidden. The command code is mirrored as part of the re-
sponse.
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
ps_response
OUT
pointer to receiving structure
Return Value
Description
COM_k_OK
operation succeeded
COM_k_NO_RESP
no response available as yet
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_INVALID_STATE
routine called in invalid state
COM_k_ERROR
operation failed
4.1.2.20 EMI_cmdNetworkTimeReq()
COM_e_ERROR EMI_cmdNetworkTimeReq(COM_t_BOARD_REF td_brdRef, void *pv_netTime);
Description
This function requests for the current network time. The CMD channel is used
for the transmission of this service. The function is blocked waiting on the re-
sponse if the pv_netTime <> NULL, otherwise the application has to query for
the response by means of EMI_cmdNetworkTimeQuery.