Products > Test Equipment
Need help hacking DP832 for multicolour option.
tv84:
--- Quote from: smithnerd on June 08, 2019, 04:24:10 am ---host:port is a common convention for many UNIX tools, but not telnet (it is ancient).
--- End quote ---
My bad! |O (addicted to automatic logins...)
Assuming that the IP of your DG is 10.0.0.128, do:
"nmap -p- 10.0.0.128" in the linux prompt
Gandalf_Sr:
OK, so I can telnet to the DP832 from Linux.
nmap -p- 10.0.0.128 gives the following open ports... 80,111,617,618,619,555 all /tcp and the line for 5555 is...
5555/tcp open freeciv
I can "telnet 10.0.0.128 5555" and get a message saying "connected to 10.0.0.128"
I can issue *IDN? and get the expected response but when I issue the command ":PROJ:SET MODEL,DP832A the screen of the DP832 flashes up a box saying "remote command incorrect" and there's no response on the telnet terminal.
Tried 2 different USB drives (still may be the issue) and I tried putting the USB drive(s) in before and after boot up.
Gandalf_Sr:
Trying the DG1022Z I can telnet to it and issue the ":PROJ:STAT MODEL,DG1062Z" command but again, the screen pops up with an "error generated by remote interface command" pop up message
Gandalf_Sr:
OK, all issues solved!
The problem was the USB drive; I tried a 3rd drive, an old Verbatim 2GByte drive - I don't know if this was a cause of my problems but when I formatted the other 2 drives from Windows 10 Explorer, the allocation unit size was set to 4096 and when I formatted the Verbatim, I changed it to "Default Allocation Size" and gave the drive a volume label of "Rigol"; then I copied the single keyfile.bin file to it.
I plugged it in while the equipment was still running and went through all the previous steps in Ubuntu terminal and this time I got no error messages on the PSU or AWG and no response on the telnet terminal after issuing the :PROJ:SET/STAT commands but the *IDN? command revealed that the changes had been successfully applied, in the case of the DP832(A), it needed a reboot before it would respond.
I used the :PROJ:STAT to do the DG1022Z and :PROJ:SET to do the DP832, no space was needed after the comma e.g.
:PROJ:STAT MODEL,DG1062Z works fine
Thanks for all the help guys :D
bd139:
Confirmed another DG1022Z upgraded to DG1062Z
Hardware is definitely ok. Flat response to 60MHz. Couldn't get USB stick to work properly to start with. Used diskpart to create a 2Gb partition at the start of the USB disk and formatted it FAT32 quick, then added keyfile.bin. Telnet did SFA other than throw errors. Assumed it was windows' telnet client being crap so I knocked up a small C# program to send the command:
--- Code: ---using System;
using System.IO;
using System.Net.Sockets;
class Program
{
static void Main(string[] args)
{
using (var client = new TcpClient("192.168.178.31", 5555))
using (var networkStream = client.GetStream())
using (var writer = new StreamWriter(networkStream))
using (var reader = new StreamReader(networkStream))
{
writer.AutoFlush = true;
writer.Write(":PROJ:STAT MODEL,DG1062Z\n");
Console.WriteLine(reader.ReadLine());
}
}
}
--- End code ---
Bingo! Big thanks to the reverse engineers :-+
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version