Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using 2 instruments with GPIB

Solved!
Go to solution

Hello everybody,

 

I'm working in a program with LabView 2015 that control 2 instruments, the Rohde & Schwarz Smiq02b signal generator, and the Agilent EXA n9010a spectrum analyzer. I'm using the Agilent-82357B USB/GPIB cable to connect my laptop with these two instruments (PC -> EXA -> SMIQ). I've also installed both instruments drivers from their official websites.

 

The program worked properly until I had to format my computer and install LabView again but something is wrong now.


The problem comes when I run the program, the SMIQ02b can't initialize, the program stops and opens a new block diagram window. This block diagram belongs to a block of the instrument driver, inside this block diagram there is a VISA Write block blinking.

db.png

This only happens when I'm initializing two instruments in the same program, if I create a new VI and use the SMIQ only, I have no problems.

 

I don't know what's going on, It's very strange that it worked well before and now this happens.

 

This is what I've installed in my laptop:

- LabView 2015
- NI Device Drivers (Included NI-VISA 14.0 and NI-488.2 14.0)

- Agilent IO Libraries Suite 17.1 (Configured as secondary VISA)

- NI-VISA Passport for tulip ON

 

I'll be very thankful if somebody could help me with this.

 

Thanks!

 

 

0 Kudos
Message 1 of 10
(5,621 Views)
Solution
Accepted by topic author ts808
You set a breakpoint so that is what is causing the pause.
Message 2 of 10
(5,615 Views)

No, that's not the problem. It's put automatically

This is not my program, it belongs to the instrument driver initialize block

 

Thanks!!

0 Kudos
Message 3 of 10
(5,611 Views)
And you don't think you should remove the breakpoint?
0 Kudos
Message 4 of 10
(5,607 Views)

Dude,

 

just erase the breakpoint (red thing on the VISA session wire 🙂

 

BR

Milo

0 Kudos
Message 5 of 10
(5,602 Views)

Yes I did, nothing changes. I thought the same as you when I saw it

 

 

0 Kudos
Message 6 of 10
(5,599 Views)

The breakpoint is in the driver by mistake. If you erase it, the driver should work normally. What kind of error do you get in the error cluster?

0 Kudos
Message 7 of 10
(5,591 Views)

No error appears in the cluster. I'm not sure if the breakpoint is a driver mistake, when I use only the SMIQ as instrument I have no problems with that

 

Thnx

0 Kudos
Message 8 of 10
(5,586 Views)
Solution
Accepted by topic author ts808

The breakpoint is a mistake. Erase it.

If the error cluster shows no error, what is the actual problem? Is the communication with your SMIQ not working? Can you make the IO trace log of the problem, or post a small VI with your code here?

 

Milo

Message 9 of 10
(5,546 Views)

You were right, It was a driver mistake, everything is ok now. It didn´t work before because every stop generated a new VISA session

 

Thanks to everybody!

0 Kudos
Message 10 of 10
(5,537 Views)