DASYLab Techniques. Saving DASYLab data to an ASCII (text) readable file. Updated to reflect changes in DASYLab 13



Similar documents
Quick Start Using DASYLab with your Measurement Computing USB device

Data Logging Software and Cable Bundle Model DL-SC3 User Manual. Overview

How to use Wireframe in Visio

SYMETRIX SOLUTIONS: TECH TIP August 2015

Kurz MODBUS Client User s Guide

How to use MS Excel to regenerate a report from the Report Editor

File Management Utility User Guide

Microsoft Excel 2013: Macro to apply Custom Margins, Titles, Gridlines, Autofit Width & Add Macro to Quick Access Toolbar & How to Delete a Macro.

In this session, we will explain some of the basics of word processing. 1. Start Microsoft Word 11. Edit the Document cut & move

RFID Logger Software User Manual Rev 1.0

Tutorial 3. Maintaining and Querying a Database

Microsoft Office 2010

EXCEL Using Excel for Data Query & Management. Information Technology. MS Office Excel 2007 Users Guide. IT Training & Development

Create a New Database in Access 2010

Microsoft Access 2007 Advanced Queries

Microsoft Office. Mail Merge in Microsoft Word

This tutorial provides detailed instructions to help you download and configure Internet Explorer 6.0 for use with Web Commerce application.

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

Microsoft Excel Basics

Windows XP Pro: Basics 1

SECTION 5: Finalizing Your Workbook

Internet Explorer 7. Getting Started The Internet Explorer Window. Tabs NEW! Working with the Tab Row. Microsoft QUICK Source

Lab 5 Managing Access to Shared Folders

Migrating to Excel 2010 from Excel Excel - Microsoft Office 1 of 1

Q&As: Microsoft Excel 2013: Chapter 2

CourseSites Quick Start Guide

Printer Sharing of the PT-9500pc in a Windows Environment

Mouse and Pointer Settings. Technical Brief

WebSphere Business Monitor V6.2 KPI history and prediction lab

Danaos Platform Conferencing Quick Users Guide

Adobe Conversion Settings in Word. Section 508: Why comply?

Tips and Tricks for Printing an Excel Spreadsheet

MONEY TRANSFER. Import & Approval User Guide

Select the barcode font in your farmerswife Client Application

CORSAIR GAMING KEYBOARD SOFTWARE USER MANUAL

Virtual Integrated Design Getting started with RS232 Hex Com Tool v6.0

Access 2010: The Navigation Pane

Directions for the Well Allocation Deck Upload spreadsheet

Configuring Network Load Balancing with Cerberus FTP Server

Windows 7 Hula POS Server Installation Guide

Importing and Exporting Databases in Oasis montaj

The first thing to do is choose if you are creating a mail merge for printing or an merge for distribution over .

Corsair Link v2.4 Manual. Initial Set-up. Placing devices within the chassis

SOS SO S O n O lin n e lin e Bac Ba kup cku ck p u USER MANUAL

Printer Sharing of the Brother QL-Series in a Windows Environment

Supplement I.B: Installing and Configuring JDK 1.6

Microsoft Excel 2013: Headers and Footers

FleetFocus M5 Basic Application Navigation Manual

Database Forms and Reports Tutorial

Mail Merge Creating Mailing Labels 3/23/2011

Easy Setup Guide for the Sony Network Camera

TFA. KlimaLogg Pro. User Manual. Revision: 0.1

Authorware Install Directions for IE in Windows Vista, Windows 7, and Windows 8

Microsoft Access Rollup Procedure for Microsoft Office Click on Blank Database and name it something appropriate.

How to Create User-Defined Fields and Tables

Microsoft Migrating to Word 2010 from Word 2003

Technical Support Set-up Procedure

Navigator Software. Contents 1. NAVIGATOR SOFTWARE 2. INSTALLATION 3. USING NAVIGATOR SOFTWARE 3.1 STARTING THE PROGRAM 3.

OLAP Cube Manual deployment and Error resolution with limited licenses and Config keys

Software for Agilent Technologies Vector Series Network Analyzers

SPSS: Getting Started. For Windows

Introduction to Smart Board. Table of Contents. Connection Basics 3. Using the Board (Basics) 4. The Floating Tools Toolbar 5-6

ODBC Driver Version 4 Manual

Instructions for Configuring a SAS Metadata Server for Use with JMP Clinical

ProSystem fx Engagement

OS X LION SET UP THE SYSTEM

Pharmacy Affairs Branch. Website Database Downloads PUBLIC ACCESS GUIDE

Handout: Word 2010 Tips and Shortcuts

Vodafone PC SMS (Software version 4.7.1) User Manual

Sophos Enterprise Console Auditing user guide. Product version: 5.2

What is OneDrive for Business at University of Greenwich? Accessing OneDrive from Office 365

EBOX Digital Content Management System (CMS) User Guide For Site Owners & Administrators

HTML Code Generator V 1.0 For Simatic IT Modules CP IT, IT, IT

MICROSOFT OFFICE LIVE MEETING GUIDE TO RECORDING MEETINGS

In This Issue: Excel Sorting with Text and Numbers

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1

Inking in MS Office 2013

How to Mail Merge PDF Documents

Presentations and PowerPoint

Using SPSS, Chapter 2: Descriptive Statistics

TM SysAid Chat Guide Document Updated: 10 November 2009

Windows XP Home Edition / Windows XP Professional

All V7 registers support barcode printing, except the Sharp 410/420 1A ROM and that limitation is based upon the register.

Completing Baseline s Site Survey Request Form

MICROSOFT OFFICE ACCESS NEW FEATURES

Manual Software SPECTRO3-MONITORING V5.0

User Manual. Thermo Scientific Orion

DEPLOYING A VISUAL BASIC.NET APPLICATION

1 Installation. Note: In Windows operating systems, you must be logged in with administrator rights to install the printer driver.

Microsoft PowerPoint 2010

1. To ensure the appropriate level of security, you will need Microsoft Windows XP or above.

ACCESS 2007 BASICS. Best Practices in MS Access. Information Technology. MS Access 2007 Users Guide. IT Training & Development (818)

BACKUP UTILITY FOR TIMEFORCE

User Manual. DG LINK Application Program This document applies to firmware version 2.00 and above.

Subscribe to RSS in Outlook Find RSS Feeds. Exchange Outlook 2007 How To s / RSS Feeds 1of 7

Introduction to Microsoft Excel 2010

Legal Notes. Regarding Trademarks KYOCERA Document Solutions Inc.

NFC TagWriter by NXP

Generating a Custom Bill of Materials

Transcription:

DASYLab Techniques Saving DASYLab data to an ASCII (text) readable file Updated to reflect changes in DASYLab 13 The DASYLab Getting Started Guide provides examples for storing data using the DASYLab binary data format. Many applications require data to be stored to files that will be used by programs that do not understand the DASYLab format. Or, you simply wish to store in a file that can be read by a text editing application, such as Notepad or WordPad. This short tutorial will walk through a simple setup to store data as ASCII readable text, optimized for Microsoft Excel. Notes: The default file extension for ASCII readable data is.asc, not.txt. This avoids confusion with general purpose text files. DASYLab supports CSV (comma separated values) files, TAB or semicolon as the separator in ASCII files. o Note that DASYLab 12 and earlier versions do not support CSV files. Data stored to the ASCII file format must be synchronized; all channels must have the exact same timing characteristics (time stamp, block size, sample rate). In other words, every row is time stamped, and each column of that row must have a value. Microsoft Excel 2003 and earlier, or newer releases in Compatibility mode only supports 65,536 rows in each worksheet. Longer files will be truncated. You can still open them, but Excel will not display the data or allow you to process it. More recent versions of Microsoft Excel (2007 and 2010) support larger data sets. Microsoft Excel may not be able to correctly display the time, especially if the sample distance is in milliseconds. It is recommended that you look at the file with a text editor to confirm that the correct time stamp has been stored. For example, the time does not display correctly in this file. Actual Data file as displayed in a text editor: DASYLab - V 13.00.00 Worksheet name: USB-TC-1Channel Recording date : 5/1/2013, 16:54:22 Block length : 1 Delta : 0.5 sec. Number of channels : 2 Date,Time,Ti0 [ C],Ti0 [ F], 5/1/2013,16:54:22.0,20.56,69.00, 5/1/2013,16:54:22.5,20.55,68.99, Data file as opened and formatted by Excel 2003 DASYLab - V 13.00.00 Worksheet name: USB-TC-1Channel Recording date : 5/1/2013 16:54:22 Block length : 1 Delta : 0.5 sec. Number of channels : 2 Date Time Ti0 [ C] Ti0 [ F] 5/1/2013 54:22.0 20.56 69 5/1/2013 54:22.5 20.55 68.99

A Basic ASCII Data Logger The example uses the Sound card driver. If you are using other hardware, the method for creating the Analog Input will vary. Start DASYLab to create a simple data logger application. This data logger will read data from one channel, display the data in a strip chart type display, and then store the data in readable ASCII format on the hard drive. You will accomplish these tasks using three DASYLab modules. Start DASYLab. First bring the data into DASYLab; to do this, use an ANALOG INPUT module. The ANALOG INPUT module is located in the Module browser: Input/OutputDriverAnalog Input. 1 Once selected, your pointer should change to the place pointer, click anywhere on the worksheet to place the Analog Input Icon. After placing the icon, the worksheet should look like this: Now connect the analog input to the display. For this example, display the data on a strip chart type display. Select the Chart Recorder, found under ModulesDisplayChart Recorder. Put the module on the worksheet to the right of the Analog input. The two modules can now be connected together. To accomplish this, click and drag the Chart Recorder module next to the analog input module so that the 0 on the analog input touches the 0 on the Chart Recorder icon, then release. If done properly, a wire will now connect the two modules. 1 Choose the appropriate hardware Analog Input, depending on your driver. For example, for Measurement Computing devices, use the Module Browser, Input/OutputMCC-DRVAnalog Input and select your channels from the selection dialog box.

A feature of many modules is the ability to allow data to pass through. This allows you to connect many modules in a daisy chain and keep the worksheet neat and uncluttered. To enable this pass through, double click on the Chart Recorder module and click the Copy inputs in the lower right hand corner. Click OK to save the settings. The worksheet is almost complete. Next, configure the worksheet to save the data to the hard drive. The module required to save data to the hard drive is found under ModulesFilesWrite Data. Place this module on the worksheet next to the Chart Recorder. Now connect the Chart Recorder to the Write Data module. Use the method discussed earlier to bump the two modules together, or click on the output of the Chart Recorder, which should change the pointer into the wiring control, and then click the input of the Write Data module to connect the wire. When completed the worksheet should look as follows:

Double click on the Write Data module to access the module s properties. You can change the file format, file name and path. The property dialog looks as follows: Choose the ASCII (Excel CSV Preset) File Format from the drop down menu on the left of the dialog box. When you do this, the default file name changes from DEFWRITE.DDF to DEFWRITE.CSV. The Write Data module will prompt you. Click Yes to accept these settings.

There are several options for the ASCII (Excel CSV Preset) File Format. Click on the Options button. You can see that DASYLab offers Tab, Semicolon or Comma separator characters. The Excel CSV preset has configured the Comma as the separator. Decide how you want the first column, the Time column, to appear. Change the Time Format to Date+Time [hh:mm:ss] to put the full date and actual time in the first column. This will look like: 4/25/2013,13:30:20,4.00 None of the other options need to be adjusted at this time. Click OK to close the dialog box. You will return to the main dialog box. Now, click File Name and enter a file name for the stored data. Click OK. A note on data security: you may want to select the Append to Existing File or Write Protection options to ensure that your data is not accidentally overwritten. Or, click the Multifile button to create a Multi-file series. Now bring the display windows up to visibility. There are four buttons designed to show and hide displays. The first set hides and unhides all display windows. The second set of buttons function minimizes the display windows and restores the display windows.

To bring the Chart Recorder display up and make it visible; click the Restore All Windows button (Up arrow). Click the start Worksheet button to start the worksheet.. The running worksheet should look like the image below; I played some music to generate this signal. The red trace shows the result of the data on channel 0 of the sound card, typically this is the microphone. While the worksheet is running, data is being displayed. It is also being saved to the hard drive in the selected file. Save this worksheet so that you can use it later. Click on File, then Save As. Select a location and a name for the file.

A final note on this technique If you will always be saving data to an ASCII file, you can configure DASYLab to use the current Write Data module settings as the default settings. Right-click over the Write Data module on the work area and select the Default Module Settings selection. In the dialog box that opens, click Set to define the defaults. To remove the defaults, click the Reset button.