get_io_device_paramT_get_io_device_paramGetIoDeviceParamGetIoDeviceParamget_io_device_param (Operator)

Name

get_io_device_paramT_get_io_device_paramGetIoDeviceParamGetIoDeviceParamget_io_device_param — 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)

def get_io_device_param(iodevice_handle: HHandle, gen_param_name: MaybeSequence[str]) -> Sequence[Union[int, float, str]]

def get_io_device_param_s(iodevice_handle: HHandle, gen_param_name: MaybeSequence[str]) -> Union[int, float, str]

Beschreibung

get_io_device_paramget_io_device_paramGetIoDeviceParamGetIoDeviceParamGetIoDeviceParamget_io_device_param liefert Parameterwerte zur Konfiguration einer bestimmten Geräteinstanz. Die Abfrageparameter werden in GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name übergeben, die korrespondierenden Konfigurationswerte in GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value zurückgegeben. IODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleiodevice_handle adressiert die Geräteinstanz, die von open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDeviceopen_io_device 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.

Ausführungsinformationen

Parameter

IODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleiodevice_handle (input_control)  io_device HIODevice, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

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

GenParamNameGenParamNameGenParamNameGenParamNamegenParamNamegen_param_name (input_control)  attribute.name(-array) HTupleMaybeSequence[str]HTupleHtuple (string) (string) (HString) (char*)

Parameternamen.

Defaultwert: 'param_name' "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""io_device_name", 'param_name'"param_name""param_name""param_name""param_name""param_name"

GenParamValueGenParamValueGenParamValueGenParamValuegenParamValuegen_param_value (output_control)  attribute.value(-array) HTupleSequence[Union[int, float, str]]HTupleHtuple (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_paramGetIoDeviceParamGetIoDeviceParamGetIoDeviceParamget_io_device_param den Wert 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_infoGetExtendedErrorInfoGetExtendedErrorInfoGetExtendedErrorInfoget_extended_error_info abgefragt werden kann.

Vorgänger

open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDeviceopen_io_device, set_io_device_paramset_io_device_paramSetIoDeviceParamSetIoDeviceParamSetIoDeviceParamset_io_device_param

Nachfolger

open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannelopen_io_channel

Siehe auch

open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDeviceopen_io_device, query_io_interfacequery_io_interfaceQueryIoInterfaceQueryIoInterfaceQueryIoInterfacequery_io_interface, set_io_device_paramset_io_device_paramSetIoDeviceParamSetIoDeviceParamSetIoDeviceParamset_io_device_param

Modul

Foundation