01-07-2025 10:38 PM
I cannot send any SCPI command to the Rigol DP711, even IDN command will return a timeout error.
What I already tried:
Here's the code I loosely copied from Simple Serial example to test SCPI commands. Open and write didn't return any error, but a timeout error would be returned after read.
Anyone has a DP711 or has experience working with it, could you give me some insight on this issue? Many thanks.
Solved! Go to Solution.
01-08-2025 08:15 AM
For serial communications, I first use Putty or a similar terminal program to verify the communications. You can also use the VISA Test Panel via MAX. This is just a way to get away from your code and prove out the communication settings.
01-13-2025 06:20 AM - edited 01-13-2025 06:22 AM
Thanks for the suggestion. I switched to Putty and while doing a loopback test again, I immediately saw the issue, 2 actually:
1. The port on the DP711, despite being a male connector, actually has female port pin layout. The manual did said use a female-female cable to communicate but apparently I was blind. And thus I used a male-female converter (original cable has a female port) and the issue is resolved. Same goes with the FTDI chip, used a female-female straight through converter (this one has a male port instead) and communication was fine again.
2. It was not Prolific chip's fault
People who bought the DP711 without reading the manual carefully would assume that the male port on the back indicates that they would need a female DB9 to USB cable. This is not true, you must buy a cable with a port type converter in any case.