07-20-2025 12:01 PM
I am trying to create a data logger. When I execute the program on myRIO remote device, I am not able to get data from the API into the text file. Could you please guide ? what is going wrong ?
07-21-2025 01:24 AM - edited 07-21-2025 01:24 AM
Hi mars,
@mars23 wrote:
When I execute the program on myRIO remote device, I am not able to get data from the API into the text file.
Did you debug your VI?
Does an error occur while running the main loop?
Do you create a VALID file path?
Do you get a VALID file refnum?
Is there a reason to set the file access to "write-only" instead of default "read/write"?
How do you run the VI on your myRIO? Do you run the VI from within the IDE or as a startup.exe on your RT target?
How do you set reasonable values for the FP controls when running as startup.exe? (I already told you the myRIO runs headless!)