Dear all,
I'm a new user want to control "E5071C ENA" and code it by C#.
But I didn't find any information and idea for it, does anyone have example or programming guide?
Thanks for help firstly.
Dear all,
I'm a new user want to control "E5071C ENA" and code it by C#.
But I didn't find any information and idea for it, does anyone have example or programming guide?
Thanks for help firstly.
Hi Kino,
There are a number of different ways you can control any instrument that exposes a SCPI programming API from a C# program. What you will need to setup first on your PC is a communication support layer that allows your PC to talk to the instrument via LAN, GPIB or USB (depending on how you have connected your ENA to your PC). Keysight provides this capability through its productivity software suite. from the productivity software suite, you will need the IO Libraries and the Command Expert applications. the IO libs provides the instrument connectivity and Command Expert provides a very convenient way for you to discover and configure the correct set of SCPI commands that you need and it even packages those commands in a native .NET library that you can easily call from within your C# application. That feature of Command Expert is called SCPI.NET drivers. In the link above, you can find documentation, videos and programming examples that will help you get started and what is even better is that all of this software is free.
the VISACom example that tsilchia001 shared is an alternative to CommandExpert and would be a very good way to communicate with instruments that are not supported by Command Expert. However, your ENA is supported by CE and in my opinion SCPI.NET is a much more convenient and civilized way to write C# test automation code than VISACom.
Hi Kino,
There are a number of different ways you can control any instrument that exposes a SCPI programming API from a C# program. What you will need to setup first on your PC is a communication support layer that allows your PC to talk to the instrument via LAN, GPIB or USB (depending on how you have connected your ENA to your PC). Keysight provides this capability through its productivity software suite. from the productivity software suite, you will need the IO Libraries and the Command Expert applications. the IO libs provides the instrument connectivity and Command Expert provides a very convenient way for you to discover and configure the correct set of SCPI commands that you need and it even packages those commands in a native .NET library that you can easily call from within your C# application. That feature of Command Expert is called SCPI.NET drivers. In the link above, you can find documentation, videos and programming examples that will help you get started and what is even better is that all of this software is free.