Adept Scientific - English
The world's best software and hardware for research, science and engineering.
flag arrow
clearclear

 Adept Store | register Join My Adept | Flags  
Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055  
UKdedksvnofi
Home
Products
Training
Events
 Buy Online
Downloads
Academic Discounts
Support
My Adept
International |  About Us |  Adept Scientific Blog |  Contact Us |  Press Room |  Jobs
Adept Scientific on Facebook Adept Scientific on Twitter Adept Scientific on YouBube Adept Scientific on LinkedIn


The Next Steps

• Contact the DADiSP Team
• Buy DADiSP Now
• View DADiSP Pricing
• Download a Brochure
• Request a Brochure
• Download a Demo
• Request a Demo
• Meet Our Team

Learn More

DADiSP Home
DADiSP Application Builder
Top 10 Features
DADiSP Graph Gallery
DADiSP and ActiveX
DADiSP SPL vs MATLAB
Real World user stories
Online Tutorials
Rave Reviews
System Requirements

Latest Information

What's New in DADiSP
New Functions
Using DADiSP with Excel
Additional Software Modules

Service & Support

Patches & Downloads
DADiSP FAQ's
Search the Knowledge Base
Technical Support request

DADiSP

What's New in DADiSP

A free DADiSP 6.5 upgrade is available for all authorized DADiSP 6.0 B18 products under Gold support.

DADiSP 6.0 B18 products under Standard support are eligible to upgrade at a discounted fee.

If your current build of DADiSP 6.0 is less than B18 or if your major version number of DADiSP is less than 6.0 (prior to DADiSP/2002), please contact us about updating to DADiSP 6.5.

Changes, New Features and Functions

Below is a comprehensive list of significant changes to DADiSP 6.5. New builds are generally released every four to six months and each build typically entails new features and functions as well as bug fixes.

  1. Installation
  2. New Features
  3. New Functions
  4. MATLINK
  5. GUI Enhancements
  6. SPL Debugger
  7. SPL Enhancements
  8. Shapes and Text
  9. ActiveX Enhancements
  10. Configuration
  11. Command Line Arguments

SPL Enhancements
Static Variables
Static variables are persistent from one call of a function to another. Static variables can be local to a particular function or local to all functions within particular SPL file. A static variable behaves like a local variable in that variable is only accessible to the function that declares the static variable or if file based, to the functions declared within the same file.

For example:


  sumval(x)
  {
      static sum = 0;

      sum += x;

      return(sum);

  }

The function sumval returns the sum of the current input value and all previous values. The static variable sum behaves like a local variable except it is persistent from one call to sumval to another.

Static variables can be file based such that all functions within the same SPL file have access to the variable.


  // sumval.spl

  static sum = 0;

  sumval(x)
  {
      sum += x;
      return(sum);
  }

  currsum()
  {
      return(sum);
  }

In this case, sumval behaves identically to the previous example and currsum returns the current sum.

File Based Global Variables
Global variables can be specified on a file basis.


  // myfun1.spl

  extern a = 10;
  extern b = 20;

  myfun1()
  {
      return(b);

  }

  myfun2(x)
  {
      a = x;
      b = a * a;
  }

  c1 = myfun1();

  c1 == 20;

  myfun2(5);

  a == 5;
  b == 25;

  c2 = myfun1();

  c2 == 25;

Variables a and b are global variables accessible to both functions myfun1 and myfun2. File based external variables are initialized when the SPL function is first loaded, whether automatically loaded or explicitly loaded.

Custom Dialog Forms
The @form and @endform keywords enable custom dialog box templates to directly embed related SPL code in the same file. For example, the following dialog generates a random series with user defined length and delta X values:


  // test.pan - form based dialog
  @panel
  @form

  // default initial length and deltax if not defined
  {defvar("_form_dlen", 1000)}
  {defvar("_form_dx",   0.01)}

  Test Menu

  // get integer value, "%" sets value immediately
  Length: <% w{25}>~_form_dlen = <{_form_dlen}>~input(2)

  // get real value, "%" sets value immediately
  DeltaX: <% w{25}>~_form_dx   = <{_form_dx}>  ~input(1)
  <L>

  // generate data when OK pressed
  ~form_gendata(_form_dlen, _form_dx)

  @endform

  // SPL code

  form_gendata(len, dx)
  {
      // format and set the current window formula
      eval(sprintf("W0 := gnorm(%d, %g)", len, dx));
  }

The above form creates the following custom dialog box:

Custom Form Dialog

When the OK button is pressed, the embedded form_gendata() function executes and produces a formula in the current window based on the input values.


    gnorm(1000, 0.001)


Any SPL code can be embedded in the form after the @endform statement.

New @@ Concatenate Operator
a = b @@ c is more compact and equivalent to a = concat(b, c)

New @= Append Operator
a @= b is equivalent to append(a, b). The @= operator appends the series b to the end of series a in place. a @= b is much faster than a = a @@ b for large series because @= operates on the existing series whereas @@ creates and assigns a new series.

Compatible Operators
The .* scalar multiply ./ scalar divide and .' real transpose operators are supported for convienence with legacy M file code.



Ready to buy?

Upgrade to the latest version of DADiSP from v2002/v6
Add to shopping basket
£ 575.00
Upgrade to the latest version of DADiSP from v5
Add to shopping basket
£ 750.00
Upgrade to the latest version of DADiSP from v4.1
Add to shopping basket
£ 895.00
DADiSP for Windows 7/9x/2000/NT/XP/Vista
Add to shopping basket
£ 1,640.00
Click here for more upgrade options.

Featured Downloads

DADiSP 6.5 - Browser & 15-Day Licence for MS Windows 9x 2000 NT XP Vista
DADiSP Industry Application Packs
DADiSP Brochure
DADiSP Getting Started Tutorial

Product Reviews

"DADiSP makes it possible for an engineer to hit the button to turn the program on at the end of the day, walk out of here, then come in the morning and find the work all done."
Rich Bond, Ford Heavy Truck

"DADiSP makes this kind of analysis very easy to do, so that I only have to worry about the science, not the programming."
Dr. Dan Davison, University of Houston

Latest News

Combined vector, FFT and matrix accelerator plug-in module delivers increased performance for data analysis applications
New vector maths acceleration module from DSP
New dialogue import module from DSP
DADiSP/WAV – Wav Audio module updated
DADiSP 6.5
adept

Top of the Page

Popular Links: ChemDraw | ChemOffice | Data Acquisition | Data Analysis | EndNote | Maple | MapleSim | Mathcad | MathType | Quality Analyst | Reference Manager | VisSim

EU ePrivacy Directive | Our Privacy and Terms and Conditions Statement
All Trademarks Recognised. Copyright © 2013, Adept Scientific Ltd.
Site designed and maintained by Lyndon Ash

Adept Scientific | Amor Way | Letchworth Garden City | Herts | SG6 1ZA | Tel: +44 (0)1462 480055