microsoft / vscode-serial-monitor

Serial Monitor that allows for reading and writing to serial ports. Official issue tracking repository for Microsoft's Serial Monitor VS Code extension.
MIT License
60 stars 8 forks source link

I think the serial assistant needs the following functions : #165

Closed 1391074994 closed 7 months ago

1391074994 commented 9 months ago

:1 Can you add the string according to the firmware time (such as 1s or 1ms, etc.) cycle send function? .2: Can I add the function of sending multiple strings? 3. Why can the timestamp display only be displayed when it is in text form? Why can't the timestamp be displayed when it is in hexadecimal? Thank you!!

gcampbell-msft commented 9 months ago

@1391074994 Thanks for your comment. Responses below:

  1. Is this a request for the timestamp to be based on the firmware time, from the beginning of the program? This would likely require multiple changes in our infrastructure as well as possibly some requests to the firmware, so I'm not sure it's possible or easy to implement. Please let me know if I'm understanding this request properly.
  2. Currently we do support a way to do this through our "Send file" support. You are able to send either the full contents of a file, or a selection of text in VS Code. To do what you're wanting, you can type out your strings into a file, and then select your desired text, right click, and try "Send selection" image
  3. This is because when displaying hex, there is no idea of newlines anymore, so the integrity of the timestamps is removed, because messages that come at different times could be on the same line. Therefore, we remove timestamps.

Please let me know if you have any other follow up questions. I'll leave this issue open, since question 1 may turn into a feature request. Thanks.

1391074994 commented 9 months ago

Thank you for your reply. I use the SSCOM v5.13.1 software for reference. I think some functions of this software will be very good if they are added to your plug-in. That is, at the beginning of the program, its function is to send data periodically, and the length of time can be set. If I check this, it can send the firmware data itself, so that it can be used when testing the serial port data. My second multi-string feature is similar to this: the user can configure the firmware data sent in the interface, this data can be cached, click a button to send once, easy to test. thank you. Snipaste_2024-03-03_22-36-21

github-actions[bot] commented 8 months ago

This issue has been automatically marked as stale because it has been inactive for 30 days. To reactivate the issue, simply post a comment with the requested information to help us diagnose this issue. If this issue remains inactive for another 7 days, it will be automatically closed.

github-actions[bot] commented 7 months ago

This issue has been automatically closed due to inactivity. If you are still experiencing problems, please open a new issue.