High-Speed Digitizers

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1073807302 Unable to start operation because setup is invalid

Using labwindows on external PC to control GPIB card located in PXI chassis.   Agilent DMM and Function Gen on GPIB bus, and several NI relay cards located in PXI chassis.  Setup works fine until function call is made to launch/control agilent vsa software, which resides on same external PC and is controlled using activeX controller. The scope is connected to the external PC via TCPIP LAN.   After making commands to vsa software, when I try to write to the GPIB instruments, i get "Error 1073807302 Unable to start operation because setup is invalid".   GPIB completely crashes, I cant even read/write to devices from visa panel in MAX.  I have to shut down all of the hardware and reboot in order to get control of the GPIB again. 
 
Obviously, the activeX control of the vsa program, which communicates over LAN, is screwing up the GPIB interface.  HELP.
0 Kudos
Message 1 of 4
(8,542 Views)

benannino,

Welcome to the discussion forums.  I have some additional questions for you:

1.  What driver are you using to communicate with GPIB?
2.  Can you recognize the GPIB instruments in MAX (Measurement & Automation Explorer)?
3.  Can you communicate with the GPIB devices in MAX or in LabWindows (outside of your current code)?
4.  What is the primary address of the GPIB card and is it being referenced correctly in your code?

Additional Resources:
Error acquiring data from agilent oscilloscope with labview
Trouble with addresses between a PCI-GPIB board and an HP 8648C signal generator

A_Ryan
AES
National Instruments
0 Kudos
Message 2 of 4
(8,528 Views)

benannino,

Welcome to the discussion forums.  I have some additional questions for you:

1.  What driver are you using to communicate with GPIB?  

using driver that came with NI-PXI GPIB card


2.  Can you recognize the GPIB instruments in MAX (Measurement & Automation Explorer)?

yes.  even tho i cant talk to them, i can get valid adresses using viFindRsrc(*instr) and i can see everything in MAX


3.  Can you communicate with the GPIB devices in MAX or in LabWindows (outside of your current code)?

before using the lan communication, yes.  after using the the LAN, no.  MAX (meaning the 488 tool) cannot access anything on the GPIB  bus after i have used the vsa scope application (LAN).


4.  What is the primary address of the GPIB card and is it being referenced correctly in your code?

Gpib card is at PXI11::14::INSTR, and is named GPIB0

Additional Resources:
Error acquiring data from agilent oscilloscope with labview
Trouble with addresses between a PCI-GPIB board and an HP 8648C signal generator


 

A_Ryan
Applications Engineering
0 Kudos
Message 3 of 4
(8,523 Views)
benannino,
 
I have a few more additional questions related to this matter:
 
1.  Can you further explain how you system is configured?
-  Are you using an embedded controller or a MXI card to communicate with the PXI chassis?
-  Where are the cards located in the system and how are each connected back to either the PC, PXI chassis, or instrument?
 
2.  Did you configure the VISA TCP/IP Resource in MAX?
- after configuring this resource, can you use the VISA test panels on the device?
 
If you have not configured the VISA TCP/IP Resource, this could be a reason why you are able to communicate via GPIB and not TCP/IP.
A_Ryan
AES
National Instruments
0 Kudos
Message 4 of 4
(8,510 Views)