07-30-2014 04:04 AM
Hi,
I have a problem with a system I am using.
I am connecting to 3 Keithley 2410 power supplies in labview using the Agilent 82357B USB/GPIB Interface.
The labview program works... but if I check the GPIB connection in NI MAX or in Agilent connections expert before/ during using labview then Labview can no longer connect to the power supplies. It can originally connect to the first two and then the third connection fails following by them all failing.
Any help would be much appreciated,
Thanks
E
07-30-2014 06:24 AM
Sounds like you just forced access to the GPIB resource from your LabVIEW program and then you couldn't get the access back. In general, it is a really bad idea to have multiple programs access the same bus.
07-30-2014 07:27 AM
@eugeniap wrote:
Hi,
I have a problem with a system I am using.
I am connecting to 3 Keithley 2410 power supplies in labview using the Agilent 82357B USB/GPIB Interface.
The labview program works... but if I check the GPIB connection in NI MAX or in Agilent connections expert before/ during using labview then Labview can no longer connect to the power supplies. It can originally connect to the first two and then the third connection fails following by them all failing.
Any help would be much appreciated,
Thanks
E
I hope you have Agilent VISA and NI-VISA configured to work with each properly.
And, yes, not a good idea to have two or more programs simultaneously trying to access instruments.
07-30-2014 10:14 AM
hi
As far as i know i have everything installed correctly, the power supplies are recognised and are usable in all of the applications.
Why would it be an issue to check the connection ni NI MAX, close this program and then run labview? As far as I'm aware you can use NI MAX to check connections etc anyway..
thanks,
E
07-30-2014 10:29 AM
07-31-2014 02:24 AM
It's a bit strange in the way that it will communicate with the first two and then the third gets an error with the first vi that calls it, followed by all of them not communicating (I know people have experienced this before that if one of the instruments connected to the agilent GPIB->USB has an error they all stop being able to communicate.)
This only seems to happen if I open NI MAX before though if I don't open it at all then they all connect fine.
Thanks,
E