Im trying to execute and get output to debug node. My command is :
sudo python3 read_wavemini.py 2920004430 10
It looks like it does not understand command line options:
2.4.2021 klo 13.33.41node: 734014ef.7c82a4
msg.payload : string[54]
string[54]
usage: read_wavemini [-h] SERIAL_NUMBER SAMPLE_PERIOD
2.4.2021 klo 13.33.41node: 734014ef.7c82a4msg.payload : string[60]
string[60]
read_wavemini: error: unrecognized arguments: 1617359621080
2.4.2021 klo 13.33.41node: 734014ef.7c82a4msg.payload : Object
object
code: 2
It runs, if i disable msg.payload, but then i dont get anything to any outputs of the exec node ?
When it runs, it stays on and tries to report things, so im using spawn mode.
Can someone explain me how to make it work ?
-T