09-12-2012 11:53 AM
Hello,
I have written many VB6 applications to control instrumentation. I just got Measurement Studio 2012 to run on Visual Studio 2010. I would love to use the available interment drivers available from NI. I have no problem importing the driver into the code but every time I try and call it I get an error of
‘is not declared’
For example using the HP 33120A from http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E96B8659CE034080020E748...
So what am I missing?
What would be very helpful is a Visual Studio 2010 (VB.NET) software example using Measurement Studio 2012 and any interment driver.
Thank You for the help
09-13-2012 02:18 PM - edited 09-13-2012 02:19 PM
Hello PMEL_TMDE,
Looks like you may not be using your functions in quite the right way. Please see the white paper here: http://www.ni.com/white-paper/4562/en#toc2 and use the example under the "Calling an instrument driver wrapper class" heading. Please let me know if that helps!
Regards,