Using Application Directory on a Real-Time Target

Updated Nov 22, 2017

Reported In

Other

  • LabVIEW
  • Real-Time
  • cRIO-9024
  • cRIO-9074

Issue Details

I have created a SubVI for file input/output which I am reusing in all my applications. It uses the Application Directory VI and always worked fine, but when I transferred the program to my Realtime target, I am always getting Error 7: Possible Reason(s): File not found

Solution

The application directory VI is not officially supported on Realtime targets like the cRIO and can deliver unexpected results for the file path. Therefore, it will also not be available on the Realtime Palette in LabVIEW.

We recommend to use one of the options of the tutorial Working with File Paths on Real-Time Targets.
 

WAS THIS ARTICLE HELPFUL?

Not Helpful