LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Erro open agilent 34970a

Solved!
Go to solution

The monitor function is actually close (attachment).

When I run it alone with the "animation button' I don't it indicates me OK whereas the front panel on my instrument agilent indicates error.

 You told me "You run the VI on the palette for checking an instrument error".

I don't see which palette you are talking about, can you explain me how to check my instrument ?

 

Thank you

Download All
0 Kudos
Message 11 of 21
(3,064 Views)

The error is 305 :  Not able to perform requested operation
The requested operation is not valid for the specified channel. You may
have tried to a configure a channel for current measurements (valid
only on channels 21 and 22 on the 34901A module). Or you may have
tried to configure scaling on a module that does not connect to the
internal DMM

 

I saw that someone had the same problem in another subject and it's problem have been sold suddenly without he understand why.

You talked about NIMAX , my GPIB is recognized...

0 Kudos
Message 12 of 21
(3,062 Views)
So what sort of card do you have in slot 3? Not all can be used for a monitor operation. After your reset, have you tried configuring the specific channel?
0 Kudos
Message 13 of 21
(3,051 Views)

I use the same card than for thermocouples : "Agilent 34901A 20 channel multiplexer".

I put my card in the slot 2 and it's the same problem.

When you say configuring the specific channel, you mean with the instrument or with LV ?

0 Kudos
Message 14 of 21
(3,046 Views)
Configure it with LabVIEW! As mentioned before, your code is resetting the instrument so any manual configuration is pointless.
0 Kudos
Message 15 of 21
(3,039 Views)

I understand what you say.

How configure my channel ? I can't enter a constant at the pink exit "channel?"

0 Kudos
Message 16 of 21
(3,029 Views)
Solution
Accepted by topic author Teef
Immediately after the Initialize, add the function from the driver palette. I don't have the driver installed and though I used the instrument for several years, I don't remember the exact name of the configure function. Browse the palette with Context Help turned on and you should find it quickly enough. Going through the examples that come with the driver should also give you a clue.
Message 17 of 21
(3,020 Views)
Solution
Accepted by topic author Teef

The Initialize function also resets the mainframe and the cards so after you use this function you need to reconfigure the channels for the type of measurement you want to make. The easy way is to use the Conf EZ.vi from the Configure sub palette. If you need more control you can use the VIs from the Configure -> Advanced palette or better yet write the command directly using the VISA Write.vi (but this require a certain knowledge of SCPI command format and of the equipment commands, usually available from the user or programmer manual).

 

Ben64

 

ScreenShot004.png

Message 18 of 21
(3,013 Views)

oh kudos, you put me on the right way !

With the function conf EZ.vi I don't have the error message, and as you can see in attachment, the monitor indicates the true value : 8,13 .10^-3

 

I don't understand now why the indicator indicates "0,01" but i wil figure out that.

Thanks you !

0 Kudos
Message 19 of 21
(3,004 Views)
Solution
Accepted by topic author Teef
You just need to change the format of the indicator to show more decimal places.
Message 20 of 21
(2,991 Views)