How we can export CSV file to local PC(Node-red on IOT2050)

Hi nuttawut and welcome,

please wrap your code in triple backticks for better readability (How to share code or flow json):

code

Regarding your question, you need to pass the csv node output to a file write node