RtecatGetCommandsStatus

RtecatGetCommandsStatus gets the status of multiple commands.

Syntax

Copy
RTECAT_ERROR RtecatGetCommandsStatus(
  [in]    ULONG Length,
  [in]    RTECAT_COMMAND_STATUS* pStatuses
);

Parameters

[in] Length

The number of commands to get status information for.

[in] pStatuses

A pointer to an array of RTECAT_COMMAND_STATUS that stores the status of commands.

Return Values

The function returns an RTECAT_ERROR value. If the function succeeds, it returns ecatErrNoError. If the function fails, it returns a different value.

Possible return values:

Return value Meaning

ecatErrNoError

The function succeeded.

ecatErrNullParameter

Parameter pStatuses is NULL.

ecatErrMainDeviceNotReady

The MainDevice is not ready.

Remarks

RtecatGetCommandsStatus is a synchronous function that executes immediately and returns a result upon completion.

Requirements

Minimum supported version Header Library

wRTOS 1.0 SDK

RtecatApi.h

RtecatApi_W64.lib (Windows), RtecatApi.lib (RTSS)

See Also: