DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Diadem encounters an error and closes

Hi,

 

Sometimes when I run a diadem script, I obtain an error message (see atachment) and DIAdem closes.

 

Recently, this problem began to appear very often.

 

Thank you

 

Egor

 

 

0 Kudos
Message 1 of 10
(5,197 Views)

Hello Egor,

 

Could you please provide the following information to help us narrow down the problem:

 

- Your Operating System 

- Amound of RAM in your computer

- Version of DIAdem you are using

- What is the Script doing when DIAdem crashed?

 

Thanks,

 

    Otmar

Otmar D. Foehner
0 Kudos
Message 2 of 10
(5,195 Views)

Windows XP

1 GB RAM

DIAdem 11.0

The script was doing a lot of things...one of which was importing a Citadel trace.

0 Kudos
Message 3 of 10
(5,193 Views)

Egor,

 

Can you share the Script?

 

Does the Script crash very time or just randomly?

 

Thanks,

Otmar D. Foehner
0 Kudos
Message 4 of 10
(5,190 Views)

Unfortunatly I can not share the script (

It crashes every second time it is run.

 

0 Kudos
Message 5 of 10
(5,188 Views)

Hi Egor,

 

Without further information, we're just guessing here, but the "every second time it is run" comment sound like a significant clue to me.  It sounds like your VBScript is opening something up and not closing it, then the second time you try to access it it fails and resets the state so that the third time it succeeds.  Do you open AND close the connection to the Citadel db each time?  What command are you using to load data from Citadel?  There are 3 different commands that will load data from Citadel.

 

Brad Turpin

DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 6 of 10
(5,138 Views)

Hi Brad,

 

I am using StorageImport function. And you are right, I do not close the connection. How can I close it?

 

Also, I am using the same function in another script and I do not get any errors, eventhough I am constantly importating traces.

 

Thank you

 

Egor

0 Kudos
Message 7 of 10
(5,136 Views)

Hi Egor,

 

I can run a StorageImport() load from Citadel multiple times without any error, so I don't think that's something you need to worry about closing.  How about if you search in your VBScript for "Open" to see if there are any other commands that have an open and a close action.

 

Can you interactively drag the traces you want to load from the NAVIGATOR to the Data Portal when the VBScript fails?

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 8 of 10
(5,124 Views)

Brad,

 

When VBScript fails, DIAdem shuts down and I can not drag anything from the Data Portal to the NAVIGATOR.

 

Egor

0 Kudos
Message 9 of 10
(5,112 Views)

Hi Egor,

 

OK, so let's try this.  Run your VBScript the first time (the time that works), then instead of running the VBScript the second time (the time that fails) try importing your Citadel traces via drag&drop from the NAVIGATOR to the Data Portal.  Let me know if the interactive load works.  It is quite possible that the Citadel load is not the problem in your VBScript.  We can also test this by putting an "AutoQuit" command below the "StorageImport()" command in your VBScript and running the VBScript 2 or 3 times.

 

Brad Turpin
DIAdem Product Support Engineer
National Instruments

0 Kudos
Message 10 of 10
(5,100 Views)