get_io_device_paramT_get_io_device_paramGetIoDeviceParamGetIoDeviceParam (Operator)

Name

get_io_device_paramT_get_io_device_paramGetIoDeviceParamGetIoDeviceParam — Abfragen der Parameter einer I/O-Geräteinstanz.

Signatur

get_io_device_param( : : IODeviceHandle, GenParamName : GenParamValue)

Herror T_get_io_device_param(const Htuple IODeviceHandle, const Htuple GenParamName, Htuple* GenParamValue)

void GetIoDeviceParam(const HTuple& IODeviceHandle, const HTuple& GenParamName, HTuple* GenParamValue)

HTuple HIODevice::GetIoDeviceParam(const HTuple& GenParamName) const

HTuple HIODevice::GetIoDeviceParam(const HString& GenParamName) const

HTuple HIODevice::GetIoDeviceParam(const char* GenParamName) const

HTuple HIODevice::GetIoDeviceParam(const wchar_t* GenParamName) const   (Nur Windows)

static void HOperatorSet.GetIoDeviceParam(HTuple IODeviceHandle, HTuple genParamName, out HTuple genParamValue)

HTuple HIODevice.GetIoDeviceParam(HTuple genParamName)

HTuple HIODevice.GetIoDeviceParam(string genParamName)

Beschreibung

get_io_device_paramget_io_device_paramGetIoDeviceParamGetIoDeviceParamGetIoDeviceParam liefert Parameterwerte zur Konfiguration einer bestimmten Geräteinstanz. Die Abfrageparameter werden in GenParamNameGenParamNameGenParamNameGenParamNamegenParamName übergeben, die korrespondierenden Konfigurationswerte in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValue zurückgegeben. 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: 'param_name' "param_name" "param_name" "param_name" "param_name"

Wertevorschläge: 'io_device_name'"io_device_name""io_device_name""io_device_name""io_device_name", 'param_name'"param_name""param_name""param_name""param_name"

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

Parameterwerte.

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, set_io_device_paramset_io_device_paramSetIoDeviceParamSetIoDeviceParamSetIoDeviceParam

Nachfolger

open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannel

Siehe auch

open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDevice, query_io_interfacequery_io_interfaceQueryIoInterfaceQueryIoInterfaceQueryIoInterface, set_io_device_paramset_io_device_paramSetIoDeviceParamSetIoDeviceParamSetIoDeviceParam

Modul

Foundation