Send array of points to waveform
Block is used for one-time sending array elements as points on a graph element Waveform panel NextionHMI. The block parameters are set in the editor block
You first need to create or select a data array from which to send to waveform.
In order to create the array click "Generate" and in the opened window fill in the settings for the new array
To select an array of available, click "Choose" and in the appeared window choose the necessary array
To fill the array with initial values you must click "Fill" and in the opened window fill in the necessary details
To cancel initializing the array, you must click "Clean".
Then you choose or create a panel. Existing in the project panel, you can choose from the dropdown list. To create a new panel click the button with the + on the right panel. Window opens added panel.
In this dialog you must select the UART port is connected to the panel, and configure it if necessary. It is also necessary to specify the name of the panel.
In this dialogue there is the possibility to add comments to the panel, create pages and elements included in the page.
After selecting or creating a panel, you must select or create a page. When you click add page opens the corresponding window.
In this window you should enter the page name and ID, which were received in the interface editor Nextion HMI while creating this page
Set "Start page" when starting the controller to be migrated to this village. If this box not be installed on any page, homepage will be the page with the lowest ID.
Also in this window it is possible to add items to this page.
After you select or create the page you need to choose or create the element that will receive the array.Select only elements WaveForm. To add an item just click add. Opens the add element
In this window you must select the type of the element type, name, ID. As in the case of global visibility of the element you have to select "Global". These parameters can be found in the interface editor Nextion HMI
It is also necessary to select a channel chart which will print the array.