07-07-2008 09:53 AM
Hi,
I hope someone can help?
We have TestStand 2.0.1 and Lab View 6.1 running on Windows 98.
We recently added a LabView function to extract directories and there files (the attached LabView code).
We but in at the start of the test sequence to check its functionally and it worked but once it is its correct place it returned a run time error (-17502)
After a lot of shifting the LabView section around we found, at least, the error would occur after we run a GPIB command.
The GPIB command is run via a DLL getting its input from a text file.
The same DLL and text file are used for other functions and do noe effect the LabView module.
Can anyone provide some help or direction on the LabView code?
I am posting in both TestStand and LabView discussion forms in the hope that some help might come!!!
Thanks for the help
Simon
07-08-2008 08:43 AM
07-08-2008 08:59 AM
07-08-2008 09:10 AM
Simon,
If you probe the output of Get Property Value, are you getting the expected path? Since the variable is a file global, I would expect it to either run always or not work at all as opposed to the behavior you are seeing where it runs correctly only some of the time.
What is the value of FileGlobals.DirectoryPath?
Where is your error coming from? Is it coming from the List Folder or from one of the Get/Set Property Values? Could you attach a screenshot of the error?
07-08-2008 11:32 AM
Hi,
Do you have these FileGlobals variables in your sequencefile.
If not set the boolean to True to Insert if Missing.
What is this about GPIB as there doesn't appear to be any GPIB related VI's or functions!
Regards
Ray Farmer