Measurement Computing   Easy to Use | Easy to Integrate | Easy to Support catalog banner

DASYLab 2016 and DASYLab 13 Techniques - Step by Step example for...

Expand / Collapse
 

DASYLab 2016 and DASYLab 13 Techniques - Step by Step example for the new Script module


Creating a simple script with DASYLab 2016 or DASYLab 13 Full or Pro

Introduction

This technical note is a supplement to the DASYLab Help. It uses the DASYLab Script module to create a complete new module that can be used by any DASYLab version (Lite, Basic, Full or Pro). You will need DASYLab Full or Pro to view and edit the script. The final script package that you create can be used by any level of DASYLab (Lite, Basic, Full, Pro or Runtime). The DASYLab Script module is available with DASYLab 2016 and DASYLab 13.0.

The DASYLab 2016 Script modules uses Python 2.7.10, which is included with the DASYLab 2016 installation. 

The DASYLab 13.0 Script module uses Python 2.6.5, which is included with the DASYLab 13.0.0 installation. 

The intent of this note is to familiarize you with the steps necessary to create a script and to deploy it as a module.

This example will show you how to create a simple Scaling script.  It takes two parameters, a factor and an offset, a and b, which will be applied as f(x) = ax + b, where x will be the input channel value and f(x) is the output channel value.

See below to download the full article as a PDF file, and the zip file containing the complete example. 



Rate this Article:

Attachments



Add Your Comments


For comments email TechSupport@mccdaq.com.

Details
Article ID: 50491

Last Modified:11/10/2016 3:21:13 PM

Article has been viewed 9,597 times.

Options