whitenoiz Posted January 20, 2015 Report Share Posted January 20, 2015 Hi LAVers, does anyone have an idea or starting point on how to create the abstraction needed to implement a simple serial communication protocol through various serial communication types such as RS-232, USB or Ethernet without duplicating all the code that takes care of the framing, payload and such? Thanks in advance Markus Quote Link to comment
crossrulz Posted January 20, 2015 Report Share Posted January 20, 2015 Use VISA. DONE! Seriously! I took a project I did a couple of years ago that used GPIB for all instrument communications. Luckily I used the VISA drivers. Most of the instruments were changed to use Ethernet. The only part of my code that changed was the initialization. Quote Link to comment
Rolf Kalbermatter Posted January 24, 2015 Report Share Posted January 24, 2015 Use VISA. DONE! Seriously! I took a project I did a couple of years ago that used GPIB for all instrument communications. Luckily I used the VISA drivers. Most of the instruments were changed to use Ethernet. The only part of my code that changed was the initialization. Definitely have to echo that. If VISA doesn't work for your case only a very complex OOP architecture that will take you years to develop, would! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.