Support : Knowledge base

Knowledge Base

Welcome to OPAL-RT’s Knowledge Base

OPAL-RT offers a repository of support information for optimal use of its technology.

Loading…

Please note that OPAL-RT knowledge base is not fully optimized for mobile platforms.

For optimal experience, use a desktop computer.

Reference Number: AA-02099// Views: AA-02099// Created: 2022-09-28 15:42:33// Last Updated: 2022-09-28 16:02:16
Problem & Solution
RT-LAB : Opwritefile - Load Error : File_error Detected Fp=0, Filestate=3 - No File Created


Problem

When loading the model to the simulator, you have the error :

FILE_ERROR detected fp=0, fileState=3

And no file is created by OpWriteFile block.

Solution

This probably come from the real time path parameter of the OpWriteFile block.

By default the path is './'.

Make sure that the path is either default or pointing to a correct path.

Besure to don't forget the apostrophe ' at the begining and end of the path.


For more informations about :

Where are the Files Generated by the OpWriteFile Block being Stored on the Target?

How to Use and Configure the OpWriteFile Block