Displaysegmentmx100 – Yokogawa PC-Based MX100 User Manual
Page 760
![background image](/manuals/360310/760/background.png)
17-26
IM MX190-01E
displaySegmentMX100
Syntax
int displaySegmentMX100(DAQMX100 daqmx100, int dispPattern0,
int dispPattern1, int dispType, int dispTime);
Declaration
Visual Basic
Public Declare Function displaySegmentMX100 Lib
"DAQMX100"(ByVal daqmx100 As Long, dispPattern0 As Long,
dispPattern1 As Long, dispType As Long, dispTime As Long) As
Long
Visual Basic.NET
Public Declare Ansi Function displaySegmentMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal dispPattern0 As
Integer, ByVal dispPattern1 As Integer, ByVal dispType As
Integer, ByVal dispTime As Integer) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="displaySegmentMX100")]
public static extern int displaySegmentMX100(int daqmx100, int
dispPattern0, int dispPattern1, int dispType, int dispTime);
Parameters
daqmx100
Specify the device descriptor.
dispPattern0
Specify the display pattern of segment number 0.
dispPattern1
Specify the display pattern of segment number 1.
dispType
Specify the display format.
dispTime
Specify the display time.
Description
Sets the display of the 7-segment LED.
• Returns the display pattern prior to changes.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQMX100::displaySegmentMX100
17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions