Products > Test Equipment
Hantek HDG2002B AWG: 5Mhz or 100MHz? Let's see!
markone:
--- Quote from: fremen67 on March 16, 2015, 12:27:57 pm ---
--- Quote from: rosasharn on March 16, 2015, 08:57:00 am ---Is the update calibration tool available now?
--- End quote ---
I should receive my DMM this week so I suppose this could be done at the end of the week ... if it works well :)
--- End quote ---
Hi fremen,
i tried your excel script, of course is working :-)
I only had to change my windows default decimal separator to make it to work.
But i have some weird results on channel two (not so small amplitude & offset error after cal) and i want to try a calibration with a straight coax cable.
How can i change the scope probe ratio from 10:1 to 1:1 in your code ?
Thanks,
Marco.
fremen67:
--- Quote from: markone on March 16, 2015, 01:07:19 pm ---I only had to change my windows default decimal separator to make it to work.
--- End quote ---
Yes that's often what we have to do when using Excel in our poor european countries. Welcome to the club ;) . Excel, CSV files and default decimal separator ... a never ending story |O
--- Quote from: markone on March 16, 2015, 01:07:19 pm ---How can i change the scope probe ratio from 10:1 to 1:1 in your code ?
--- End quote ---
In fact I don't change it and use the DSO default configuration for that. You have 2 options:
1 - either change the probe ratio of the channel you use and save it as default on your scope
2 - or add the "PROBe" line in the InitDSO function:
--- Code: ---Private Function InitDSO(ByVal DSOChannel As Integer) As Boolean
' Perform DSO initialization steps
.......
' Set Channel parameters
DSO.WriteString (sDotCHANnelx & ":DISPlay ON")
DSO.WriteString (sDotCHANnelx & ":COUPling DC")
DSO.WriteString (sDotCHANnelx & ":BWLimit OFF")
DSO.WriteString (sDotCHANnelx & ":PROBe 1")
.....
--- End code ---
I can't test it as I am not at home but this might work ... hopefully
markone:
--- Quote from: fremen67 on March 16, 2015, 04:06:05 pm ----snip
In fact I don't change it and use the DSO default configuration for that. You have 2 options:
1 - either change the probe ratio of the channel you use and save it as default on your scope
2 - or add the "PROBe" line in the InitDSO function:
--- Code: ---Private Function InitDSO(ByVal DSOChannel As Integer) As Boolean
' Perform DSO initialization steps
.......
' Set Channel parameters
DSO.WriteString (sDotCHANnelx & ":DISPlay ON")
DSO.WriteString (sDotCHANnelx & ":COUPling DC")
DSO.WriteString (sDotCHANnelx & ":BWLimit OFF")
DSO.WriteString (sDotCHANnelx & ":PROBe 1")
.....
--- End code ---
I can't test it as I am not at home but this might work ... hopefully
--- End quote ---
Just added "DSO.WriteString (sDotCHANnelx & ":PROBe 1")" code line as you instructed and it works :-)
I'm not a .net programmer so i had to search the web for instructions about embedded VBA function editing.
The following link explain it quite well : ttps://support.office.com/en-za/article/Edit-a-macro-ed9e8c3d-58fd-47a1-83eb-bdee680376bb#bm1
With the straight coax RG58 cable i have more consistent calibration results against Rigol probe reading .... but i wonder why ...
fremen67:
--- Quote from: markone on March 16, 2015, 08:52:58 pm ---Just added "DSO.WriteString (sDotCHANnelx & ":PROBe 1")" code line as you instructed and it works :-)
I'm not a .net programmer so i had to search the web for instructions about embedded VBA function editing.
--- End quote ---
Glad that it worked. Maybe a good time to start? ;)
--- Quote from: markone on March 16, 2015, 08:52:58 pm ---With the straight coax RG58 cable i have more consistent calibration results against Rigol probe reading .... but i wonder why ...
--- End quote ---
Strange ... How did you connect the probes on the HDG? In fact I don't use the RIGOL probes that came with my DSO. I stick to the Metrix HA1316 probes I had and that I like a lot: 2 settings points (1khz+1Mhz) plus convenient accessories (BNC plug adapter, ...).
At least did it solve the HDG selftest problem?
markone:
--- Quote from: fremen67 on March 16, 2015, 09:37:00 pm ---Glad that it worked. Maybe a good time to start? ;)
--- End quote ---
I'm a cold war boy used to code in plain C language on embedded systems, with good memories for Z80 & 80C31 & AD2101DSP assembler works till the middle of 90s :-)
But i love NI Labview on PC side ;-)
--- Quote from: markone on March 16, 2015, 08:52:58 pm ---With the straight coax RG58 cable i have more consistent calibration results against Rigol probe reading .... but i wonder why ...
--- End quote ---
--- Quote from: fremen67 ---Strange ... How did you connect the probes on the HDG? In fact I don't use the RIGOL probes that came with my DSO. I stick to the Metrix HA1316 probes I had and that I like a lot: 2 settings points (1khz+1Mhz) plus convenient accessories (BNC plug adapter, ...).
At least did it solve the HDG selftest problem?
--- End quote ---
HDG selftest errors disappeared already from the first manual calibration.
Calibrating with the Rigol probe leads to high DC offset and HF amplitude attenuation (the probe reads higher HF amplitude than straight cable), i will try a different scope probe later.
Anyway i just noticed a DS1074 problem :
with one channel in use fine trimming the vertical sensitivity to 335mV/div or less (channel set to 1X), signals over about 30Mhz becomes significantly distorted at least on the screen.
I saw that during script calibration and i checked it manually after, discovering also that if you enable other channels the distortion disappear :wtf:
See the attached screenshots, 2Vpp sine 90Mhz signal, 340mV/div (signal good), 335mV/div (signal distorted one channel in use), 335mV/div (signal good two channel in use), all with coax cable and 1X probe ratio.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version