Hi folks,
I'm looking for a little advice, I'm trying to make some re-usable code for a project I'm working on, it's a RS485 comms library which is used to talk to a bespoke bit of hardware The comms takes the form of a 4 letter ID and can be a read, write or read-write to read and write various parameters.
I've done something similar to talk to this hardware using LabVIEW, I put the IDs into a Typedef so they can be selected/picked from a list.
Is there anything similar I can do with Node Red ?
I have over 100 ID, with maybe a common use subset of 20, I don't really want to create a subflow for each of these 20 IDs if I can help it. I could just type the ID in each time I use a subflow . . . but if I have a typo and don't realise it I'll end up tearing my hair out . . .
Suggestions ?