set_io_device_paramT_set_io_device_paramSetIoDeviceParamSetIoDeviceParam (Operator)

Name

set_io_device_paramT_set_io_device_paramSetIoDeviceParamSetIoDeviceParam — Konfigurieren einer bestimmten I/O-Geräteinstanz.

Signatur

set_io_device_param( : : IODeviceHandle, GenParamName, GenParamValue : )

Herror T_set_io_device_param(const Htuple IODeviceHandle, const Htuple GenParamName, const Htuple GenParamValue)

void SetIoDeviceParam(const HTuple& IODeviceHandle, const HTuple& GenParamName, const HTuple& GenParamValue)

void HIODevice::SetIoDeviceParam(const HTuple& GenParamName, const HTuple& GenParamValue) const

void HIODevice::SetIoDeviceParam(const HString& GenParamName, const HString& GenParamValue) const

void HIODevice::SetIoDeviceParam(const char* GenParamName, const char* GenParamValue) const

void HIODevice::SetIoDeviceParam(const wchar_t* GenParamName, const wchar_t* GenParamValue) const   (Nur Windows)

static void HOperatorSet.SetIoDeviceParam(HTuple IODeviceHandle, HTuple genParamName, HTuple genParamValue)

void HIODevice.SetIoDeviceParam(HTuple genParamName, HTuple genParamValue)

void HIODevice.SetIoDeviceParam(string genParamName, string genParamValue)

Beschreibung

set_io_device_paramset_io_device_paramSetIoDeviceParamSetIoDeviceParamSetIoDeviceParam (re)konfiguriert eine bestimmte Geräteinstanz. Die Konfigurationsparameter werden in GenParamNameGenParamNameGenParamNameGenParamNamegenParamName übergeben, die korrespondierenden Konfigurationswerte in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue. IODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandle adressiert die Geräteinstanz, die von open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDevice zurückgegeben wurde.

Eine ausführliche Beschreibung aller gerätespezifischen Parameter findet sich in der Dokumentation für die verwendete I/O-Schnittstelle im Verzeichnis 'doc/html/reference/io'"doc/html/reference/io""doc/html/reference/io""doc/html/reference/io""doc/html/reference/io".

Ausführungsinformationen

Parameter

IODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandle (input_control)  io_device HIODevice, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Referenz auf das geöffnete I/O-Gerät.

GenParamNameGenParamNameGenParamNameGenParamNamegenParamName (input_control)  attribute.name(-array) HTupleHTupleHtuple (string) (string) (HString) (char*)

Parameternamen.

Defaultwert: []

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue (input_control)  attribute.value(-array) HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Zu setzende Parameterwerte.

Defaultwert: []

Ergebnis

Im Falle gültiger Parameterwerte liefert der Operator get_io_device_paramget_io_device_paramGetIoDeviceParamGetIoDeviceParamGetIoDeviceParam den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt. In diesem Fall kann vom Interface eine zusätzliche Fehlerinformation gesetzt werden, die mit get_extended_error_infoget_extended_error_infoGetExtendedErrorInfoGetExtendedErrorInfoGetExtendedErrorInfo abgefragt werden kann.

Vorgänger

open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDevice

Nachfolger

open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannel

Siehe auch

open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDevice, query_io_interfacequery_io_interfaceQueryIoInterfaceQueryIoInterfaceQueryIoInterface, get_io_device_paramget_io_device_paramGetIoDeviceParamGetIoDeviceParamGetIoDeviceParam

Modul

Foundation