LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with LabView - GPIB - tektronix tds oscilloscopes

Hi,

I try to communicate over GPIB with a tektronix tds 620 oscilloscope using
LabView 5.1. When I run the "TKTDS 6XX Application Function.vi" I get the
following Error message:

>Error -1073807346 occurred at VISA Write in
>TKTDS Setups.vi->TKTDS 6XX Application
>Function.vi.

>Possible reasons:

>VISA: (Hex 0xBFFF000E) The given session or object
>reference is invalid.

I have installed NI-488.2 and according to the Getting started Wizard
everything works fine with the communication with my scope

I have also installed the latest Visa

Does anybody have an idea what's wrong based on my vague description?

best regards,

/Björn Hansson
0 Kudos
Message 1 of 4
(3,582 Views)
You should run the Getting Started.vi. The error you are seeing is because
there is no VISA Session being opened. To use the application.vi, you can
either use the Getting Started.vi or call the Initialize.vi before Application.vi
and Close.vi after Application.vi.

Hope that helps,
Kamran

"Björn Hansson" wrote:
>Hi,>>I try to communicate over GPIB with a tektronix tds 620 oscilloscope
using>LabView 5.1. When I run the "TKTDS 6XX Application Function.vi" I get
the>following Error message:>>>Error -1073807346 occurred at VISA Write in>>TKTDS
Setups.vi->TKTDS 6XX Application>>Function.vi.>>>Possible reasons:>>>VISA:
(Hex 0xBFFF000E) The given session or object>>reference is invalid.>>I have
installed NI-488.2 and according to the Getting started
Wizard>everything
works fine with the communication with my scope>>I have also installed the
latest Visa>>Does anybody have an idea what's wrong based on my vague description?>>best
regards,>> /Björn Hansson>>>>
0 Kudos
Message 2 of 4
(3,582 Views)
The VI you are running is the guts of the other Example VI. If you look at
the TKTDS 6XX Getting Started.vi, it is the same vi, but is wired into the
Initialize.vi and Close.vi's. They create and terminate the Visa session
reference for you.

- Michael
--
Michael Munroe Mailto:mmunroe@abcdefirm.com
A Better Complete Development Engineering Firm
San Mateo, CA 94403 http://www.abcdefirm.com
Get Clarity at http://www.symmcorp.com/mmunroe

"Björn Hansson" wrote:

> Hi,
>
> I try to communicate over GPIB with a tektronix tds 620 oscilloscope using
> LabView 5.1. When I run the "TKTDS 6XX Application Function.vi" I get the
> following Error message:
>
> >Error -1073807346 occurred at VISA Write in
> >TKTDS Setups.vi->TKTDS 6XX Application
> >Function.vi.
>
> >Po
ssible reasons:
>
> >VISA: (Hex 0xBFFF000E) The given session or object
> >reference is invalid.
>
> I have installed NI-488.2 and according to the Getting started Wizard
> everything works fine with the communication with my scope
>
> I have also installed the latest Visa
>
> Does anybody have an idea what's wrong based on my vague description?
>
> best regards,
>
> /Björn Hansson
Michael Munroe, CLD, CTD, MCP
Automate 1M+ VI Search, Sort and Edit operations with Property Inspector 5.1, now with a new Interactive Window Manager!
Now supports full project automation using one-click custom macros or CLI.
0 Kudos
Message 3 of 4
(3,582 Views)
I have seen this type of error in the past when the VISA session is invalid. Make sure you are passing a valid VISA session to the VISA Write vi. This is created with the VISA Open vi to which you must pass an instrument descriptor like GPIB::xx::INSTR where xx is the instrument address.
Message 4 of 4
(3,582 Views)