Assuming nexSerial is configured to Serial2 in Iteadlib Arduino Nextion Library
// declared NexComponent localname = NexComponent(pagenumber,componentid,.objname);
NexWaveform wave1 = NexWaveform(0,1,"s0");
// ch channel 0 to 3, as per number of channels in HMI designed waveforn
// value in 0 to 255
Without such a library send over serial
See add command in Nextion Instruction Set.
where 1 is component id, 0 is channel, 23 is value
So indeed possible to send values to a waveform.
Waveform is a local component, page must be current page
- changing page away from and back will clear data.