LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

porting labview 6.1 to 7.1

Hi: I am working on a Labview program which I worte a similar one on LV 6.1.  I just upgrade to 7.1 recently.  I was trying to copy some of my code from my pervious 6.1 program to my 7.1 program.  Strange thins is that same code works fine on LV6.1 environment but cause error on 7.1 environment.  I have tried to move the code to a stand alone 7.1 vi.  It worked fine when I first executed, but cause error the second time.  I also have tried to re-write the code using 71 function.  It did not work also. 
Can anyone give me a hint what's going on???
0 Kudos
Message 1 of 2
(2,416 Views)

What errors are you getting? It appears that you are trying to determine whether the path leads back to an exe, and then open a config file of the same prefix, while creating a new file (results?) of the same prefix with a timestamp. It appears to be correct, you might have a problem with the "New" file though if you run it again immediately, as the date stamp is only out to "day" and the New throws an error if it tries to create a file that already exists. You could do a check of the name and have the result select a case to either create or not depending on its existence.

P.M.

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 2
(2,409 Views)