01-23-2007 05:03 PM
01-24-2007 11:42 AM
01-24-2007 12:04 PM
Hello!
Did you install a DIAdem 10.1 or LabView 8.x (I don't no the exact version) on the computer with the problem and not on the other one? I guess yes!
If you look on the DLL version in the screenshot you see a 10.1.1.2254. This shows that the USI, the DIAdem Data interface, seems to be in a newer version than the DIAdem you are running. I like to name this situation a DIAdem 9.5 . The reason is that today DIAdem is splitted into to parts: The DIAdem and the USI. The USI is shared between DIAdem and LabView and not version-controlled. If you install a newer USI version by installing DIAdem or LabView, the older one is replaced and the new and the old DIAdem will use the same new USI. You can check it on your two computers in the info dialog of DIAdem. There are the two versions for DIAdem and USI.
Before you ask: As I know is there no offical way to get back a 'clean' 9.1 DIAdem.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |
01-24-2007 01:17 PM
01-24-2007 03:42 PM
Hi cowbreath,
DIAdem 9.1 SP2 installs USI 1.1.1.2254, so that looks like a healthy match. The symptoms you describe sound very much like a resource leak-- most likely a memory leak. That may be happening in DIAdem or elsewhere in the system, and if it happens elswhere in the system it may be affected by DIAdem running a VBScript or it could be independent. I assume if you leave that computer running for 3 days without starting DIAdem at all that it does not crash, right?
I have a wacky debugging suggestion which could also serve as an ugly but potentially effective workaround. Have your VBScript keep track of the absolute run time and after 1 hour programmatically launch another DIAdem instance and release the current DIAdem instance. You can configure your DIAdem to always run your VBScript when it launches, or in your launch command you can provide a /C DOS command extension to specifically launch a new DIAdem instance which runs your VBScript as soon as it comes online.
DosCmd = """" & ProgramDrv & "DIAdem.exe"""
DosExt = """/CScriptStart('" & AutoActFile & "')"
Call MsgBoxDisp("Script Executing", "MB_OKCANCEL", "MsgTypeNote", 0, 5)
IF MsgState = "IDCancel" THEN AutoQuit
Call ExtProgram(DosCmd, DosExt)
Call ProgramExit
'DosCmd = """C:\PROGRAM FILES\NATIONAL INSTRUMENTS\DIADEM 10.1\DIAdem.exe"""
'DosExt = " ""/CScriptStart('C:\PSE\Useful VBScripts\Recursive DIAdem.VBS')"""
Note that this technique will NOT work if you have DIAdem-DAC,
Brad Turpin
DIAdem Product Support Engineer
National Instruments
01-24-2007 04:01 PM