Products > Test Equipment
Rigol DP832 - Firmware list and bugs
<< < (125/153) > >>
skander36:
Update.
Fetch work with : and without in the same way .
I also try to reduce NPLC to 10 or 1 but DMM doesn't  show measurement anymore . Only 100 show a value on DMM display .
Sometime in putty "fetch?" command return hundreds of values ...
I don't know how this work :return dmm.read().replaceAll("\\+","") , - first value is negative on PSU (now -235091 mV) .I replaced plus sign with minus but no success .
Doesn't seem to be a quick and easy fix .
I use Visual code and PyCharm to edit code . I also try to use others python script from this thread but cannot make them work (older python version). I succed to connect to other SCPI stuff with python but open source with each other version of something is making me confused.
I don't know Java so you are my only hope ...
skander36:
All results inreaDMM are ok as show in pic attached .
I dont know line 355 what do further .

No success with this :

    dmm.send("*cls");
    dmm.send("conf:volt:dc auto");
    dmm.send("samp:coun 1");
    dmm.send("trig:coun 1");
    dmm.send("trig:del 0");
    dmm.send("trig:sour imm");
Gandalf_Sr:
I will have time to look at this over the next week, how do I find out what port number my 34461A is running on?
garrettm:

--- Quote ---I don't know how this work :return dmm.read().replaceAll("\\+","")
--- End quote ---

dmm.read().replaceAll("\\+","") simply reads the DMM's output buffer and removes + signs from the string. I did this since my DMM4050 places a + sign in front of all positive measurements. Rigol specifically states that + signs are not needed, and to be safe I remove them. For example +0.999999900E+00 becomes 0.999999900E00.


--- Quote ---first value is negative on PSU (now -235091 mV)
--- End quote ---

A negative value for the first measurement isn't a problem. Look at the included "Example Output of Cal Routine.txt". On line 66 we have

step 0, cal point: 0.2v, meas val: -5.57821200E-02

which is a negative value. This output file is of the calibration of my DP832A. I added it so people can compare it with values that they see and can understand how the script will work before they use it.


--- Quote ---All results inreaDMM are ok as show in pic attached .
--- End quote ---

Almost there. You need to send those same commands MULTIPLE times and upload the Putty output so we can rule out readDMM() as the issue.

What I would like to see uploaded is a picture of the Putty output for

// first set DMM to measure dc current, we want to see if the DMM will change from dc current to dc voltage measurement

*cls
conf:volt:dc auto
samp:coun 1
trig:coun 1
trig:del 0
trig:sour imm
:init
:fetch?
:init
:fetch?
:init
:fetch?

if that works as expected, then we need to:

1) manually Telnet into the DP832 and clear the cal constants using

:calibration:start 11111,ch1
:calibration:clear ch1,all.

2) Close Putty to terminate the Telnet connection and then run the script with option 3 voltage calibration for ch1 and option 0 for both ch2 and ch3.

The :calibration:clear ch1,all command will fix any bugs that are present and allow the voltage calibration to work correctly. Then upload the output of the script. If you can manually send commands, then the script can do the same. But if they don't work, then it can't either.
skander36:

--- Quote from: garrettm on March 14, 2020, 11:24:14 am ---
What I would like to see uploaded is a picture of the Putty output for

// first set DMM to measure dc current, we want to see if the DMM will change from dc current to dc voltage measurement

*cls
conf:volt:dc auto
samp:coun 1
trig:coun 1
trig:del 0
trig:sour imm
:init
:fetch?
:init
:fetch?
:init
:fetch?



--- End quote ---

All that commands work ok from putty . I already check this to see that readdmm method work .
Will try to manually erase cal data.
Wtih these method (manually enter data in scpi console), calibration can be done (i was doing one time) but I need to make it automatically , it takes eons ..
Navigation
Message Index
Next page
Previous page
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod