Codesys 3 File Open Error

2022-05-08
2022-05-08
  • slowrunningman - 2022-05-08

    Hi Everyone.

    Using Codesys V3 (Eaton version XSOFT-CODESUS V3.5.16 BF4)
    I am trying to read files from a USB drive usinf CAA File library.

    The file opens evertime when using:
    filop.sFileName:= '/home/disk_usb/ProductionTable.csv';

    If the file name is assigned to a variable, it fails.
    sCardReaderFileName1 := '/home/disk_usb/ProductionTable.csv';
    filop.sFileName:= sCardReaderFileName;

    I'm baffeled!

    Can any one help please?

    Br

     
  • slowrunningman - 2022-05-08

    Ugh!!
    Spotted thy typo!
    Sorry guys!

     
  • slowrunningman - 2022-05-08

    Ugh!!
    Spotted thy typo!
    Sorry guys!

     

Log in to post a comment.