Waveform description

Add waveform information

waveform description
  1. Enter a name for the waveform.
  2. Select the waveform color.
  3. Click the Add button.
  4. The waveform name you just added is displayed in the waveform list.

Draw

serial debug

When the serial port receives a character string conforming to the waveform drawing format, it will be automatically drawn to the waveform interface.

Waveform format

Waveform name Equal Value End character
X1 = 200 \r\n

Use "\r\n" as the end of a drawing.
Multiple waveforms can be split using ",".
Here's the demo. Waveform name Case Sensitive

"X1=100,"
"X1=100\r\n"

"X1=100,X2=200,"     printf("X1=100,X2=230,");
"X1=100,X2=200\r\n"  printf("X1=100,X2=230\r\n");

Note that "\r\n" is used when using the print() function to represent a carriage return and line feed. In the sending area of the software, you can directly press Enter to enter a carriage return and line feed character. It is invisible but the cursor will move to the next line. You can click Hexadecimal to send and you will find that the character will have 16 decimal numbers 0D 0A.

Drawing using API in Js script

chart.write("x1=100.0\n");

Coordinate settings

waveform description

Instructions

  1. The Y-axis coordinates are automatically adjusted.
    on: Automatically adjust the coordinate range according to the input data.
    off: You need to enter the maximum and minimum coordinates yourself.
  2. Auto pause: When the waveform length exceeds one screen display, press the left mouse button and slide to the right to automatically start the waveform pause function, which is convenient for waveform observation.

Zoom

  1. Ctrl + scroll wheel -> waveform zoom.
  2. X + Wheel -> Zoom the X-axis coordinate range independently.
  3. Y + Wheel -> Zoom the Y-axis coordinate range independently.
help