Re: A Commander Slider Question ...

Dave AA6YQ
 

+ AA6YQ comments below

On Fri, May 29, 2020 at 03:07 PM, Mike Flowers wrote:

Continuing, I wondered if I could implement a slider to control the Span of the P3’s display.   This slider would have to implement the 'MN255;#SPN<D3>; command where D3 would be incremented from a low range of 000020 to an upper range of 002000 in increments of 100.  

 

The P3 Programmers Guide gives the #SPN command as:

#SPN (Span; GET/SET)

SET/RSP format: #SPNxxxxxx; where xxxxxx is 000020-002000, the span in 100-Hz units. Example:

#SPN000500; sets the span to 50 kHz.

 

Apparently, the slider function truncates leading zeros and limits the value of <D3> to three digits.

+ Correct. If I understand correctly, you should instead use <D6>

'MN255;#SPN<D6>;

      73,

             Dave, AA6YQ

Join DXLab@groups.io to automatically receive all group messages.