DeviceManager.sendDeviceCommand Method¶
Module: DeviceManager
Definition¶
(C++/dotnet): Sends a command directly to a device.
public static void SendDeviceCommand(int deviceId, string cmd, IntPtr arg=default(IntPtr), IntPtr result=default(IntPtr))
Parameters
deviceId
intin The target device’s identifier.cmd
stringin The command string.arg
IntPtrin Optional command argument.result
IntPtrin Optional pointer for the command result.
Exceptions
An error has occurred during Devices Library execution.
int id3DevicesDeviceManager_SendDeviceCommand (
int deviceId,
const char * cmd,
void * arg,
void * result)
Parameters
deviceId
intin The target device’s identifier.cmd
const char *in The command string.arg
void *in Optional command argument.result
void *in Optional pointer for the command result.
Returns