LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using IVI driver for Keithley 6485

I am trying to learn how to use IVI drivers.  I installed IVI drivers for two instruments, an HP34401A and a Keithley 6485.  I was able to get the HP to work in simulation mode (I don't have the hardware).  I am also trying to get the 6485 working in simulation mode.  The attached vi was provided by Keithley.  I configured a logical name in MAX, but this name doesn't show up as an option when I edit the "logical name" control on the front panel.  I changed the Initialize vi to Initialize with Options and added a command string control to set the mode to simulation, manually entered the correct name in the control, and ran the program.  No error was indicated in the Initialize vi.  After the configuration vi runs, however, the following error was flagged:

 

Error -1074135023 occurred at IviDmm IVI Error Converter.vi

Possible reason(s):

Primary Error: (Hex 0xBFFA0011) Function or method not supported.
Elaboration: FunctionId: 46,  FunctionName: ConfigureMeasurement


Complete call chain:
     IviDmm IVI Error Converter.vi
     IviDmm Configure Measurement.vi
     KE6485_ZeroChk_LV86.vi

 

This error is being generated by IviDmm Configure Measurement.vi, which is apparently installed NI code.  Specifically, the error appears to be thrown when Call Library Function Node is invoked and IviDmm.dll is called.  I wasn't able to track down any further info as to the meaning of these error codes.

 

Thanks for your assistance.

0 Kudos
Message 1 of 7
(4,741 Views)

Hello,

 

Have you looked through the following article?

 

Why Do I Get Error "0xBFFA0011: Function or method not supported" when using IVI drivers?

http://digital.ni.com/public.nsf/allkb/E72950DD7841E6C18625754500027246

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 2 of 7
(4,694 Views)

Thanks for the info.  The module name in the IVI driver session (KESCPI_32.dll) was not found on my machine.  I'll contact Keithley about this.  Any idea why the configured logical name doesn't appear as an option in the LabVIEW logical name control?  If I change the control to an IVI Logicall Name control, the name appears as an option, but if I wire this to the Initialize with Options vi, I get a wiring error.

0 Kudos
Message 3 of 7
(4,679 Views)

Hello,

 

3rd party devices will show in MAX only when that device is listed at a specific place within your computer's registry. Non-NI hardware may not show up in MAX.

 

As far as the logical name is concened, unfortunately, you will have to contact Keithley to get a better understanding of their code.

 

You could download our IVI driver from the link below as you might have better luck with it.  You can find any of our 3rd party drivers at www.ni.com/idnet.

 

Keithley 6485

http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=238

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 4 of 7
(4,667 Views)

With some help from Keithley, I was able to get the IVI driver working correctly.  BTW, the NI link points to the Keithley download site (it's the same driver I am using).

 

One question did come up in debugging this problem.  The sample program calls Error Cluster From Error Code.vi, which is located in the Utility library.  When debugging, I tried at one point to add a breakpoint to that vi, but I was not allowed to, i.e., the breakpoint did not appear on the diagram.  I'm assuming that this is normal behavior for this VI.  For future reference, is it possible to enable breakpoints on this vi (or other, similar VIs)?  How is that done?

0 Kudos
Message 5 of 7
(4,655 Views)

Hello,

 

The Error Cluster from Error Code.vi is used to report any errors that have occurred within your code during execution.  I expect this is regular behavior as adding a breakpoint to your error reporting tool would not help with trouble shooting.

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 6 of 7
(4,638 Views)

Hi Double_D,

 

how did you get KE6485 as an option under "Driver sessions" of IVI drivers in MAX?

 

I also installed the 3rd party IVI drivers for KE6485 in my PC but it is not showing up under driver sessions in MAX.

0 Kudos
Message 7 of 7
(4,288 Views)