Getlasterrormx – Yokogawa PC-Based MX100 User Manual

Page 281

Advertising
background image

5-23

IM MX190-01E

Functions for the MX100 (Visual C/Visual Basic)

5

getLastErrorMX

Syntax

int getLastErrorMX(DAQMX daqmx, int * lastErr);

Declaration

Public Declare Function getLastErrorMX Lib "DAQMX"(ByVal daqmx
As Long, ByRef lastErr As Long) As Long

Parameters

daqmx

Specify the device descriptor.

lastErr

Specify the destination where the MX100-specific error is to be

returned.

Description

Gets the MX100-specific error that was received last through communications.

Return value

Returns an error number.

Error:
Not descriptor

No device descriptor.

Reference

5.1 Details of Functions - MX100 (Visual C/Visual Basic) -

Advertising