All DIAdem Calculations Do Not Work in the ANALYSIS Panel

Updated Jun 1, 2023

Reported In

Software

  • DIAdem 2017
  • DIAdem 2015

Issue Details

  • If I open a mathematical function dialog in the ANALYSIS panel and configure it, a nonstop "loading cursor" appears over the dialog. When I click the Calculate button nothing happens.
  • I'm unable to execute any calculations from the DIAdem ANALYSIS panel. Clicking OK or Calculate doesn't generate a result.
  • I just installed DIAdem 2017 but none of the mathematical functions are working.
  • Whenever I try to execute a calculation in DIAdem ANALYSIS, the following error occurs:
Preview aborted because amount of data exceeded.
Calculations with "OK" and "Calculate" is possible but might last a while.
 
  • When I close a function dialog window in the ANALYSIS panel, I see the following error:
Error in included script file <C:\PROGRAM FILES\NATIONAL INSTRUMENTS\DIADEM 2017\Resource\AnaBase.VBC>(row/column)(173/7):
The object is no longer valid.

 

Solution

This problem occurs in DIAdem 2015 and 2017 due to an incompatibility in the Visual Basic Script (VBS) Engine.
Copying the VBscript.dll file into the installation folder will resolve this error. This is described in the following steps:

 

  1. Navigate to the DIAdem installation directory.
    • By default, this will be C:\Program Files\National Instruments\DIAdem 201x
    • Here, x represents the version of DIAdem (either 2015 or 2017).
  2. Close DIAdem if it is currently running.
  3. Copy the VBscript.dll file from a newer DIAdem installation or from the attachments in this article.
  4. Paste the file into the DIAdem 2015/2017 directory.
  5. Restart DIAdem.

Additional Information

DIAdem 2015 and 2017 were not shipped with the VBS Engine. At the time, an existing engine in Windows was used to execute calculations within DIAdem.

Since these releases, Windows has been updated to use a new engine. This engine is no longer compatible with DIAdem 2015 and 2017 and therefore, the VBscript.dll must be copied into the DIAdem directory. Later versions of DIAdem automatically include this file with the installation.

Attachments