Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing Agilent IVI-COM driver for U8903 Audioanalyzer to Labwindows/CVI

Solved!
Go to solution

When I try to use the Active X controller wizard  of CVI 2009  to create a C-Wrapper for Agilents U8903x IVI-COM drivers, I get over 100 "method name too long" errors. Is there a workaround other than editing every single method name, which is to long ?

0 Kudos
Message 1 of 4
(3,907 Views)
Solution
Accepted by markus kossmann

Hey Markus -

 

I just tried creating a controller for this driver and was able to without problem.  The driver I installed was downloaded from here.  My only guess is that somehow your default FP File Format for new files has been set to "CVI 5.0.1 and earlier".  You can check this by opening an FP in CVI, and then going to Option»FP File Format menu.  Ensure 5.5 or 8.5 and later are selected.

 

FileFormat.png

 

NickB

National Instruments

Message 2 of 4
(3,874 Views)

Yes,indeed the CVI 5 compatibility Option was choosen.

0 Kudos
Message 3 of 4
(3,851 Views)

I'm glad that fixed things for you. 

 

After re-reading my post, I realized I didn't make it clear what the difference was.  For the benefit of those reading this post later, I'd like to point out this help topic that explains the differences between these fp versions.  Of particular interest to this issue was the "Maximum Function Name Length".

 

NickB

National Instruments

Message 4 of 4
(3,837 Views)