User Manual
Table Of Contents
- TABLE OF CONTENTS
- Section 1. Features and Specifications
- Section 2. mETHODS
- CLOSEDEVICE Method
- DEVICECONNECT Method
- DEVICEDISCONNECT Method
- GETDEVICE Method
- GETDEVICEWEB Method
- GETIMAGE Method
- GETIMAGEASBASE64FORMAT Method
- GETIMAGEASBASE64FORMATWEB Method
- GETIMAGEWEB Method
- GETINDEXVALUE Method
- GETINDEXVALUEWEB Method
- GETVALUE Method
- GETVALUEWEB Method
- LOGENABLE Method
- OPENDEVICE Method
- PROCESSCHECK Method
- PROCESSCHECKWEB Method
- QUERYINFO Method
- QUERYINFOWEB Method
- SAVEIMAGEBYINDEX Method
- SAVEIMAGEBYINDEXWEB Method
- SAVEIMAGEBYURL Method
- SAVEIMAGEBYURLWEB Method
- SENDCOMMAND Method
- SENDCOMMANDWEB Method
- SETINDEXVALUE Method
- SETINDEXVALUEWEB Method
- SETLOGFILEHANDLE Method
- SETLOGLEVEL Method
- SETVALUE Method
- SETVALUEWEB Method

15
SENDCOMMANDWEB METHOD
Sends a command to a device.
Syntax
Result =MTEXCELLAAPI1. SendCommandWeb (ByVal lpszDeviceName As String, ByVal
lpszCommand As String, ByRef lpszResult As Variant, ByRef lplLength As Variant) as Long
Part
Description
lpszDeviceName
A string that specifies the name of the device.
lpszCommand
A string containing the command to sent to the device.
lpszResult
The buffer that receives the result of the command.
lplLength
The length of
lpszResult.
Remarks
SendCommandWeb functions identically to SendCommand. SendCommandWeb is intended
to be used for webpage applications.
Data Type
Long
SETINDEXVALUE METHOD
Adds a key/value pair to the given device settings with an index number.
Syntax
Result =MTEXCELLAAPI1.SetIndexValue (ByRef lpszOptions As String, ByVal lpszSection As
String, ByVal lpszKey As String, ByVal lpiIndex As Long, ByVal lpszValue As String, ByRef
lplBufferSize As Long) as Long
Part
Description
lpszOptions
A string that specifies all the key/value pairs.
lpszSection
A string containing the section name.
lpszKey
A string containing the key name.
lpiIndex
The key index number.
lpszValue
A string containing the key value.
lplBufferSize
The size of the value buffer.
Data Type
Long