Failure to data-write from Node_Red to the SD-CARD

Hi , I am trying to log the data obtained from the CtrlX I/O, to the SD card. Ive tried plugging in and out, and do realize that the data didnt manage to be written in the SD card once plugged it back in. 

Side question: Is it necessary to connect the Lan cable to the XF10 port during the data logging process? 

I have attached my flows in node red in this post. The first part being the API request and response architecture which is used to automatically assign the SD card to be in "mount" status everytime when the SD card is plugged back in, so that the end-user did not have to access to ctrlX interface to manually click on the "mount" option.

The second part is the one thats responsible on data log from the ctrlX I/O to the csv file created in the SD card.

 

Best reply by CodeShepherd

In your screenshot you are addressing the storage API via the IP address, I guess of XF10 port (192.168.2.246). If you now unplug your network cable the port and its IP will get inactive. You have to use localhost or corresponding IP 127.0.0.1 to use internal ethernat communication.

This could generate the same issue with gathering and storing your data. Please check out the examples provided via our palettenode-red-contrib-ctrlx-automation.

View original
Write_Data_SDCard_Flows.txt
14.73KB
9 replies