LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error recording data from API into LabVIEW text file

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 ?

0 Kudos
Message 1 of 2
(113 Views)

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!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(75 Views)