Hello Bilal,
Ugghh!! is right.. 🙂 I was trying to avoid that. Does National Instrument create the VC++ driver (wrapper) or the manufacturer? I checked the Agilent site and they only have C driver too.
I found 68 IVI Specific driver that includes C++ classes for use with Measurement Studio 6.0 Tools for Visual C++.
Unfortunately, the hp81110a was not one of them. Now, when I include the hp81110a C driver in my MFC app, all the functions are global.
A quick work around would be to turn the Legacy C driver into IVI driver using the IVI Instrument Driver Wizard. However, when I tried to "create driver based on a existing driver', it did not generate a .sub file, so I can not run the Attribute Editor to complete the IVI driver.
If this is poss
ible, then I can access the driver through IVI Class Drivers. At least, this way, the Legacy driver is wrapped up as an IVI Class Drivers.
So, can you check why the IVI Instrument Driver Wizard does not generate a .sub file when "create from existing driver" ??
Thank you,
Hy