Ethernet Module Interface (EMI)
– API Description
Copyright IXXAT Automation GmbH
77
IEM Manual, 1.5
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_INVALID_STATE
routine called in invalid state
COM_k_ERROR
status buffer doesn't exist
4.1.2.40 EMI_stsLinkQuery()
COM_e_ERROR EMI_stsLinkQuery(COM_t_BOARD_REF td_brdRef, UINT16 *pw_status);
#endif
Description
This function reads the current link state from the corresponding buffer provid-
ed via the CCI. The link state consist of link information of every supported
port.
Remarks
-
Parameter
Dir.
Description
td_brdRef
IN
unique IEM reference
pw_status
IN/OU
T
pointer to store the status word
Return Value
Description
COM_k_OK
valid status word
COM_k_BUSY
status buffer busy
COM_k_INVALID_BOARD
invalid IEM reference
COM_k_INVALID_STATE
routine called in invalid state
COM_k_ERROR
status buffer doesn't exist
4.1.2.41 EMI_ioCyclDataReadAcquire()
COM_e_ERROR EMI_ioCyclDataReadAcquire(COM_t_BOARD_REF td_brdRef,
volatile PVOID *ppv_input_data,
UINT8 *pb_ready,
UINT16 w_length);
Description
This function is used to guarantee data consistency during access to the pro-
cess data. It returns a pointer to the locked buffer with current process image.
The application, in its case, may copy data either directly to its process output