Changeaopwmvaluemx100 – Yokogawa PC-Based MX100 User Manual

Page 738

Advertising
background image

17-4

IM MX190-01E

changeAOPWMValueMX100

Syntax

int changeAOPWMValueMX100(DAQMX100 daqmx100, int idAOPWM, int
aopwmNo, int bValid, double realValue);

Declaration

Visual Basic
Public Declare Function changeAOPWMValueMX100 Lib
"DAQMX100"(ByVal daqmx100 As Long, ByVal idAOPWM As Double,
ByVal aopwmNo As Long, ByVal bValid As Long, ByVal realValue
As Doouble) As Long
Visual Basic.NET
Public Declare Ansi Function changeAOPWMValueMX100 Lib
"DAQMX100"(ByVal daqmx100 As Integer, ByVal idAOPWM As
Integer, ByVal aopwmNo As Integer, ByVal bValid As Integer,
ByVal realValue As Double) As Integer
C#
[DllImport("DAQMX100.dll" CharSet=CharSet.Auto,
EntryPoint="changeAOPWMValueMX100")]
public static extern int changeAOPWMValueMX100(int daqmx100,
int idAOPWM, int aopwmNo, int bValid, Double realValue);

Parameters

daqmx100

Specify the device descriptor.

idAOPWM

Specify the AO/PWM data identifier.

aopwmNo

Specify the AO/PWM data number.

bValid

Specify valid/invalid using a Boolean value.

realValue

Specify the actual output value.

Description

Changes the AO/PWM data of the specified AO/PWM data identifier.

• If the differences from the user specified output value are excluded, it is the same

as the changeAOPWMMX100 function.

• The user-specified output value specifies a floating point value including the

decimal point position.

Return value

Returns an error number.
Error:

Not descriptor

No device descriptor.

Reference

CDAQMX100::changeAOPWMValue

17.1 Details of Function - MX00 (Visual C/Visual Basic/Visual Basic.NET/C#) - Status Transition Functions

Advertising