BIOPAC® Systems, Inc. Logo

Script 053 – Convert variable length TTL to unique markers

Version:

1.0

Description

BIOPAC Developer - scripting, network data transfer, API, support

This script converts the variable length TTL data to a variable pulse magnitude waveform which can then be easily scored using the following analog channel logic borrowed from script 46:

Given a single digital channel for encoding different marker events, the length of the TTL pulse can be used to differentiate between different markers.

Given that the parallel port is capable of 1 msec resolution, a large number of event labels can be encoded using only a single channel. The procedure will Integrate the channel with the marker data using the channel itself to reset it; then multiply by the original data to get the variable magnitude waveform. An analog channel can be used to encode event markers for peaks in the data. For example, if the value is between 0 and 1, then the stim-response marker is placed with a label “0-1.” If the value is between 1 and 2, then we place the label “1-2″and so forth. The places a marker for all positive peaks in the data and then looks at a set time interval around each marker and depending on the MAX value, modifies the marker information.

Associated Products

Spotlight On
BIOPAC EDA

EDA Smart Amplifier

Easily record great electrodermal activity (EDA, GSR) data. BIOPAC’s new Smart Amplifiers are designed for great data. Smart Amplifiers improve performance by amplifying the physiological signal close to the subject, which allows a high-level voltage connection to the data acquisition system and reduces noise artifact. AcqKnowledge Smart Amp setup includes guides and prompts to prevent […]

View All
Latest News

New Citations | BIOPAC in HRV Analysis Research

BIOPAC provides researchers with a complete range of tools to gather data on heart rate variability (HRV). The following studies demonstrate just some of the ways in which HRV research benefits from the implementation of BIOPAC hardware and software solutions. PTSD and HRV Post-traumatic stress disorder (PTSD) has been associated with dysfunction of the autonomic […]

Electrocardiography Guide Now Available

BIOPAC’s comprehensive Introductory ECG Guide addresses fundamental to advanced concerns to optimize electrocardiography data recording and analysis. Topics include: ECG Complex; Electrical and Mechanical Sequence of a Heartbeat; Systole and Diastole; Configurations for Lead I, Lead II, Lead III, 6-lead ECG, 12-lead ECG, precordial leads; Ventricular Late Potentials (VLPs); ECG Measurement Tools; Automated Analysis Routines for extracting, […]

Read All
Request a Demonstration
Request a Demonstration