LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Labview to control diadem

Hi
 
I have created a labview application that opens diadem using the diadem reference vi which works ok when logged onto the pc as myself.
 
Both labview and diadem were installed with full admin rights.
 
When I log on as a different user of the PC I get the message:
 
"Diadem configuration-Drive "C:\Documents and settings\local settings\Nick Holmes\local settings\application data\National instruments\diadem\10.0\" not found!
 
Labview is looking in documents and settings of my own user profile to find the "Diadem configuration-drive" the other user logins do not have access to these files (and rightly so).
 
Is it possible to make labview look somewhere else for the reference (a place that is accessable to all), and is it possible to make diadem put the configuration-drive in a place that is accessable to all.
 
Any help appreciated
 
Nick
0 Kudos
Message 1 of 3
(2,933 Views)
I'm not 100% sure on this, but try looking in the "DESKTOP.DDD" file in the "...\National Instruments\Labview X.X\DIAdem 10.x\" folder. You may find a path you need to edit. Be sure to save the original file first.
0 Kudos
Message 2 of 3
(2,913 Views)
Thanks for the reply Bill
 
I've found that by copying the folder:
 
C:\Documents and Settings\Nick Holmes\Local Settings\Application Data\National Instruments\DIAdem\10.0
 
which contains the desktop file , config.ini and various other files to a location accessable to all (e.g the documents and settings all users folder) and then locating the following registry entry
 
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{285E4FB2-F633-11D1-85DC-008048D9A408}\StartParameter]]
and setting the   'DesktopPath' entry  to the new location - it now works.
 
The question is can I modify this registry entry using the installer,  I see there is a registry section in the create installer part of the v8 application builder.
0 Kudos
Message 3 of 3
(2,875 Views)