DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot initialize variable management

Has anyone ever gotten an error message

 

"Cannot initialize variable management"

 

We are running multiple PCs using a license server (Diadem 11.0), and at any given time, one or more will error out when trying to load a .vas file using the command UserVarCompile (the same error occurs when trying to Enable manually).

 

We have tried

-rebooting

-shutting all other open Diadem applications down

-re-creating the common desktop file (.DDD)

-using the UserVarFreeAll command before UserVarCompile

 

This is a very random error so I don't think there is anything wrong with the actual variable definition file.

0 Kudos
Message 1 of 3
(4,000 Views)

Hi BoilerUp,

 

To find an error which occurs very rare and random is difficult. As you mentioned seems the VAS definition be OK (if it's not modified by another process). So we must look in other directions. You wrote that you are using a license server, so you have a network. Is the VAS file stored on the local drive or on a network drive? If it is on a network drive it could be a problem with the network traffic or something like this. But this is just a speculation.

 

Greetings Walter

0 Kudos
Message 2 of 3
(3,977 Views)

Hi BoilerUp,

 

Walter talked with R&D and confirmed that this sort of error message could arise in the VAS file initialization routine.  There is a temporary file created when VAS variables are loaded in DIAdem-- it is possibe that this temporary file can not be created for some reason and that this is the cause of the error message you're getting.  Can you try putting the VAS file on the same computer as the DIAdem installation trying to load it?  Does the local DIAdem installation have file write privileges?

 

Another option would be to move away from VAS variables and use GlobalDim() or OdsValalloc() to create global variables, or perhaps use local VBScript variables instead of the VAS variables if you don't really need global variables.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 3 of 3
(3,951 Views)