Sendlineda100 – Yokogawa PC-Based MX100 User Manual
Page 1107
![background image](/manuals/360310/1107/background.png)
24-16
IM MX190-01E
sendLineDA100
Syntax
int sendLineDA100(DAQDA100 daqda100, const char * strLine);
Declaration
Visual Basic
Public Declare Function sendLineDA100 Lib "DAQDA100"(ByVal
daqda100 As Long, ByVal strLine As String) As Long
Visual Basic.NET
Public Declare Ansi Function sendLineDA100 Lib
"DAQDA100"(ByVal daqda100 As Integer, ByVal strLine As String)
As Integer
C#
[DllImport("DAQDA100.dll" CharSet=CharSet.Auto,
EntryPoint="sendLineDA100")]
public static extern int sendLineDA100(int daqda100, byte[]
strLine);
Parameters
daqda100
Specify the device descriptor.
strLine
Specify the string to be sent.
Description
Sends the string data specified by the parameter.
• When sending the command, the terminator is also part of the data.
• This function does not receive a response. Receive the returned data using
another receive function.
• The specified string is, in general, an ASCII string.
Return value
Returns an error number.
Error:
Not descriptor
No device descriptor.
Reference
CDAQDA100::sendLine
24.1 Details of Functions - DARWIN (VC/VB/VB.NET/C#) - Status Transition Functions