12-09-2015 09:31 AM
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.
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!
Solved! Go to Solution.
12-09-2015 10:11 AM
12-09-2015 10:16 AM - edited 12-09-2015 10:18 AM
No, that's not the problem. It's put automatically
This is not my program, it belongs to the instrument driver initialize block
Thanks!!
12-09-2015 10:20 AM
12-09-2015 10:21 AM
Dude,
just erase the breakpoint (red thing on the VISA session wire 🙂
BR
Milo
12-09-2015 10:23 AM
Yes I did, nothing changes. I thought the same as you when I saw it
12-09-2015 10:29 AM
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?
12-09-2015 10:35 AM - edited 12-09-2015 10:35 AM
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
12-10-2015 12:55 AM
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
12-10-2015 05:02 AM
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!