LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Agilent 34972A Error 261

Solved!
Go to solution

Hallo,

I am usinng Agilent 34972A to acquire temperatue measurement from Thermocouples and PT100. But sometimes I get an error 261.

 

The description of the error 261 in agilent manual

Not able to execute while scan initiated While a scan is running, you cannot change any parameters that affect the scan (channel configuration, scan interval, scaling values, alarm limits, issue a Card Reset, or recall a stored state). To stop a scan in progress, send the ABORt command or a bus Device Clear.

This error message is only shown on the Agilent Display, I dont recieve any error message in my VI. I am novice, I would learn to know more about the problems behind the error and possible solutions

0 Kudos
Message 1 of 22
(3,798 Views)

@harisskriss85_85 wrote:

Hallo,

I am usinng Agilent 34972A to acquire temperatue measurement from Thermocouples and PT100. But sometimes I get an error 261.

 

The description of the error 261 in agilent manual

Not able to execute while scan initiated While a scan is running, you cannot change any parameters that affect the scan (channel configuration, scan interval, scaling values, alarm limits, issue a Card Reset, or recall a stored state). To stop a scan in progress, send the ABORt command or a bus Device Clear.

This error message is only shown on the Agilent Display, I dont recieve any error message in my VI. I am novice, I would learn to know more about the problems behind the error and possible solutions


Are you using drivers or are you programming the device using SCPI commands?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 22
(3,775 Views)

I m using drivers

0 Kudos
Message 3 of 22
(3,746 Views)

Are you trying to initialize the scanner with every loop iteration?  It seems you are trying to do some low-level stuff while a scan is in process.  I'm guessing you are getting away with it sometimes, but every so often you are trying to set the parameters while a scan is taking place.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 22
(3,739 Views)

I initialise before the loop starts. This is a peculiar problem. We use two Agilent devices, the labview VI is same for both, except the ip address in the initialisation file. This problem only occurs with one instrument. Please find the screen shots of my program. 

Download All
0 Kudos
Message 5 of 22
(3,735 Views)

Are you able to swap the two instruments (and if the IP address refers to the instrument, change the file to match)?  If so, does the problem follow the instrument?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 22
(3,733 Views)

Yes. I tried it and the problem follows the instrument

0 Kudos
Message 7 of 22
(3,730 Views)

@harisskriss85_85 wrote:

Yes. I tried it and the problem follows the instrument


So it seems to be an issue with the instrument.  I would check stuff like hardware and firmware revisions. Also, make sure the instruments are set up the same.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 22
(3,720 Views)

From the images you have shown, I have a few concerns.

 

  • Are either the PROG ASSIST or the REPORT ERROR communicating with the Meter?  Both of these have no flow control as to when they must complete their tasks and may try to perform them while other functions are accessing the meter.
  • The same may be true of the GET MEAS ORDER as there is not enough data in the image to tell.
  • If the error stayed with the meter, (I am assuming that you swapped the modules and the GPIB addresses at the same time) then I would try to determine if you have a bad GPIB cable.

Try a simple task.  Read a single channel from one meter then the other to determine functionality without overlap.  If both meters function properly, then I would think that you are dealing with a race condition.  Make sure that you have each branch terminate within the loop and prior to perfoming the functions laid out in the case statement.

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 9 of 22
(3,694 Views)

@Minions wrote:

From the images you have shown, I have a few concerns.

 

  • Are either the PROG ASSIST or the REPORT ERROR communicating with the Meter?  Both of these have no flow control as to when they must complete their tasks and may try to perform them while other functions are accessing the meter.
  • The same may be true of the GET MEAS ORDER as there is not enough data in the image to tell.
  • If the error stayed with the meter, (I am assuming that you swapped the modules and the GPIB addresses at the same time) then I would try to determine if you have a bad GPIB cable.

Try a simple task.  Read a single channel from one meter then the other to determine functionality without overlap.  If both meters function properly, then I would think that you are dealing with a race condition.  Make sure that you have each branch terminate within the loop and prior to perfoming the functions laid out in the case statement.


I believe the OP already swapped devices and determined that the problem followed the device.  Hence my focus on the device.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 10 of 22
(3,690 Views)