Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

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

$
0
0

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

Viewing all articles
Browse latest Browse all 5565

Trending Articles