Node-Red Start & Stop.

Home Forums Conduit: AEP Model Node-Red Start & Stop.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #14557
    Ajay K
    Participant

    Is there a way to figure out from the node-red flows when the node-red is about to start and stop, so data can be reloaded or archived into the disk/flash on the AEP model?

    Thanks,
    Ajay

    #14566
    Brandon Bayer
    Blocked

    Ajay,

    I’m not aware of any way to do this. The only way to make sure your data is saved it to save your data periodically or on each update.

    -Brandon

    #14567
    Ajay K
    Participant

    Thanks Brandon. How about the startup scenario, is there a way to read the data stored in a file before the flows begin processing any data?

    Thanks,
    Ajay.

    #14579
    Lawrence Griffiths
    Participant

    Ajay, >>is there a way to read the data stored in a file before the flows begin processing any data?

    Yes is Node-RED evaluates nodes as defined in the flows JSON config. So the the first node you add to the first workspace should be the first node to be evaluated. That said I have feeling the config nodes might get processed before.

    Lawrence

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.