@Curt
May be I not understand correct.
VNA protocol is have 2 version, version 1 and version 2. version 1 ascii and version 2 binary.
When read it say it is use serial device and send data (have baudrate, stopbits etc) and use version 1 protocol (please have make self verification that true. I only have make quick look so may be I wrong).
BTW source for python pynanovna is
https://github.com/PICC-Group/pynanovnaThen I think is easy and all have do is port protocol. Can use python version or cpp version and should be same. Maybe cpp version tiny better for understand how port protocol for Pascal (may be also for LLM).
Then have receive data test. When have data receive then have see how is make code for process data.
Then data is process for display graphics. Python is use mathplot library for draw graph data. Cpp version have use own solution.
Lazarus have TAChart graphic that make graphic like mathplot. Then I think is may be good idea and learn how is work TAChart and how is organize data for make graphic with TAChart. Then have find how make serial data and make code convert and store properties for have draw for TAChart.
Information TACHArt
https://wiki.freepascal.org/TAChart and
https://wiki.freepascal.org/TAChart_DemosMay be have make more small step for LLM for help. If lucky then may be LLM understand protocol and not have need source-code and can ask for please have write pascal implementation for protocol for VNA device.
Have note that is available free AI online and can have ask question about protocol. May be one have knowledge and can help for that and not have pay LLM use.
I have ask duck AI "what protocol is use nanovna device for communicate computer" and it have write information.
The NanoVNA device typically communicates with a PC using a USB connection and employs a serial communication protocol. This allows users to control the device and retrieve data through software applications.
Communication Protocol for NanoVNA
Connection Method
The NanoVNA device communicates with a PC using a USB connection. This allows for easy data transfer and control of the device.
Protocol Details
The communication between the NanoVNA and the PC utilizes a serial communication protocol. This protocol enables users to send commands to the NanoVNA and receive measurement data through compatible software applications.
Summary of Features
| Feature | Description |
| Connection Type | USB |
| Communication protocol | Serial communication protocol |
| Functionality | Control device and retrieve data |
This setup allows users to effectively manage the NanoVNA and analyze data on their computers.
You can have ask LLM for write what is step for make plan. Then have make plan execute small step 1, then small step 2 etc. So no have think anything. That is why I not have like AI: it have make lazy
