350 likes | 676 Views
ADInstruments Advanced Features of LabChart. Name:. Overview. Channel Calculations (Arithmetic, Derivative … ) Cyclic Measurements Data Pad Macros Examples. LabChart Software. Provides easy recording and data integrity Real-time and offline powerful analysis features
E N D
Overview • Channel Calculations (Arithmetic, Derivative … ) • Cyclic Measurements • Data Pad • Macros • Examples
LabChart Software • Provides easy recording and data integrity • Real-time and offline powerful analysis features • Easy selection of settings and display options • Optional functionality with LabChart Modules and Extensions
Channel Calculations • Arithmetic • Derivative • Integral • Digital Filters • Smoothing • Cyclic Measurements
Features of Cyclic Measurements • Feature in Channel Calculations • Used to analyze periodic waveforms • Real-time and offline analysis • Preprocesses the signal • Automated Cycle detection • Automated Calculation of Cyclic Parameters
Cyclic Measurements • Setup • Output • Detection Settings • Detection Adjustments • Preview of Detected Cycles • Customizing Presets
Features of Data Pad • A spreadsheet used to log numerical recorded data • 3 logging data options • Add to Data Pad • Adding a single data point • Adding a selection of data • Multiple Add to Data Pad • Adding multiple recorded data within a specified duration • Timed Add to Data Pad • Real-time adding of recorded data
Features of Macros • A group of recorded LabChart commands, which can be executed with a single command • All recorded commands are played back in the exact sequence they were recorded • Help to speed up repetitive and tedious tasks • Automate recording and analysis of data
Macro Types • Types of Macros • Sampling (or Recording) • Analysis • Combined Sampling & Analysis
Applications of Macros • Example Uses of Macros • Sampling • Change the settings for stimulation (Output 1, 2 or Isolated Stimulator) • Set up triggering • Save data as a new file • Provide a message or alert • Add comments
Applications of Macros • Example Uses of Macros • Analysis • Repeatedly log waveform parameters into the Data Pad • Print selected data (e.g. from the Zoom window) • Find comments and select data before, after or around the comment
Hints for Writing Macros • Hints for Writing Macros • Write down all the steps involved (keep a copy in LabChart’s Notebook) • Break complex operations into several macros then combine them into one macro • Modify the steps of an existing macro to suit your needs • Use LabChart’s Online Help • Call or email ADInstruments for help
Find and Add all Peaks to Data Pad • Macro menu • Start Recording • Command menu • Find: Select Go, Start of this block, Set active point, Find • Macro menu • Repeat While In Block • Command menu • Find: Select Find Data, Next Arrow, Local Maxima, Single point Selection, Find • Add to Data Pad • Macro menu • End Repeat • Stop Recording and Name the macro
Data Categories and Types • Files • LabChart Data Files • LabChart Setting Files • Text (txt) • Excel (xls) • Data Blocks
Limitations • Data File (Max Size = 2 GB) • Stop Recording, • Save the File • Close the File • Start a New File • Data Block (Max Size = 1 GB) • Stop Recording • Save Data • Start Recording
DB DB DB DB (Max = 1 GB) DB (Max = 1 GB) Example 1 DB DB DB DB Example 2 Continuous Recording Limitations Data File (Max Size = 2 GB) DB = Data Block
Sampling and Saving • Sampling • Data Accuracy and Precision • File Size • Saving • Permanent Data Storage • Resets Data Block Capacity
Formula (Estimation) Data Block Size = No. of Channels x Sampling Rate x Recording Duration x 2 Recording Duration = Data Block Size No. of Channels x Sampling Rate x 2 Example The maximum continuous recording duration for 3 channels, sampled at 1k/s is: Recording Duration = 1 GB/(3 x 1000/s x 2) = 166667 seconds = 46 hours
Formula (Estimation) Example The maximum continuous recording duration for 3 channels, sampled at 1k/s is: Recording Duration = 1 GB/(3 x 1000/s x 2) = 46 hours Therefore if the Data Block was saved, you could then record another new Data Block of similar duration. File Recording Duration (2 Data Blocks) = 46 x 2 = 92 hours
Resetting Saving Temp File Data Block Sampling File01.adicht File02.adicht File03.adicht Macro: Long Duration Recordings Clearing Data Block Raw Data New Unique File
Programming Long Duration Recordings using Macros • Macros • Sample • Setting the Sampling Duration • Save as no. • Saving the data into a file with a Unique Number • Remove data Clearing the data from the Data Block • X times • Repeats Sample, Save as no. and Remove data