Hi Group.
I also had not realised the Logger window had to be open.
With the logger window open I can reduce the speed down to 0 and it works for a single scan.? With the logger window closed it hangs.? If I choose run with the logger window open then it manages a few sweeps then hangs.
The data is sent from the Arduino at the same speed regardless of whether or not the logger window is open, so it must be a problem at the PC end.? The arduino is sending the data very much faster than the display update in the Tiny-SA application.? A 300 point sweep takes < 1 second to send the data.? The tiny-sa.exe takes around 12 seconds to plot it.
Moving the mouse over the sweep slows it to almost stopped, but still the data in the buffer is being handled and the sweep continues.
This is the data from the logger window at a hang:
<<x37
<<x39
<<x42
<<x42
<<x42
<<x46
<<x37
<<x44
<<x43
<<x41
<<x41
<<x42
<<x41
<<x45
<<x41
<<x41
<<x46
<<x41
<<x42
<<x43
<<x46
<<x42
<<x55
<<x112
<<{
<<Steps: 300_
<<a VFO: -1_
<<x29300
<<E
<<time pr step: 0_
<<Stop: 533920533_
<<Start: 433920433_
<<VFO: 1_
<<Width: 10000_
<<Output frequency: 433920000_
<<VFO: 0_
<<Output frequency: 483920483_
<<VFO: 1_
<<Parameter? 6 = 0_
<<Parameter? 5 = 0_
<<}
<<x43
>>m
>>s300
>>e-1
>>t0
>>b533920533
>>a433920433
>>v1
>>w333
>>o433920000
>>v0
>>o483920483
>>v1
>>p6 0
>>p5 0
<<x46
I tried a 1000 step single scan with speed zero and Logger Window open that worked (very very slow to plot - the data comes from the ESP32 in around 2 secs).? The logger window slows things considerably, which is strange as that should not be a very time consuming task on a modern PC.
My thought is that the serial comms is OK as lots of data seems to be buffered OK, but there is a problem in the tiny-sa.exe.? Is there a lot of maths going in in the application or is it just converting the data values to db and plotting?
73
Dave M0WID