02-24-2015 06:02 PM
Hello,
I have searched the forum and could not find any useful information regarding my problem, so hope you may shed some light. MyVI can create a new csv (text) file by using the time to name the file, so every time the new file will be created with a different name and file path is not a relative path. I can run the VI in both development environment and stand along executable without any problem. But,
One of my colleagues cannot run the executable exe on her machine because Error 7 occurred at Open/Create/Replace File in xxxx.vi Possible reason: LabVIEW: File not found. The file might be in a different location or deleted. Use the command prompt or the file explorer to verify that the path is correct.
My question is why only she cannot run this exe on her machine. I have checked a few different PC in my office and all of them can run this exe without problem, so I am pretty sure the code is fine.
I have already ask her to do,
but she still cannot run the executable. I dont think this is a premission issue, otherwise, LabVIEW would give a different error, Error 8 I believe.
Both her PC and my PC is running Windows 7 professional 64-bit. The only difference I can see is that she is based in US and I am based Australia. Does anyone have any idea? Please help.
Thanks,
Sherman
02-24-2015 07:47 PM
As some feedback I have had this before when, in LabVIEW, attempting to create a file that did not have rights to the folder path eg. root of C drive. There was no LabVIEW error indicating a permissions issue - the request was simply denied and Error 7 resulted from the File function.
02-24-2015 10:41 PM
I’m not sure but expecting like below,
UTC format specifies if the output string is in Universal Time or in the configured time zone for the computer. If TRUE, date/time string is in Universal Time. The default is FALSE.
02-25-2015 08:10 PM
It seems the problem has been solved but I don't know why. I built a new executable exe file with changing the operation to 'create' to Open/Create/replace file.vi and it works fine for now. The operation was 'open or create', this should not be a matter becasue 'open or create' operation will create a new file if the file does not exist. Maybe the problem is not even relavent to LabVIEW at all. Anyway, thanks for all you input.