02-22-2013 10:41 AM
Hello,
I have an issue with the executable version of my VI. I compile the project in which the VI is and I include all of the VIs I need in it. The result is that only some parts of the program work. I made a backup version that works perfectly about 3-4 days ago and the only differences between the two versions are some case structures, events (in an event structure) and global variables added. The problem seems to be with the data communication via USB (custom board) and via a NI USB-6210 and I don't understand why, because I did not change the communication functions. The program launches properly but just does not display any data (COM ports are found).
This morning, I tried to rebuild the application and an error popped. Here are the details:
Error 8 occurred at AB_EXE.lvclass:Build.vi -> AB_Build.lvclass:Build_from_Wizard.vi -> AB_UI_Frmwk_Build.lvclass:Build.vi -> AB_UI_FRAMEWORK.vi -> AB_Item_OnDoProperties.vi -> AB_Item_OnDoProperties.vi.ProxyCaller
Possible reason(s):
LabVIEW: File permission error. You do not have the correct permissions for the file.
=========================
NI-488: DMA hardware error detected.
Does someone have an idea of what should I do to make it work? Thanks.
Solved! Go to Solution.
02-22-2013 01:37 PM
Are you sure none of the UAC settings for your OS have changed? And have you tried right clicking on LabVIEW and running it as an Administrator?
--Ryan S.
02-22-2013 01:59 PM
Yes I tried, it didn't change anything and no I didn't change any of the properties for the users. I re-builded it and it worked, but it still does the same thing: the executable detects the COM ports, and then I know it talks with the logger (USB-6210) because it gives me frequency data and to have frequency data you have to collect a waveform. After the frequency calculation there is a butterworth filter and a VI to calculate the peak-peak value of the waveform. It is also in the version that works.
02-25-2013 02:44 PM
Finally I found the problem and it didn't have anything to do with the principal VI, one VI just got lost in the copy I did to do the new version and LabVIEW got the VI from the old place, so when I made an executable I didn't use the old version's path. This made some parts of the principal VI impossible to run. Thank you for your suggestions.