Amazing job Cybernet...
Anywho, I've compiled it fine on Ubuntu 13.10 under Vbox, but when run I always get an error "Invalid <CURRENT_MODEL> len"
I thought this was a bit odd, as there's only so many ways you can get DG4062 wrong. So I copied and pasted the example command, and I get the same error. So obviously there's something wrong with the setup.
My guess is it's going to be something to do with local terminal options or the like? Can any linux guru's shed light on that one for me?
char *strtoupper(char *str){
int i = 0;
char *p = (char*) malloc((strlen(str) + 1) * sizeof(char)); // EDIT: + 1 important!
for(; str[i]; ++i){
if((str[i] >= 'a') && (str[i] <= 'z'))
p[i] = str[i] + 'A' - 'a';
else
p[i] = str[i];
}
p[i] = '\0';
return p;
}
Looks like the analog bandwidth is 160Mhz. Still worth modding to DG4202 for the 5Mhz Ramp though
At first I have to say 'THANK YOU so much' to RORY
, because he helped me with "CygWin"
and so it was possible for me to compile "cengen.c" in Win XP.
But after this I got the next problem:
I started "cengen.exe" with correct parameters, I got every time an error
message like attachment. Then -for a test- I deleted in "cengem.c" these
6 if-lines [first line begins "if (strlen(cur_model)!=6)..."]
and after that I got the "license.cen" with 751 bytes without errors.
But as the DG4062 has read it, it answered: "invalid license file" :-((
After no sleep last night, now I gave it up very tired. I think, I'm to old (72 Y.)
for those adventures with no knowledge from Linux.
Maybe it's a problem with the firmware?
My DG4062 shows:
Softvers. 00.01.04
FPGA Vers. 00.01.07
Hardw.vers. 01.01
Keyb.vers. 04.01
Is there any chance? Thank you and forgive my terible english.
Rigol-Friend
CYBERNET and the other friends:
Jesus Christ, Cybernet, the cen-file you sent to me worked 100%. Now my generator (DG4062) produces frequencies up to 200 mhz, WOW.
THANK YOU, THANK YOU, THANK YOU THANK YOU, THANK YOU, THANK YOU THANK YOU, THANK YOU, THANK YOU.
For me as radioamateur this is more than interessting.
If you like, I want to invite you for a bottle of Champain, or more :-))
Phantastig,
Rigol-Friend
That's fine Cybernet :-))
I think you are a German. The word 'Radler' only Germans are using. And remember the bottle of beer at your picture, isn't it ??
Anyway, I think you are more than genius, yes I think so !!
Good night,
Rigol-Friend
Looks like the analog bandwidth is 160Mhz. Still worth modding to DG4202 for the 5Mhz Ramp though
TMM, that conclusion assumes the measuring device (scope) is itself perfectly flat to 200 MHz. Thus the falloff is completely due to the generator. That's unlikely to be the case.
Also, Harvs wrote:
> Using a short coax and 50ohm term. <
and an external 50-ohm terminator does not eliminate the internal capacitance on the front end. I'm assuming he's using one of the DS2000-series scopes.
I'm unlucky ... I have a DG4102 with a serial number starting with DG4B1. cybernet's program requires DG4D1..
Guess I have to take the JTAG route.. Anyway, thanks for your work!!
I'm unlucky ... I have a DG4102 with a serial number starting with DG4B1. cybernet's program requires DG4D1..
Guess I have to take the JTAG route.. Anyway, thanks for your work!!
change the strcmp in the code ....
Looks like the analog bandwidth is 160Mhz. Still worth modding to DG4202 for the 5Mhz Ramp though
TMM, that conclusion assumes the measuring device (scope) is itself perfectly flat to 200 MHz. Thus the falloff is completely due to the generator. That's unlikely to be the case.