ClassesClassesClassesClasses | | | | Operators

control_io_deviceT_control_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice (Operator)


control_io_deviceT_control_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice — Perform an action on the I/O device.


control_io_device( : : IODeviceHandle, Action, Argument : Result)

Herror T_control_io_device(const Htuple IODeviceHandle, const Htuple Action, const Htuple Argument, Htuple* Result)

Herror control_io_device(const HTuple& IODeviceHandle, const HTuple& Action, const HTuple& Argument, HTuple* Result)

HTuple HIODevice::ControlIoDevice(const HTuple& Action, const HTuple& Argument) const

void ControlIoDevice(const HTuple& IODeviceHandle, const HTuple& Action, const HTuple& Argument, HTuple* Result)

HTuple HIODevice::ControlIoDevice(const HString& Action, const HTuple& Argument) const

HTuple HIODevice::ControlIoDevice(const HString& Action, const HString& Argument) const

HTuple HIODevice::ControlIoDevice(const char* Action, const char* Argument) const

void HOperatorSetX.ControlIoDevice(
[in] VARIANT IODeviceHandle, [in] VARIANT Action, [in] VARIANT Argument, [out] VARIANT* Result)

VARIANT HIODeviceX.ControlIoDevice(
[in] BSTR Action, [in] VARIANT Argument)

static void HOperatorSet.ControlIoDevice(HTuple IODeviceHandle, HTuple action, HTuple argument, out HTuple result)

HTuple HIODevice.ControlIoDevice(string action, HTuple argument)

HTuple HIODevice.ControlIoDevice(string action, string argument)


control_io_devicecontrol_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice performs an action on the I/O device. The supported parameters are interface-specific and listed in the corresponding documentation of the used I/O interface that can be found in the directory 'doc/html/reference/io'"doc/html/reference/io""doc/html/reference/io""doc/html/reference/io""doc/html/reference/io""doc/html/reference/io".



IODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandle (input_control)  io_device HIODevice, HTupleHTupleHIODevice, HTupleHIODeviceX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Handle of the opened I/O device.

ActionActionActionActionActionaction (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name of the action to perform.

ArgumentArgumentArgumentArgumentArgumentargument (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

List of arguments for the action.

Default value: []

ResultResultResultResultResultresult (output_control)  string-array HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

List of result values returned by the action.


If the parameters are valid, the operator control_io_devicecontrol_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice returns the value 2 (H_MSG_TRUE). If necessary an exception is raised. In this case an extended error information may be set and can be queried with the operator get_extended_error_infoget_extended_error_infoGetExtendedErrorInfoget_extended_error_infoGetExtendedErrorInfoGetExtendedErrorInfo.

Possible Predecessors




ClassesClassesClassesClasses | | | | Operators