LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

FileExists function - odd behavior in CVI2017

Solved!
Go to solution

In moving from CVI2015 to CVI2017, the ToolsLib FileExists function returns error -93 when file to be verified is over 3 Gbytes in size.   Files to be verified of considerably smaller size yield the expected return of '1' .   Perhaps the ssize_t calculated output parameter of this function is blown,  but using the function's instructions to ignore the calculation of this parameter still results in error -93.  CVI 2015 had no issue with verification of large size files.  ..This a bug?

0 Kudos
Message 1 of 5
(2,482 Views)

Yes, it is a bug that has been fixed in CVI 2019.

0 Kudos
Message 2 of 5
(2,414 Views)
Solution
Accepted by Steve_Macha

Is this a bug that lies inside the Run-time Engine? That is: if I run my 2017 executable against the 2019RTE will this bug disappear?



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 3 of 5
(2,408 Views)

Roberto you are correct, the bug lies inside the Run-time Engine and running the application on CVI 2019 Run-time Engine should solve the issue.

0 Kudos
Message 4 of 5
(2,380 Views)

Hello @Razvan_P,

I see the same issue with CVI RTE 2019 (version 19.0.0.49154) and for a file that is less than 2 MB large.

I started having this issue after I ugraded the RTE from 2015 SP1 to 2019 (without upgrading my application, which is developed with CVI 2015 SP1)

Vix
-------------------------------------------
In claris non fit interpretatio

-------------------------------------------
Using LV from 7
Using LW/CVI from 6.0
0 Kudos
Message 5 of 5
(1,498 Views)