LabVIEW Generic file I/O Error

Asked By 10 points N/A Posted on -
qa-featured

I am getting (in a pop-up window) error when my FPGA code has finished “Compilation” successfully. This message keeps on appearing even after rebooting my PC and the LabVIEW Real-Time Software. I removed the program and re-installed it again but still encountering problem. The error is: “An internal software error in the LabVIEW FPGA Module has occurred.  Please contact National Instruments technical support at ni.com/support.”

Additional Information: 

Original error message:

————————

Error 6 occurred at Write to Text File in niFpgaWriteBitfileXml.vi >niFpgaCompileDownloadRun.lvlib:cdrCreateBitfileForCompilation.vi >niFpgaCompileDownloadRun.lvlib:nirviCompileDownload.vi->hardware_template.vi Possible reason(s):

LabVIEW:  Generic file I/O error.

=========================

NI-488:  I/O operation aborted. \.hostShared FoldersDocumentsLabVIEW DataDRELS ProjectFPGA BitfilesDRELS Project.lvproj_FPGA Target_6RadiosTest.vi.lvbitx

Please help me with this issue. Thank you!

SHARE
Answered By 10 points N/A #99385

LabVIEW Generic file I/O Error

qa-featured

The error seems to be caused by some create file permissions you missing on the target folder, and therefore the compiler is having trouble writing back the results to the hard disk. You may need to restart the compiler for it to work properly; otherwise started the LV alone will cause the message to continue popping up.

The compiler is supposed to write the .lvbitx file, and if it is not able to do so, then you can try the following workaround to solve the problem:

1. First, you will need to make sure that you have administrative permission on your account that you are using in Windows.

2. You also need to make sure that the folder that you are writing the .lvbitx file to has write permissions.

3. Lastly you will need to get rid of the clntTmp and srvrTmp folders at C:NIFPGA* and then try again.

Regards
Thompson Locker

 

Related Questions