Setsegmentmx – Yokogawa PC-Based MX100 User Manual

Page 330

Advertising
background image

5-72

IM MX190-01E

setSegmentMX

Syntax

int setSegmentMX(DAQMX daqmx, int dispType, int dispTime,
MXSegment * newSegment, MXSegment * oldSegment);

Declaration

Public Declare Function setSegmentMX Lib "DAQMX"(ByVal daqmx
As Long, ByVal iDispType As Long, ByVal dispTime As Long,
ByRef newSegment As MXSegment, ByRef oldSegment As MXSegment)
As Long

Parameters

daqmx

Specify the device descriptor.

iDispType

Specify the display type.

dispTime

Specify the display time.

newSegment

Specify the display pattern.

oldSegment

Specify the destination where the previous display pattern is to be

returned.

Description

Sets the display of the 7-segment LED.

• Stores the 7-segment LED display pattern before the change if the return

destination is specified.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX::setSegment
CDAQMXSegment::getMXSegment

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

Advertising