pyvisa / pyvisa-py

A pure python PyVISA backend
https://pyvisa-py.readthedocs.io
MIT License
288 stars 124 forks source link

Unsupported attributes for PyVISA-py TCPIP SOCKET communication #109

Closed MatthieuDartiailh closed 6 years ago

MatthieuDartiailh commented 7 years ago

First reported on PyVisa: https://github.com/pyvisa/pyvisa/issues/274

skrchnavy commented 6 years ago

@cwgamma I checked documentation for NI: http://zone.ni.com/reference/en-XX/help/370131S-01/ni-visa/vi_attr_send_end_en/ VI_ATTR_SEND_END_EN is not valid for TCPIP SOCKET only for TCPIP INSTR.

Anyway, it works as you have written, I tested it using pyvisa shell with backend pyvisa-py, attribute is supported but not listed and can't be changed.

MatthieuDartiailh commented 6 years ago

Should we close then ?

skrchnavy commented 6 years ago

no, this is real issue, VI_ATTR_SEND_END_EN shall be ignored but VI_ATTR_SUPPRESS_END_EN shall be implemented. I am working on it for TCPIP.

MatthieuDartiailh commented 6 years ago

Cool

MatthieuDartiailh commented 6 years ago

Closed by #114