Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems connecting to GW Instek MFG-2230-M #42

Open
byzantic opened this issue Apr 16, 2021 · 1 comment
Open

Problems connecting to GW Instek MFG-2230-M #42

byzantic opened this issue Apr 16, 2021 · 1 comment

Comments

@byzantic
Copy link

I think this is an implementation issue at GWI, but wondered if anyone had any ideas or previous experience? I suspect this is all due to me not understanding the difference between VISA, VXI, LXI etc., but I have been working happily with PyMeasure in a way that seems to work OK, until I hit this problem.

I have several instruments that all seem to work quite happily, but not this one (GW Instek MFG-2230-M). I think it will only accept VISA connections, so a connection string something like:

“TCPIP :: 172.16.28.144 :: 1026 :: SOCKET”

.. which is rejected by the vxi11 library as a malformed string, and presumably it would need to parse the socket number as well, rather than performing the vxi protocol (or whatever it is) to establish a socket.

If I try a connection string like: “TCPIP :: 172.16.28.144 :: INSTR”, this is accepted by the vx11 library, but I just get a "connection refused" error when I try to send a message.

@byzantic
Copy link
Author

My bad. This is nothing to do with VXI11. The working examples above are nothing to do with VXI11 either. I'm still trying to work put what all these standards are ..

The bottom line seems to be that although GWI claim to have LAN remote support for this model, it only implements a very low-level raw serial protocol on a fixed port. I believe this should be connectable using a suitable VISA implementation, or even a raw socket, but I haven't had much success.

I'll leave this open for now, just in case someone has a bright idea, but happy to close it if you prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant