Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

N8754A- Power supply does not output the configured value at the first measurement

Solved!
Go to solution

Hi There,

 
I am new dealing with instruments. I am using Power Supply N8754a. I downloaded the instrument driver from the below webpage.
 
 
It has two examples. I just modified both the examples by removing the while loop and making it to run once. (I made this change since I don't want any human intervention to stop the while loop.) They work fine when I set reset as false. But on reset (default in those examples), say, if I want to set to 5V, the power supply output is set as 0.01V (most of the times), or some value between 0 to 4 (sometimes), and rarely 5V. But when I read the power supply output for the second time, it is set as 5V. (By second time, i mean placing the measure API twice). I tried giving delay also. But it is not the case. It seems like the value is gradually increasing to reach 5V. But how much ever i increase the value, i am getting the required value at the second measurement. Not sure whether this is the default behaviour or I am missing out something.
1. Initialize>>Configure>> Enable Output>> Measure  ->Works
2. Initialize>>Reset>>Configure>> Enable Output>> Measure -> Doesnot work
3. Initialize>>Reset>>Configure>> Enable Output>> Measure>> Measure ->Works
 
Any help is appreciated!
 
Thanks,
Madhumithra
0 Kudos
Message 1 of 7
(5,502 Views)
How long are you waiting after resetting the instrument?
0 Kudos
Message 2 of 7
(5,491 Views)
I tried waiting for a maximum of 2 minutes after reset.
0 Kudos
Message 3 of 7
(5,486 Views)

@madhu27 wrote:

Hi There,

 
I am new dealing with instruments. I am using Power Supply N8754a. I downloaded the instrument driver from the below webpage.
 
 
It has two examples. I just modified both the examples by removing the while loop and making it to run once. (I made this change since I don't want any human intervention to stop the while loop.) They work fine when I set reset as false. But on reset (default in those examples), say, if I want to set to 5V, the power supply output is set as 0.01V (most of the times), or some value between 0 to 4 (sometimes), and rarely 5V. But when I read the power supply output for the second time, it is set as 5V. (By second time, i mean placing the measure API twice). I tried giving delay also. But it is not the case. It seems like the value is gradually increasing to reach 5V. But how much ever i increase the value, i am getting the required value at the second measurement. Not sure whether this is the default behaviour or I am missing out something.
1. Initialize>>Configure>> Enable Output>> Measure  ->Works
2. Initialize>>Reset>>Configure>> Enable Output>> Measure -> Doesnot work
3. Initialize>>Reset>>Configure>> Enable Output>> Measure>> Measure ->Works
 
Any help is appreciated!
 
Thanks,
Madhumithra

What does the programmer's manual for the instrument say?

0 Kudos
Message 4 of 7
(5,477 Views)

I didnot find anything mentioned specifically related to this. Since the example program from NI had the while loop, i doubt whether this shall be the default behaviour.

0 Kudos
Message 5 of 7
(5,468 Views)
Solution
Accepted by topic author madhu27

Hi all,

 

Initially, I had tried giving the delay after reset, which didnot work. Now, i am able to get it work by giving the delay of 1.5s after enabling the output. 

 

Thanks for all your reply!

Madhumithra

0 Kudos
Message 6 of 7
(5,459 Views)

@madhu27 wrote:

Hi all,

 

Initially, I had tried giving the delay after reset, which didnot work. Now, i am able to get it work by giving the delay of 1.5s after enabling the output. 

 

Thanks for all your reply!

Madhumithra


That makes sense.  It takes time for power supplies (especially high current power supplies) to charge up their capacitor bank and get up to the set voltage.  I have seen some take as long as 3 seconds to settle.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 7 of 7
(5,451 Views)