pyvisa / pyvisa-py

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

query_binary_values on TCPIP-Socket stops after encountering termination character #102

Open jeras opened 7 years ago

jeras commented 7 years ago

after some debugging it appears TCPIPSocketSession.read.enabled == True

MatthieuDartiailh commented 6 years ago

Can you confirm this is still an issue, we fixed some issues with TCPIP recently ? Also did you check you are using the proper format for your data ?

jeras commented 6 years ago

I probably used the released version from PyPI. I did not check this issue recently, and I am switching jobs, so I will not have the time to check this issue with recent code, sorry.

MatthieuDartiailh commented 6 years ago

No problem.

MatthieuDartiailh commented 6 years ago

@skrchnavy as you work on TCPIP could you check if this is still an issue ?

skrchnavy commented 6 years ago

OK

skrchnavy commented 6 years ago

@jeras please provide more info related to this issue. I am not sure if I understand, what is reported.

Be aware, that enabled in read function is from attribute VI_ATTR_TERMCHAR_EN (http://zone.ni.com/reference/en-XX/help/370131S-01/ni-visa/vi_attr_termchar_en/) so when True it shall terminate.

skrchnavy commented 6 years ago

This issue could be fixed in #116, is it possible to test?