Products > Test Equipment
Need help hacking DP832 for multicolour option.
ted572:
Thank you Gandalf and Tom for your comments. Yes I believe that the USB SCPI commands aren't going change this to a DM3068. I never had high expectations for it, but I wanted to give it a shot. The DM3058 firmware wold need to modified to do the job of getting 6 1/2 digit display, and that is beyond my capability.
Side note: I send the Rigol SCPI commands via USB using 'Messinstrumente' (Measuring instruments - program for data transfer and control) which is very easy and always works for me. You enter the SCPI command in the command window and then press Send/Receive. The command goes out and a second later you see the results as received data. A good test to see that all is working OK is to send *IDN?, and you should see a reply (Receive Data) with your Model Number and S/N. Other commands may reply with something like 'Command Executed OK'. If the command is invalid the program will simply time out 'without a reply', or 'Invalid Command', etc. in 3 - 6 seconds.
I just wondered why I didn't read about anyone else using this for the DP832 to DP832A Mod? There is a USB type B connector on the back of the unit for this, in addition to the USB type A connector for the USB drive. It seemed to me that everyone was using LAN or RS232 when the USB is so easy.
Rigol Ultra Sigma would also work for sending USB SCPI commands, but at the expense of adding about 500 GB to your computer, and not being able to uninstall it ALL without manually searching for left over Files and Registry entries. Even using the more complete Uninstallers such as 'Revo Uninstaller', they won't catch everything, as there will still be well over ten items that won't be automatically cleaned out.
PS: 'Messinstrumente' is a portable program that doesn't get installed on your computer. You can simply run it from a USB drive, the Desk Top, etc.
Edit: By request, here is a English link to 'Messinstrumente' (Measuring instruments - program for data transfer and control) -> https://translate.google.com/translate?hl=en&sl=de&u=http://peter.dreisiebner.at/messinstrumente/index.htm
das_strobel:
--- Quote from: starec on July 10, 2019, 11:09:14 am ---Ok, 1-2 weeks ago i've modified riglol 1.03d for DG1000Z generation/calculation
here is a full source code:
...
--- End quote ---
I tried to make use of this code. I downloaded the sources from http://gotroot.ca/rigol/riglol/ and replaced the original riglol.c with your code. It didn't compile first, because all the #includes where missing. I added them and it compiled. But still no cigar. The compiled executable runs in general (putting out the help text etc.) but if I try to generate the 16MB option key it just hangs without any message. I can kill the program with Ctrl-C, though.
I did all that using Ubuntu 18.04 running in the native Linux environment on Win10.
Any idea?
firstcolle:
i tried to compile with c compiler but it give me some errors..
wich compiler should i use?
--- Quote from: tv84 on July 10, 2019, 08:45:44 pm ---
--- Quote from: firstcolle on July 10, 2019, 07:30:20 pm ---i only miss the 16M option, i can't find the procedure in the thread.
--- End quote ---
The procedure is in the previous msg (to yours)!
--- End quote ---
tv84:
--- Quote from: firstcolle on July 11, 2019, 02:24:23 pm ---i tried to compile with c compiler but it give me some errors..
wich compiler should i use?
--- End quote ---
That's a tricky question because the riglol / rigup source codes have some bugs (in terms buffer overruns, unallocated pointers, 32 bits vs 64 bits compilation, etc...). Most guys that are able to compile them do some corrections in order to accomplish it.
If all was good, any compiler should work.
For riglol try compilation in 32 bits or 64 bits, to start.
mike47203:
Starec;
Thanks so much for the code you posted for the modified riglol. I was able to make that work. I did find that one line was missing that caused the program to hang. In the ecssign function at line 41 in your post "instr(a, curve_a)" is missing. Once I added that, it work perfectly. Much appreciated.
It seems that may be the problem other people were having. If you diff the posted code against the original riglol.c it is apparent what needs to be changed. I had no trouble compiling and running in Linux. Can't say if it works for any other platform.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version