Page 1 of 1

PowerSdr output buffer

Posted: Mon May 19, 2025 5:15 am
by i2gda
I am testing an application that communicates with the PowerSdr v2.8.0.311 Demo through a virtual serial port. A strange thing happens. Every time I send PowerSdr a CAT command that expects a response, such as ZZDU;, I do not receive only the response to that command, but a string with all the commands sent previously. It seems that the PowerSdr output buffer is never cleared. Is there a way to solve this problem and have a clean response to each send?

Re: PowerSdr output buffer

Posted: Tue May 20, 2025 12:13 pm
by i2gda
I can't test this problem in the live version yet, so I don't know if the problem only occurs in the Demo version.

Re: PowerSdr output buffer

Posted: Wed May 21, 2025 3:03 pm
by ke9ns
When I type ZZDU; i get the following response:

ZZDU0:0:0:0:0:0:0:0:0:1:3:0:0:03:04:00:00:00:000:000:050:017:051:022:010:0000:260:+0000:00000:+0000:002.30:00018083000:00007000000;

I am using Terminal.exe to communicate with PowerSDR

This appears to match the output I am supposed to get according to the CAT manual (Right click on the "PDF-Manual" menu item)
and I did this in DEMO mode.

Re: PowerSdr output buffer  Topic is solved

Posted: Thu May 22, 2025 3:53 am
by i2gda
Hi Darrin
I found the reason for the issue. The application I am using sends the command to PowerSDR with this code: SerialPort1.WriteLine("ZZDU;"). The Line Feed command causes the issue. Replacing the command with: SerialPort1.Write("ZZDU;") the issue is solved.
Thanks
Gino