Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabView und IVI Treiber

Hallo

Ich habe ein Problem mit dem LabVIEW 6 und IVI- Treibern. Ich habe ein Mess- und Speisegerat von HP. Diese steuere ich mit Hilfe von LabVIEW an. Mit dem Gpib Example kann ich mit den Geraten kommunizieren, nicht aber mit den IVI- Treibern zu diesen Geraten, an was konnte das liegen? Installiert habe ich NI-VISA 2.6.0 Runtime engine und NI IVI Engine 1.83. Betriebssystem ist WinNT.

Beim starten des GetStarted VI's kommt folgende Fehlermeldung:

Fehler -1073807195 trat auf bei hp3458a Initialize With Options.vi.

Mogliche Grunde:

Driver Status: (Hex 0xBFFF00A5) The interface type is valid but the
specified interface number is not configured.

Primary Error: (Hex 0xBFFF000E) The given session or object reference is invalid
.

Konnten sie mir da bitte helfen?

Manuel Aeschbacher
Lehrwerkstatten Bern
Lorrainestrasse 3
3013 Bern
Tel.:031 337 37 64
Fax.:031 337 37 79
0 Kudos
Message 1 of 2
(3,348 Views)
Ther could be 2 reasons for this error,

1. That error is a VISA error which usually means you are incorrectly addressing the VISA resource. If you open up the VISA Interactive control (NIvisaic.exe) in the VXIpnp directory of the machine that is directly communicating with your HP instrument, you should be able to see how to correctly address the instrument with VISA and test the communication a little. Make sure you are not opening multiple references to the same device by using the older VISA Open inside a loop.

2. I found knowledge base (KB) entries that talks about your question. If you go to ni.com >> Support >> search (option 3) select Knowledge base from the dropdown list >> and type the following "old visa open" in the search box, you will get them.

AE KB 21DCA12L : How Do I Use the LabVIEW 5.x "VISA Open" Function in LabVIEW 6.0?
AE KB 2CLJ1G8V : VISA Open and Close no longer necessary in LabVIEW 6i.
0 Kudos
Message 2 of 2
(3,348 Views)