10-07-2014 05:55 AM
I need to write a VB.NET program using several 'modern' Agilent instruments and also an old 8648B sig gen. The new instruments - with a mixture of USB and GPIB interfaces are working fine using the IVIAgilent type libraries. The old sig gen, with GPIB interface. has no library. How should I proceed?
All instruments can be accessed using Agilent Connection Expert and NI MAX. I'm using Windows7.
10-07-2014 07:36 AM
@alanf999 wrote:
I need to write a VB.NET program using several 'modern' Agilent instruments and also an old 8648B sig gen. The new instruments - with a mixture of USB and GPIB interfaces are working fine using the IVIAgilent type libraries. The old sig gen, with GPIB interface. has no library. How should I proceed?
All instruments can be accessed using Agilent Connection Expert and NI MAX. I'm using Windows7.
Why does it matter if the signal generator has a library or not?
In the end, all you are doing is sending commands and queries to the instrument. Hopefully you have a programmer's manual for it.
If not, it may be time to upgrade.
10-08-2014 02:41 AM
Thanks for your reply. My problem is that I don't know what Reference and Imports I need.
10-08-2014 07:28 AM - edited 10-08-2014 07:28 AM
@alanf999 wrote:
Thanks for your reply. My problem is that I don't know what Reference and Imports I need.
There are example programs for .NET that should have installed with NI-VISA and NI-488.2.
If you installed Visual Studio afterwards, you'd need to do a modify of the NI-VISA and NI-488.2 installations through Control Panel.