LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Missing RegOpen.lsb

Hi Everyone,

I've been asked to post this on behalf of a colleague.

Currently, his labview program goes and finds out the name of the computer it is running on from the registry. (This is very important in the setup of the rest of the software.) This works fine in the majority of cases.

The only problem that is encountered is sometimes when opening a new version of the program from an .llb or running the .exe, Labview says that it cannot find 'RegOpen.lsb'that is used by the standard 'Registry Handle Master.vi'. We cannot seem to find this LSB anywhere on the host computer even though previous versions of the same program will run fine.
Is there any way of independently finding out where this 'RegOpen.lsb' may be so we can tell Labview manually where it is? And also is there a way to ensure that an .lsb file does not get 'lost' in the first place.

He is using Win2K and Labview 7 Express.

Any help would be much appreciated.

Many Thanks in Advance.

Sammy

Software Engineer (Labview)
e2v technologies
Chelmsford
Essex
UK
0 Kudos
Message 1 of 2
(2,168 Views)
hi

you cpuld use a windows API function to get the computers name (avoids access to the registry). See attachment for more


best regards
chris
Best regards
chris

CL(A)Dly bending G-Force with LabVIEW

famous last words: "oh my god, it is full of stars!"
0 Kudos
Message 2 of 2
(2,164 Views)