Show/Hide Toolbars

Irinos Measurement System

Navigation: MscDll Reference Guide > API (programming interface)

Return values (MSC_STATUS)

Scroll Prev Top Next More

The function calls of the MscDll almost all have the same return value of the type MSC_STATUS. It is defined as follows:

Return value

Hex representation

Description

MSC_STATUS_SUCCESS

0x00000000

no error detected

MSC_STATUS_FAILED

0xF0000001

general error

MSC_STATUS_INVALID_HANDLE

0xF0000002

call an invalid handle

MSC_STATUS_INVALID_PARAMS

0xF0000003

invalid parameter

MSC_STATUS_NO_RESOURCES

0xF0000004

no resources for creation

MSC_STATUS_NO_DEVICES

0xF0000005

no device found

MSC_STATUS_NOT_INITIALIZED

0xF0000006

member not initialzed

MSC_STATUS_ALREADY_INITIALIZED

0xF0000007

interface is already initialized, repeated call

MSC_STATUS_INVALID_OBJECT_TYPE

0xF0000008

handle identifies an invalid object type, handle is invalid for this function call

MSC_STATUS_INVALID_CHANNEL_TYPE

0xF0000009

channel does not have the correct type for this function

MSC_STATUS_FUNCTION_NOT_ALLOWED

0xF0000100

function not allowed at this time

MSC_STATUS_NO_DATA_AVAILABLE

0xF0000200

no data available

MSC_STATUS_NO_MORE_DATA

0xF0000400

no more data

MSC_STATUS_BUFFER_TO_SHORT

0xF0000401

buffer too short