12-18-2014 07:00 AM
Hi all,
I am trying to control the solartron SI 1287 using GPIB-USB-HS. The thing is that I can write commands with visa write and it performs it but when I want to read something a timeout expired problem comes up.
Things I´ve done:
- When I use GPIB write and read there is no problem.
-When I put bytes at port or enable termination character I get the response but the timeout problem is still on.
Taking into account the manual the outputs finish with "cr fl", shouldn´t the visa read stops?
Thanks a lot
12-18-2014 07:28 AM
Do NOT use the Bytes At Port. That fuction is specific for serial. And even then, you shouldn't use it with instruments that use a termination character.
Do not use the Configure Serial Port either. Use the actual VISA property nodes to set up your bus. Make sure the termination character is set to a line feed (0xA) and enabled. Then make sure your VISA Read is given enough bytes to read to get the entire message. Also make sure your timeout is actually a decently long time (enough time for the instrument to respond and then plenty of buffer). 10 seconds should be the default.
12-18-2014 07:29 AM
12-18-2014 07:40 AM
Finally I got the solution, I changed the output termination character of the device for being just cr and instead of using byte at a port I just fixed to have cr (13) and enable termination character and it works.
Thanks