Below is a description of the installation steps to follow at the MS-DOS prompt. C:\MATLAB\DAP is used as the example working directory.

Size: px
Start display at page:

Download "Below is a description of the installation steps to follow at the MS-DOS prompt. C:\MATLAB\DAP is used as the example working directory."

Transcription

1 M ICROSTAR LABORATORIES TM th Avenue N.E., Bellevue, WA Sales & Customer Support: (425) Finance & Administration: (425) Fax: (425) World Wide Web: Technical Note TN-176 Version DAPtools for MATLAB DAPtools for MATLAB allows a user to communicate with a Data Acquisition Processor using the MATLAB programming environment. It integrates the processing power of a Data Acquisition Processor with the powerful technical computing environment of MATLAB. MATLAB performs high-level numeric computation and visualization of data sets. DAPtools for MATLAB allows acquired and processed data from a Data Acquisition Processor to be further manipulated and molded under MATLAB. This exts the capabilities of data manipulation to suit the specific requirements of an application. New Features for Version 2.00 DAPtools for MATLAB now works with MATLAB 5.x. Functions and examples have been updated to 32-bit code utilizing the DAPIO32 DLL interface. DAP MEX function names remain unchanged. There are, however, some functionality changes relating to the new more powerful features of DAPIO32 for Windows. See the function reference and examples for details. Installation Please copy all of the files provided on the disk to a directory of your choice, for example C:\MATLAB\DAP. You should then make C:\MATLAB\DAP the working directory of MATLAB. If you choose not to make C:\MATLAB\DAP the working directory of MATLAB, you will have to app or add your working directory to the MATLAB search path using the MATLAB path command. MATLAB s search path is established in the MATLABRC.M file, which resides in your <MATLAB> directory. You can change MATLABRC.M to include the path C:\MATLAB\DAP or create a STARTUP.M file (if not yet created) that MATLABRC.M invokes automatically. STARTUP.M should reside in your <MATLAB> directory. Even if you choose not to make C:\MATLAB\DAP the working directory of MATLAB, all of the *.DAP files still have to be in the current MATLAB working directory. Below is a description of the installation steps to follow at the MS-DOS prompt. C:\MATLAB\DAP is used as the example working directory. 1. Copy all *.DLL, *.M, and *.DAP files to C:\MATLAB\DAP PROMPT:\> COPY A:\*.* C:\MATLAB\DAP 2. Create STARTUP.M in your <MATLAB> directory if C:\MATLAB\DAP is not the working directory. PROMPT:\> EDIT <MATLAB>\STARTUP.M Add the following lines to it. path( c:\matlab\dap, path); Note: All *.DAP files have to be in the current MATLAB working directory. Contents copyright , Microstar Laboratories, Inc. All rights reserved. No part of this publication may be photocopied, reproduced, or translated to another language without prior written consent of Microstar Laboratories, Inc. Microstar Laboratories assumes no responsibility for damages due to errors or omissions. Microstar Laboratories, Accel32, Data Acquisition Processor, DAP, and DAPL are trademarks of Microstar Laboratories, Inc. Other brand names and product names are trademarks of their respective holders.

2 DLL MEX Functions The DAPIO32 DLL contains functions that make it easy to create a Data Acquisition Processor application under Microsoft Windows. MATLAB cannot directly call the DAPIO32 DLL, however MATLAB can call and execute DLL MEX functions. The DLL MEX functions provided with DAPtools for MATLAB use the DAPIO32 DLL. For this reason, the DAPIO32 DLL must already be installed in a directory that Windows can find. Not all routines provided in the DAPIO32 DLL were made into DLL MEX functions. The name of each DLL MEX function differs from the routine name in DAPIO32 DLL. Also, the usage of some of the functions may vary slightly. The table below shows the comparison between DLL MEX functions and DAPIO32 DLL routines. Please refer to the DLL MEX function reference provided at the of this technical note for a description of each function. You can obtain help on any function by typing help dapopen, help dapclose, help dapcnfig, etc. at the MATLAB command prompt. DLL MEX Functions for MATLAB handle = dapopen( unc_path, function code ) <code> = dapclose(handle) <code> = dapcnfig(handle, daplfile ) <code> = dapflush(handle, <timout>, <timewait>) numbytes = dapgavl(handle) numbytes = dappavl(handle) [datamatrix, <numbytes>] = dapgbuf(handle, length, <timwait>, <timeout>) [string, <code>] = dapgstr(handle) <numbytes> = dappbuf(handle, <length>, datamatrix, <timewait, timeout>) <numbytes> = dappstr(handle, string ) <code> = dapsetpa(paramnumber, parameter ) <code> = dapclrpa <code> = daprecnf( outputfilename ) DAPIO32 DLL Routines DapHandleOpen DapHandleClose DapConfig DapInputFlushEx DapInputAvail DapOutputSpace DapBufferGetEx DapStringGet DapBufferPutEx DapLinePut DapConfigParamSet DapConfigParamsClear DapConfigRedirect The above table and other references to the DLL MEX functions use handle, code, numbytes, datamatrix, and string as the names of the returned arguments. You may choose any name you prefer. Some of the DLL MEX functions have optional return arguments. If you do not specify names for these, you will not be able to access the returned arguments. Also, it is important to use all of the string input arguments with single quotes. Most of the returned arguments are message or error codes, specifying if the functions have executed successfully or not. The DLL MEX function reference section and the DAPIO32 reference explain these codes. 2 DAPtools for MATLAB

3 Example Set 1 Several examples were created to demonstrate the use of a Data Acquisition Processor with MATLAB. Example Set 1 reads 100 data values each from input channels 0 and 1 of the DAP into two matrices in MATLAB. The example shows how to initialize communication, get data, and terminate communication with a Data Acquisition Processor. All of the DLL MEX functions used are saved in several M files. 1. Running the example To run the example, type the following at the MATLAB command prompt: >> init >> data >> stop 2. File INIT.M This file initializes communication with the Data Acquisition Processor. %% File INIT.M %% % Open text and binary handles to ACCEL device texthandle = dapopen('\\.\dap0\$sysin', 'write') if texthandle == -1 error('error opening DAP text handle') binaryhandle = dapopen('\\.\dap0\$binout', 'read') if binaryhandle == -1 error('error opening DAP binary handle') dappstr(texthandle, 'RESET'); % S a command to reset the DAP dapflush(binaryhandle); % Flush old DAP data in binary pipe 3. File DATA.M This file configures the Data Acquisition Processor with the DAPL file and reads data from the Data Acquisition Processor. %% File DATA.M %% % Configure DAP using DAPL command file DATA.DAP cnfg = dapcnfig(texthandle, 'data.dap'); if cnfg >=200 error('error configuring DAP') % Print error message % Get DAP data while dapgavl(binaryhandle)<400 % Wait for data to be available channel0 = dapgbuf(binaryhandle,200) % Read 200 bytes of data from DAP channel1 = dapgbuf(binaryhandle,200) 4. File STOP.M This file terminates communication and closes all handles to the Data Acquisition Processor. DAPtools for MATLAB 3

4 %% File STOP.M %% % Stop DAP communication dappstr(texthandle,'stop'); % S a command to stop the DAP % Close text and binary handles to ACCEL device textclose = dapclose(texthandle) if textclose==-1 error('error closing DAP text handle') binclose = dapclose (binaryhandle) if binclose==-1 error('error closing DAP binary handle') 5. DAPL Command File, DATA.DAP This file has the DAPL listing. ;; DAPL file, DATA.DAP ;; reset idef a 2 set ip0 s0 set ip1 s1 time 5000 count 1000 pdef b ; Sample analog input, s0 ; Sample analog input, s1 ; Time of 5 msec ; Take 1000 samples bmerge(ip0,ip1,100,$binout); S data through binary ; communication pipe start a, b 4 DAPtools for MATLAB

5 Example set 2 Several other examples are described below. These examples try to exercise most of the commands provided in DAPtools for MATLAB. The examples can be run by typing logfile, string, biway, etc. at the MATLAB command prompt. 1. LOGFILE.M Logs one channel of data from the DAP to the PC s hard disk. 2. DSTRING.M Writes and reads strings and error messages from the DAP. 3. BIWAY.M Writes matrix data to the DAP and reads processed data from the DAP. 4. WAVES.M Uses the DAP as a function generator to generate a sine wave and triangular wave of different frequencies. 5. FOURIER.M Gets FFT data from the DAP and performs 3-D plots of the data using MATLAB s graphics. All the above examples open the DAP file handles, get DAP data, and close the DAP file handles. If you want to force a running example to stop, you can use CTRL-C to exit the example. When you do this, not all of the M file is executed and it is probable that the opened DAP file handles were not closed. If this is the case, you must run STOP.M to close both the text and binary file handles. Importing logged data from a DAP into MATLAB You can use MATLAB with logged binary data. You can log a binary data file in DAPview or DAPview for Windows. The following MATLAB commands show how to do this. DATABIN.LOG has logged binary data. Logged binary data At the MATLAB command prompt, type the following: >> fid = fopen('databin.log', 'rb'); >> bindata = (fread (fid, [n,inf], 'short'))' >> fclose(fid); n is the number of channels or the number of pipes merged to $BINOUT. inf reads to the of the file. DAPtools for MATLAB 5

6 DLL MEX Reference Below is a complete description of all the DLL MEX functions that are provided with DAPtools for MATLAB. Input arguments that are strings use single quotes. The string input arguments must have single quotes to work properly. All the names for the returned arguments like handle, code, numbytes, datamatrix, and string are chosen by the user. Some of the returned arguments are optional. If a name is not given for these, the optional returned arguments are inaccessible. Some functions have optional TimeWait and TimeOut parameters. If values for these parameters are not given the default is TimeWait of 100 ms and TimeOut of 20 seconds. Please see the corresponding function in the DAPIO32 reference for the meaning of the time out parameters. handle = dapopen( unc_path, function code ) Opens a handle to the communication pipe defined by the UNC (Universal Naming Convention) path. Examples include: textinhandle = dapopen('\\.\dap0\$sysin','write') ; write text textouthandle = dapopen( \\.\dap0\$sysout, read ) ; read text bininhandle = dapopen('\\.\dap0\$binin','write') ; write binary datap binouthandle = dapopen('\\.\dap0\$binout','read') ; read binary data And the function code is one of: 'write' opens the pipe for writing 'read' opens the pipe for reading The return value in handle is a valid handle to the communication pipe. If the value is 0, an error occurred. <code> = dapclose(handle) Closes the handle to the ACCEL device specified by handle. The return value in code is 1 if the handle was closed or 0 if an error occurred. Code is an optional return argument. <code> = dapcnfig(handle, daplfile ) Reads the DAPL command file specified by daplfile from disk and ss the contents to the Data Acquisition Processor. The handle parameter to the ACCEL device has to be a text handle opened for write. The return value in code is 1 for success or 0 if an error occurred. Code is an optional return argument. <code> = dapflush(handle, <timout>, <timewait>) Flushes old data from the ACCEL device specified by handle. The return value is the number of bytes flushed or -1 if an error occurred. Code is an optional return argument. numbytes = dapgavl(handle) Returns the number of bytes of data available for reading from the input buffer of the ACCEL device. The handle parameter contains a handle to the ACCEL device. If the return value is -1 an error occurred. numbytes = dappavl(handle) Returns the number of bytes of space available for writing to the output buffer of the ACCEL device. The handle parameter contains a handle to the ACCEL device. If the return value is -1 an error occurred. [datamatrix, <numbytes>] = dapgbuf(handle, length, <timwait>, <timeout>) Reads length values of data from the Data Acquisition Processor into datamatrix. The handle parameter contains a handle to the ACCEL device. Each item in datamatrix corresponds to two bytes. The return value in numbytes is the number of bytes read or -1 if an error occurred. Numbytes is an optional return argument. 6 DAPtools for MATLAB

7 [string, <code>] = dapgstr(handle) Reads text data from the Data Acquisition Processor into string. This function continuously reads text data until it finds a carriage-return - linefeed combination. If dapgstr does not find both carriage return and linefeed characters, it will wait for up to 20 seconds and then return what it was able to read or an error. The handle parameter to the ACCEL device has to be a text handle. The return value in code is either positive or 0 if an error occurred. Each character read corresponds to one byte. Numbytes is an optional return argument. <numbytes> = dappbuf(handle, <length>, datamatrix, <timewait, timeout>) Ss the values in datamatrix to the Data Acquisition Processor. If optional parameter length is specified, dappbuf ss only length values. The handle parameter contains a handle to the ACCEL device. Each item in datamatrix is converted to a 16-bit integer before being sent to the DAP. The return value in numbytes is the number of bytes written or -1 if an error occurred. Numbytes is an optional return argument. Dappbuf optionally accepts timewait and timeout parameters. See the DAPIO32 reference on DapBufferPutEx for details. If used, both timewait and timeout must be present. If the values in datamatrix are floating point numbers, they are truncated toward zero before they are sent to the Data Acquisition Processor. <numbytes> = dappstr(handle, string ) Ss text data in string to the Data Acquisition Processor. dappstr apps a terminating carriage-return character. The handle parameter to the ACCEL device has to be a text handle. The return value in numbytes is the number of bytes written including the carriage-return character or 0 if an error occurred. Each character written corresponds to one byte. Numbytes is an optional return argument. <code> = dapsetpa(paramnumber, parameter ) Sets a parameter string that is used by dapcnfig to replace corresponding %x parameters in the DAPL command file. The paramnumber parameter specify which %x parameter to replace. Paramnumber can be a value from 1 to 100. The value parameter replaces the corresponding %x parameter in the DAPL command file with that value. All %x parameters set by dapsetpa can be cleared using dapclrpa. The optional return value code is positive for success and 0 for an error. <code> = dapclrpa Clears all the parameter information that was set by dapsetpa. The default parameters in the DAPL command file are used again. Optional return value code is positive for success and 0 for an error. <code> = daprecnf( outputfilename ) Changes the output of dapcnfig from the Data Acquisition Processor to a text file defined by outputfilename. This function is useful for debugging DAPL command files that use replaceable parameters. Each call to daprecnf overrides all earlier calls. To change the output of dapcnfig back to the Data Acquisition Processor, outputfilename has to be an empty string, e.g., daprecnf(''). An option return value code is positive for success or 0 for file could not be opened. DAPtools for MATLAB 7

DAPtools for MATLAB Manual

DAPtools for MATLAB Manual DAPtools for MATLAB Manual DAPIO32 Interface for MATLAB Version 5.10 Microstar Laboratories, Inc. This manual is copyrighted. All rights are reserved. No part of this manual may be reproduced, redistributed,

More information

Accel32 Manual. Accel32 Server Description and Installation Guide. Version Microstar Laboratories, Inc.

Accel32 Manual. Accel32 Server Description and Installation Guide. Version Microstar Laboratories, Inc. Accel32 Manual Accel32 Server Description and Installation Guide Version 4.14 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are reserved.

More information

MSXB 018 Accessory Board Manual

MSXB 018 Accessory Board Manual MSXB 018 Accessory Board Manual Analog Input Expansion Board Version 1.40 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are reserved.

More information

Old Forms of Commands

Old Forms of Commands Old Forms of Commands Supplement to DAPL 2000 Manual, Version 6 Version 1.00 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are reserved.

More information

Data Acquisition Processor Service

Data Acquisition Processor Service Data Acquisition Processor Service Note: Windows refers to Windows 2000, Windows XP, Windows Vista, Windows 7, Windows 8, and Windows 10. The Data Acquisition Processor service is a Windows Control Panel

More information

Configuration Utility Manual

Configuration Utility Manual Configuration Utility Manual For Signal Interface Modules Version 2.00 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are reserved.

More information

MSXB075 & MSXB076 Signal Interface Module Manual

MSXB075 & MSXB076 Signal Interface Module Manual MSXB075 & MSXB076 Signal Interface Module Manual Isolated Analog Output Modules Version 1.10 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All

More information

MSXB 038 Accessory Board Manual

MSXB 038 Accessory Board Manual MSXB 038 Accessory Board Manual Digital Input/Ouput Expansion Board Version 1.40 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are

More information

Analog Output Accessory Board Manual

Analog Output Accessory Board Manual Analog Output Accessory Board Manual Analog Output Expansion Boards MSXB 014, MSXB 022, MSXB 032, and MSXB 056 Version 1.01 Microstar Laboratories, Inc. This manual contains proprietary information which

More information

M ICROSTAR LABORATORIES TM

M ICROSTAR LABORATORIES TM M ICROSTAR LABORATORIES TM 2265 116th Avenue N.E., Bellevue, WA 98004 Sales & Customer Support: (206) 453-2345 Finance & Administration: (206) 453-9489 Fax: (206) 453-3199 World Wide Web: http://www.mstarlabs.com/

More information

DAPserver Manual. Hardware and Software Configuration. Version Microstar Laboratories, Inc.

DAPserver Manual. Hardware and Software Configuration. Version Microstar Laboratories, Inc. DAPserver Manual Hardware and Software Configuration Version 2.00 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are reserved. No

More information

M ICROSTAR LABORATORIES TM

M ICROSTAR LABORATORIES TM M ICROSTAR LABORATORIES TM 2265 116th Avenue N.E., Bellevue, WA 98004 Sales & Customer Support: (425) 453-2345 Finance & Administration: (425) 453-9489 Fax: (425) 453-3199 World Wide Web: http://www.mstarlabs.com/

More information

DAPstudio Reference Manual

DAPstudio Reference Manual DAPstudio Reference Manual DAP Measurement Studio Manual Software Description and Reference Guide Version 3.00 Microstar Laboratories, Inc. This manual contains proprietary information which is protected

More information

DAP 5380a Manual. Connector and Hardware Operation Reference. Version Microstar Laboratories, Inc.

DAP 5380a Manual. Connector and Hardware Operation Reference. Version Microstar Laboratories, Inc. DAP 5380a Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc. The contents of this manual are protected by copyright. All rights are reserved. No part of this manual

More information

idsc Reference Manual

idsc Reference Manual idsc Reference Manual Intelligent Digital Signal Conditioning Manual Hardware and Software Description and Reference Guide Version 5.20 Microstar Laboratories, Inc. This manual contains proprietary information

More information

DAP 800 Manual. Installation Guide and Connector Reference. Version Microstar Laboratories, Inc.

DAP 800 Manual. Installation Guide and Connector Reference. Version Microstar Laboratories, Inc. DAP 800 Manual Installation Guide and Connector Reference Version 1.10 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are reserved.

More information

M ICROSTAR LA BORATORIE S TM

M ICROSTAR LA BORATORIE S TM M ICROSTAR LA BORATORIE S TM 2265 116th Avenue N.E., Bellevue, WA 98004 Sales & Customer Support: (425) 453-2345 Finance & Administration: (425) 453-9489 Fax: (425) 453-3199 World Wide Web: http://www.mstarlabs.com/

More information

DAP 3400a Manual. Installation Guide, Connector Reference, and DAPL 2000 Reference. Version Microstar Laboratories, Inc.

DAP 3400a Manual. Installation Guide, Connector Reference, and DAPL 2000 Reference. Version Microstar Laboratories, Inc. DAP 3400a Manual Installation Guide, Connector Reference, and DAPL 2000 Reference Version 1.10 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright.

More information

DAP 4000a Manual. Installation Guide and Connector Reference. Version Microstar Laboratories, Inc.

DAP 4000a Manual. Installation Guide and Connector Reference. Version Microstar Laboratories, Inc. DAP 4000a Manual Installation Guide and Connector Reference Version 1.11 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights are reserved.

More information

CM0340 Tutorial 2: More MATLAB

CM0340 Tutorial 2: More MATLAB CM0340 Tutorial 2: More MATLAB Last tutorial focussed on MATLAB Matrices (Arrays) and vectors which are fundamental to how MATLAB operates in its key application areas including Multimedia data processing

More information

Developer s Toolkit for DAPL Manual

Developer s Toolkit for DAPL Manual Developer s Toolkit for DAPL Manual Command module developer s toolkit for DAPL 2000 operating system Version 5.00 Microstar Laboratories, Inc. This document contains proprietary information which is protected

More information

DAPL 3000 Extensions for xdap Family

DAPL 3000 Extensions for xdap Family DAPL 3000 Extensions for xdap Family Supplement to DAPL 3000 Manual Version 1 Version 1.04 Microstar Laboratories, Inc. This manual is protected by copyright. All rights are reserved. No part of this manual

More information

Matlab- Command Window Operations, Scalars and Arrays

Matlab- Command Window Operations, Scalars and Arrays 1 ME313 Homework #1 Matlab- Command Window Operations, Scalars and Arrays Last Updated August 17 2012. Assignment: Read and complete the suggested commands. After completing the exercise, copy the contents

More information

Developer s Toolkit for DAPL Manual

Developer s Toolkit for DAPL Manual Developer s Toolkit for DAPL Manual Custom command developer s toolkit for DAPL and DAPL 2000 operating systems Version 4.02 Microstar Laboratories, Inc. This document contains proprietary information

More information

DAPL 2000 Manual. Data Acquisition Processor Analog Accelerator Series. Version Microstar Laboratories, Inc.

DAPL 2000 Manual. Data Acquisition Processor Analog Accelerator Series. Version Microstar Laboratories, Inc. DAPL 2000 Manual Data Acquisition Processor Analog Accelerator Series Version 6.00 Microstar Laboratories, Inc. This manual contains proprietary information which is protected by copyright. All rights

More information

xdap 7400 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc.

xdap 7400 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc. xdap 7400 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc. The contents of this manual are protected by copyright. All rights are reserved. No part of this manual

More information

INCA-MIP V16.0 for INCA V7.1 User s Guide

INCA-MIP V16.0 for INCA V7.1 User s Guide INCA-MIP V16.0 for INCA V7.1 User s Guide Copyright The data in this document may not be altered or amended without special notification from ETAS GmbH. ETAS GmbH undertakes no further obligation in relation

More information

Lab of COMP 406. MATLAB: Quick Start. Lab tutor : Gene Yu Zhao Mailbox: or Lab 1: 11th Sep, 2013

Lab of COMP 406. MATLAB: Quick Start. Lab tutor : Gene Yu Zhao Mailbox: or Lab 1: 11th Sep, 2013 Lab of COMP 406 MATLAB: Quick Start Lab tutor : Gene Yu Zhao Mailbox: csyuzhao@comp.polyu.edu.hk or genexinvivian@gmail.com Lab 1: 11th Sep, 2013 1 Where is Matlab? Find the Matlab under the folder 1.

More information

B. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure

B. Including the Event Structure within a loop. C. Configuring a Timeout case within the Event Structure Name: Date: CLAD Sample Exam 05 1. You must include the option to cancel when a user attempts to interactively close the front panel by selecting File>>Close. Which Event case allows this functionality?

More information

DAP 5200a Manual. Connector and Hardware Operation Reference. Version Microstar Laboratories, Inc.

DAP 5200a Manual. Connector and Hardware Operation Reference. Version Microstar Laboratories, Inc. DAP 5200a Manual Connector and Hardware Operation Reference Version 1.02 Microstar Laboratories, Inc. The contents of this manual are protected by copyright. All rights are reserved. No part of this manual

More information

ENG Introduction to Engineering

ENG Introduction to Engineering GoBack ENG 100 - Introduction to Engineering Lecture # 9 Files, Sounds, Images and Movies Koç University ENG 100 - Slide #1 File Handling MATLAB has two general ways of importing/exporting data from the

More information

AIMMS User s Guide - Calling AIMMS

AIMMS User s Guide - Calling AIMMS AIMMS User s Guide - Calling AIMMS This file contains only one chapter of the book. For a free download of the complete book in pdf format, please visit www.aimms.com. Aimms 4 Copyright c 1993 2018 by

More information

Matlab Introduction. Scalar Variables and Arithmetic Operators

Matlab Introduction. Scalar Variables and Arithmetic Operators Matlab Introduction Matlab is both a powerful computational environment and a programming language that easily handles matrix and complex arithmetic. It is a large software package that has many advanced

More information

Description Syntax Remarks and examples Conformability Diagnostics Also see

Description Syntax Remarks and examples Conformability Diagnostics Also see Title stata.com bufio( ) Buffered (binary) I/O Description Syntax Remarks and examples Conformability Diagnostics Also see Description These functions manipulate buffers (string scalars) containing binary

More information

SPPDF 01 Development Suite User s Manual. For SPPDM-01 FIR Filter Platform

SPPDF 01 Development Suite User s Manual. For SPPDM-01 FIR Filter Platform SPPDF 01 Development Suite For SPPDM-01 FIR Filter Platform SPPDF 01 Development Suite Table of Contents Chapter I - Introduction................................................................Page 1.1.

More information

An Introduction to MATLAB See Chapter 1 of Gilat

An Introduction to MATLAB See Chapter 1 of Gilat 1 An Introduction to MATLAB See Chapter 1 of Gilat Kipp Martin University of Chicago Booth School of Business January 25, 2012 Outline The MATLAB IDE MATLAB is an acronym for Matrix Laboratory. It was

More information

AIMMS Tutorial for Professionals - Getting Acquainted

AIMMS Tutorial for Professionals - Getting Acquainted AIMMS Tutorial for Professionals - Getting Acquainted This file contains only one chapter of the book. For a free download of the complete book in pdf format, please visit www.aimms.com Aimms 3.13 Copyright

More information

MATLAB SON Library. Malcolm Lidierth King's College London Updated October 2005 (version 2.0)

MATLAB SON Library. Malcolm Lidierth King's College London Updated October 2005 (version 2.0) MATLAB SON Library Malcolm Lidierth King's College London Updated October 2005 (version 2.0) This pack now contains two libraries: SON2 is a backwards-compatible update to the previous library. It provides

More information

2015 The MathWorks, Inc. 1

2015 The MathWorks, Inc. 1 2015 The MathWorks, Inc. 1 C/C++ 사용자를위한 MATLAB 활용 : 알고리즘개발및검증 이웅재부장 2015 The MathWorks, Inc. 2 Signal Processing Algorithm Design with C/C++ Specification Algorithm Development C/C++ Testing & Debugging

More information

xdap 7420 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc.

xdap 7420 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc. xdap 7420 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc. The contents of this manual are protected by copyright. All rights are reserved. No part of this manual

More information

xdap 7410 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc.

xdap 7410 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc. xdap 7410 Manual Connector and Hardware Operation Reference Version 1.00 Microstar Laboratories, Inc. The contents of this manual are protected by copyright. All rights are reserved. No part of this manual

More information

EE168 Lab/Homework #1 Introduction to Digital Image Processing Handout #3

EE168 Lab/Homework #1 Introduction to Digital Image Processing Handout #3 EE168 Lab/Homework #1 Introduction to Digital Image Processing Handout #3 We will be combining laboratory exercises with homework problems in the lab sessions for this course. In the scheduled lab times,

More information

INCA-MIP V16.1 for INCA V7.2 User s Guide

INCA-MIP V16.1 for INCA V7.2 User s Guide INCA-MIP V16.1 for INCA V7.2 User s Guide Copyright The data in this document may not be altered or amended without special notification from ETAS GmbH. ETAS GmbH undertakes no further obligation in relation

More information

Experiment 3. Getting Start with Simulink

Experiment 3. Getting Start with Simulink Experiment 3 Getting Start with Simulink Objectives : By the end of this experiment, the student should be able to: 1. Build and simulate simple system model using Simulink 2. Use Simulink test and measurement

More information

Data Capture System for Windows. Documentation. TSW Automation, Inc Robertson Ave. Nashville, TN phone: fax:

Data Capture System for Windows. Documentation. TSW Automation, Inc Robertson Ave. Nashville, TN phone: fax: Data Capture System for Windows Documentation TSW Automation, Inc. 6115 Robertson Ave. Nashville, TN 37209 phone: 615-356-8785 fax: 615-356-8744 1995-1998 All rights reserved. SYSTEM OVERVIEW The Data

More information

PLA 3.0 MICROSOFT EXCEL DATA ACQUISITION MODULE

PLA 3.0 MICROSOFT EXCEL DATA ACQUISITION MODULE PLA 3.0 MICROSOFT EXCEL DATA ACQUISITION MODULE Version 1.2.0 User Guide PLA 3.0 Microsoft Excel Data Acquisition Module - User Guide COPYRIGHT PLA 3.0 2006-2016 Stegmann Systems GmbH, Rodgau, Germany.

More information

MultiCom/MV 1.0. Comtrol RocketPort Guide. Copyright , Viewpoint Systems, Inc. All Rights Reserved

MultiCom/MV 1.0. Comtrol RocketPort Guide. Copyright , Viewpoint Systems, Inc. All Rights Reserved MultiCom/MV 1.0 Comtrol RocketPort Guide Copyright 1994-2000, Viewpoint Systems, Inc. All Rights Reserved Viewpoint Systems, Inc. does not warrant that the Program will meet Customer s requirements or

More information

IBM Education Assistance for z/os V2R1

IBM Education Assistance for z/os V2R1 IBM Education Assistance for z/os V2R1 Item: BSAM type=blocked Support Element/Component: Language Environment Material is current as of June 2013 Agenda Trademarks Presentation Objectives Overview Presentation

More information

Notes for using QuickHMI with Logo!-controllers

Notes for using QuickHMI with Logo!-controllers Notes for using QuickHMI with Logo!-controllers Indi.Systems GmbH Universitätsallee 23 D-28359 Bremen info@indi-systems.de Tel + 49 421-989703-30 Fax + 49 421-989703-39 Table of contents About this document...

More information

US-Wave.dll User Guide

US-Wave.dll User Guide US-Wave.dll User Guide REVISION DATE COMMENTS WRITTEN BY R1 10/10/13 Updated Document Aimeric DELAGE Lecoeur Electronique - 15 Route de Douchy - 45220 CHUELLES - Tel. : +33 ( 0)2 38 94 28 30 - Fax : +33

More information

MULTIPLE SHAKER CONTROL IN EDM SOFTWARE

MULTIPLE SHAKER CONTROL IN EDM SOFTWARE CI PRODUCT NOTE No. 034 MULTIPLE SHAKER CONTROL IN EDM SOFTWARE WWW.CRYSTALINSTRUMENTS.COM OVERVIEW Multi-shaker control (MSC) is a unique feature offered by Crystal Instruments EDM Software versions 7.0

More information

AM_SA85 - Driver of MODBUS PLUS Protocol for AM-SA Card User s Manual

AM_SA85 - Driver of MODBUS PLUS Protocol for AM-SA Card User s Manual User s Manual see and get more AM_SA85 - Driver of MODBUS PLUS Protocol for AM-SA85-000 Card User s Manual Doc. No. ENP4004 Version: 29-08-2005 User s Manual asix4 ASKOM and asix are registered trademarks

More information

PLA 3.0 TEXT DATA ACQUISITION MODULE

PLA 3.0 TEXT DATA ACQUISITION MODULE PLA 3.0 TEXT DATA ACQUISITION MODULE Version 1.2.0 User Guide PLA 3.0 Text Data Acquisition Module - User Guide COPYRIGHT PLA 3.0 2006-2016 Stegmann Systems GmbH, Rodgau, Germany. All rights reserved.

More information

Matlab Primer. Lecture 02a Optical Sciences 330 Physical Optics II William J. Dallas January 12, 2005

Matlab Primer. Lecture 02a Optical Sciences 330 Physical Optics II William J. Dallas January 12, 2005 Matlab Primer Lecture 02a Optical Sciences 330 Physical Optics II William J. Dallas January 12, 2005 Introduction The title MATLAB stands for Matrix Laboratory. This software package (from The Math Works,

More information

Lecture 7. MATLAB and Numerical Analysis (4)

Lecture 7. MATLAB and Numerical Analysis (4) Lecture 7 MATLAB and Numerical Analysis (4) Topics for the last 2 weeks (Based on your feedback) PDEs How to email results (after FFT Analysis (1D/2D) Advanced Read/Write Solve more problems Plotting3Dscatter

More information

General Information. There are certain MATLAB features you should be aware of before you begin working with MATLAB.

General Information. There are certain MATLAB features you should be aware of before you begin working with MATLAB. Introduction to MATLAB 1 General Information Once you initiate the MATLAB software, you will see the MATLAB logo appear and then the MATLAB prompt >>. The prompt >> indicates that MATLAB is awaiting a

More information

WaveVision 5 Software

WaveVision 5 Software WaveVision 5 Software Data Acquisition and Analysis Tool User s Guide October 2008 Table of Contents 1.0 The WaveVision 5 System 3 2.0 Overview.. 4 2.1 Features and Capabilities of WaveVision 5 Software

More information

AIMMS Tutorial for Professionals - Auxiliary Project Files

AIMMS Tutorial for Professionals - Auxiliary Project Files AIMMS Tutorial for Professionals - Auxiliary Project Files This file contains only one chapter of the book. For a free download of the complete book in pdf format, please visit www.aimms.com Aimms 3.13

More information

Upgrade Guide. NovaBACKUP xsp NovaStor. All Rights Reserved.

Upgrade Guide. NovaBACKUP xsp NovaStor. All Rights Reserved. Upgrade Guide NovaBACKUP xsp 17 2015 NovaStor. All Rights Reserved. NovaBACKUP Upgrade Information... 3 Intended Audience... 3 Upgrade Paths... 3 License Keys... 3 NovaBACKUP xsp Modules... 3 Preparing

More information

Introduction to PoliArd

Introduction to PoliArd Introduction to PoliArd Damiano Milani Politecnico di Milano Department of Mechanical Engineering PoliArd Project PoliArd is a complete environment for implementing control logics on real-time hardware.

More information

DT9000 Development Kit V1.1

DT9000 Development Kit V1.1 DT9000 Development Kit V1.1 Diamond Technologies Getting data where it needs to be. 6 Clock Tower Place Suite 100 Maynard, MA 01754 USA Tel: (866) 837 1931 Tel: (978) 461 1140 FAX: (978) 461 1146 http://www.diamondt.com/

More information

Getting To Know Matlab

Getting To Know Matlab Getting To Know Matlab The following worksheets will introduce Matlab to the new user. Please, be sure you really know each step of the lab you performed, even if you are asking a friend who has a better

More information

Chapter 7 File Access. Chapter Table of Contents

Chapter 7 File Access. Chapter Table of Contents Chapter 7 File Access Chapter Table of Contents OVERVIEW...105 REFERRING TO AN EXTERNAL FILE...105 TypesofExternalFiles...106 READING FROM AN EXTERNAL FILE...107 UsingtheINFILEStatement...107 UsingtheINPUTStatement...108

More information

Chapter 11 Input/Output (I/O) Functions

Chapter 11 Input/Output (I/O) Functions EGR115 Introduction to Computing for Engineers Input/Output (I/O) Functions from: S.J. Chapman, MATLAB Programming for Engineers, 5 th Ed. 2016 Cengage Learning Topics Introduction: MATLAB I/O 11.1 The

More information

AGAMA. Version 1.0 FONT ASSISTANT. for Windows 95/98 & NT. User's Guide

AGAMA. Version 1.0 FONT ASSISTANT. for Windows 95/98 & NT. User's Guide AGAMA Version 1.0 FONT ASSISTANT for Windows 95/98 & NT 1999 User's Guide Copyright Notice Copyright 1991-1999, AGAMA, Moscow, Russia and Smart Link Corpoiration, USA. All Rights Reserved. All parts of

More information

How to Install R2017b Updates

How to Install R2017b Updates How to Install R2017b Updates The following instructions apply to all R2017b Updates (Update 1, Update 2, Update 3, etc). See the R2017b Updates Release Notes for information about limitations and bugs

More information

Osprey PCI Series Multimedia Capture Driver Release Notes Driver Version

Osprey PCI Series Multimedia Capture Driver Release Notes Driver Version June 2015 Osprey PCI Series Multimedia Capture Driver Release Notes Driver Version 5.0.1.93 VIDEO CAPTURE CARD Osprey 100, 210, 230, 440, & 530 This driver has been tested on the following operating systems:

More information

COMP 4/6262: Programming UNIX

COMP 4/6262: Programming UNIX COMP 4/6262: Programming UNIX Lecture 12 shells, shell programming: passing arguments, if, debug March 13, 2006 Outline shells shell programming passing arguments (KW Ch.7) exit status if (KW Ch.8) test

More information

Database Toolbox Getting Started Guide. R2013a

Database Toolbox Getting Started Guide. R2013a Database Toolbox Getting Started Guide R2013a How to Contact MathWorks www.mathworks.com Web comp.soft-sys.matlab Newsgroup www.mathworks.com/contact_ts.html Technical Support suggest@mathworks.com bugs@mathworks.com

More information

Using LabVIEW to Send Commands via RS232 to Ontrack Control Systems ADR Interfaces

Using LabVIEW to Send Commands via RS232 to Ontrack Control Systems ADR Interfaces Using LabVIEW to Send Commands via RS232 to Ontrack Control Systems ADR Interfaces ADR112 DAQ Board ADR101 RS232 Data Acquisition Interface DAQ Ontrack company s lowest-cost solution. RS232 to 8 digital

More information

Trimble Accubid Classic 15

Trimble Accubid Classic 15 RELEASE NOTES Trimble Accubid Classic 15 SOFTWARE This document provides basic information about new features, enhancements, and modifications in version 15 of the Trimble Accubid Classic software. More

More information

Call-back API. Polyhedra Ltd

Call-back API. Polyhedra Ltd Call-back API Polyhedra Ltd Copyright notice This document is copyright 1994-2006 by Polyhedra Ltd. All Rights Reserved. This document contains information proprietary to Polyhedra Ltd. It is supplied

More information

ICC. Metasys N2 Master Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

ICC. Metasys N2 Master Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc. INDUSTRIAL CONTROL COMMUNICATIONS, INC. Metasys N2 Master Driver Manual January 5, 2018 2018 Industrial Control Communications, Inc. TABLE OF CONTENTS 1 Metasys N2 Master... 2 1.1 Overview... 2 1.2 Connections...

More information

(Cat. No L26B, -L46B, and -L86B) Supplement

(Cat. No L26B, -L46B, and -L86B) Supplement (Cat. No. 1785-L26B, -L46B, and -L86B) Supplement Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment

More information

MATLAB Distributed Computing Server Release Notes

MATLAB Distributed Computing Server Release Notes MATLAB Distributed Computing Server Release Notes How to Contact MathWorks www.mathworks.com Web comp.soft-sys.matlab Newsgroup www.mathworks.com/contact_ts.html Technical Support suggest@mathworks.com

More information

LabVIEW TM Real-Time 2: Architecting Embedded Systems Exercises

LabVIEW TM Real-Time 2: Architecting Embedded Systems Exercises LabVIEW TM Real-Time 2: Architecting Embedded Systems Exercises Course Software Version 2012 November 2012 Edition Part Number 325585B-01 LabVIEW Real-Time 2 Exercises Copyright 2010 2012 National Instruments

More information

Analysis Methods in Atmospheric and Oceanic Science AOSC 652. Introduction to MATLAB. Week 8, Day Oct 2014

Analysis Methods in Atmospheric and Oceanic Science AOSC 652. Introduction to MATLAB. Week 8, Day Oct 2014 Analysis Methods in Atmospheric and Oceanic Science 1 AOSC 652 Introduction to MATLAB Week 8, Day 1 20 Oct 2014 2 Introduction to MATLAB Matlab stands for MATrix LABoratory. Developed by http://www.mathworks.com/

More information

Ascent 6.1 Release Script for FileNet Content Manager 3.0. Release Notes

Ascent 6.1 Release Script for FileNet Content Manager 3.0. Release Notes Ascent 6.1 Release Script for FileNet Content Manager 3.0 Release Notes 10001303-000 Revision A November 16, 2004 Copyright Copyright 2004 Kofax Image Products, Inc. All Rights Reserved. Printed in USA.

More information

Code Composer TM. Quick Start Guide

Code Composer TM. Quick Start Guide Code Composer TM Quick Start Guide Before You Begin Check for old versions of Code Composer (CC) on your system Uninstall all old CC applications Delete old path statements and environment variables in

More information

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio

SAS Simulation Studio 14.1: User s Guide. Introduction to SAS Simulation Studio SAS Simulation Studio 14.1: User s Guide Introduction to SAS Simulation Studio This document is an individual chapter from SAS Simulation Studio 14.1: User s Guide. The correct bibliographic citation for

More information

Introduction to Programming, Aug-Dec 2006

Introduction to Programming, Aug-Dec 2006 Introduction to Programming, Aug-Dec 2006 Lecture 3, Friday 11 Aug 2006 Lists... We can implicitly decompose a list into its head and tail by providing a pattern with two variables to denote the two components

More information

Essentials for Scientific Computing: Bash Shell Scripting Day 3

Essentials for Scientific Computing: Bash Shell Scripting Day 3 Essentials for Scientific Computing: Bash Shell Scripting Day 3 Ershaad Ahamed TUE-CMS, JNCASR May 2012 1 Introduction In the previous sessions, you have been using basic commands in the shell. The bash

More information

Level 2 Compatibility: The setscreen and currentscreen Operators

Level 2 Compatibility: The setscreen and currentscreen Operators Level 2 Compatibility: The setscreen and currentscreen Operators Adobe Developer Support Technical Note #5119 31 March 1992 Adobe Systems Incorporated Adobe Developer Technologies 345 Park Avenue San Jose,

More information

Simple Text Setting Calculations for PostScript Language Drivers

Simple Text Setting Calculations for PostScript Language Drivers Simple Text Setting Calculations for PostScript Language Drivers Adobe Developer Support Technical Note #5041 31 March 1992 Adobe Systems Incorporated Adobe Developer Technologies 345 Park Avenue San Jose,

More information

NodeLoad Utility User s Guide

NodeLoad Utility User s Guide NodeLoad Utility User s Guide @ ECHELON C o r p o r a t i o n 078-0286-01C Echelon, LON, LONWORKS, i.lon, LonTalk, 3120, 3150, and the Echelon logo are trademarks of Echelon Corporation registered in the

More information

Tracking Trajectories of Migrating Birds Around a Skyscraper

Tracking Trajectories of Migrating Birds Around a Skyscraper Tracking Trajectories of Migrating Birds Around a Skyscraper Brian Crombie Matt Zivney Project Advisors Dr. Huggins Dr. Stewart Abstract In this project, the trajectories of birds are tracked around tall

More information

Introduction to Computer Programming in Python Dr. William C. Bulko. Data Types

Introduction to Computer Programming in Python Dr. William C. Bulko. Data Types Introduction to Computer Programming in Python Dr William C Bulko Data Types 2017 What is a data type? A data type is the kind of value represented by a constant or stored by a variable So far, you have

More information

MultiCom. for LabVIEW for Windows. Windows 95/98/NT Edition. Copyright , Viewpoint Software Solutions, Inc. All Rights Reserved

MultiCom. for LabVIEW for Windows. Windows 95/98/NT Edition. Copyright , Viewpoint Software Solutions, Inc. All Rights Reserved MultiCom for LabVIEW for Windows Windows 95/98/NT Edition Copyright 1994-1999, Viewpoint Software Solutions, Inc. All Rights Reserved Viewpoint Software Solutions, Inc. does not warrant that the Program

More information

Textbook. Topic 8: Files and Exceptions. Files. Types of Files

Textbook. Topic 8: Files and Exceptions. Files. Types of Files Textbook Topic 8: Files and A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools. -Douglas Adams 1 Strongly Recommended

More information

Perle Dial-Out User s Guide

Perle Dial-Out User s Guide Perle Dial-Out User s Guide 95-2345-05 Copyrights Copyright 1996-2000, Perle Systems Limited and its suppliers. IBM is the registered trademark of International Business Machines Corporation. Microsoft,

More information

ATTENDANT MONITOR Operations Manual NEC America, Inc.

ATTENDANT MONITOR Operations Manual NEC America, Inc. ATTENDANT MONITOR Operations Manual NEC America, Inc. NDA-30135 Revision 1 October, 2000 Stock Number 241662 LIABILITY DISCLAIMER NEC America, Inc. reserves the right to change the specifications, functions,

More information

Chapter 10: File Input / Output

Chapter 10: File Input / Output C: Chapter10 Page 1 of 6 C Tutorial.......... File input/output Chapter 10: File Input / Output OUTPUT TO A FILE Load and display the file named formout.c for your first example of writing data to a file.

More information

DSP Builder. DSP Builder v6.1 Issues. Error When Directory Pathname is a Network UNC Path

DSP Builder. DSP Builder v6.1 Issues. Error When Directory Pathname is a Network UNC Path March 2007, Version 6.1 Errata Sheet This document addresses known errata and documentation changes for DSP Builder version 6.1. Errata are functional defects or errors which may cause DSP Builder to deviate

More information

White Paper. Recommended Tag Formats. Introduction. Define tag formatting in the Project Setup dialog box. AutoCAD P&ID and Plant 3D

White Paper. Recommended Tag Formats. Introduction. Define tag formatting in the Project Setup dialog box. AutoCAD P&ID and Plant 3D White Paper Recommended Tag Formats AutoCAD P&ID and Plant 3D Introduction Audience: Administrators responsible for setting up P&ID projects and tag formats The goal for any tagging scheme is to have tags

More information

I/Q Data Guide v.1. Guide for acquiring I/Q data with the Gnu Radio Framework. Flagstaff, AZ March 5, Edited by.

I/Q Data Guide v.1. Guide for acquiring I/Q data with the Gnu Radio Framework. Flagstaff, AZ March 5, Edited by. I/Q Data Guide v.1 Guide for acquiring I/Q data with the Gnu Radio Framework Flagstaff, AZ March 5, 2017 Edited by Michael Finley Northern Arizona University Dynamic and Active Systems Laboratory CONTENTS

More information

Novell ZENworks Asset Management 7.5

Novell ZENworks Asset Management 7.5 Novell ZENworks Asset Management 7.5 w w w. n o v e l l. c o m October 2006 MIGRATING & UPGRADING Table Of Contents 1. Migrating and Upgrading... 3 Upgrading from Earlier Versions...3 Upgrading Client

More information

DDA-06 External DAS Driver

DDA-06 External DAS Driver DDA-06 External DAS Driver USER S GUIDE DDA-06 External DAS Driver User s Guide Revision B - November 1994 Part Number: 53121 New Contact Information Keithley Instruments, Inc. 28775 Aurora Road Cleveland,

More information

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs

2 TUTORIAL. Overview. VisualDSP Getting Started Guide 2-1 for SHARC DSPs 2 TUTORIAL This chapter contains the following topics. Overview on page 2-1 Exercise One: Building and Running a C Program on page 2-3 Exercise Two: Calling an Assembly Routine and Creating an LDF on page

More information

Physics 326G Winter Class 2. In this class you will learn how to define and work with arrays or vectors.

Physics 326G Winter Class 2. In this class you will learn how to define and work with arrays or vectors. Physics 326G Winter 2008 Class 2 In this class you will learn how to define and work with arrays or vectors. Matlab is designed to work with arrays. An array is a list of numbers (or other things) arranged

More information

AccessData FTK Quick Installation Guide

AccessData FTK Quick Installation Guide AccessData FTK Quick Installation Guide Document date: May 20, 2014 2014 AccessData Group, Inc. All rights reserved. No part of this publication may be reproduced, photocopied, stored on a retrieval system,

More information