BIOPAC® Systems, Inc. Logo

Script 053 – Convert variable length TTL to unique markers




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
SS25LB, TSD121C Hand Dynamometer

Hand Clench Dynamometer for MRI

Use to measure clench force in the MRI; clench force range 0-50 kgf. The lightweight, ergonomically designed transducer provides direct readings in kilograms or pounds. Use in isolation or combine with EMG recordings for in-depth studies of muscular activity. The isometric design improves experiment repeatability and accuracy. The TSD121B-MRI has an 8 meter cable terminated for connection […]

View All
Latest News

New Citations | BIOPAC in Motivation Studies

Discovering and understanding what motivates humans to produce better results has intrigued many researchers. Many researchers have explored the psychophysiological processes that drive our behavior. Here are some recent studies that have used BIOPAC systems to research motivation… Motivation and Pleasure Deficits Undermine the Benefits of Social Affiliation in Psychosis. Blanchard, J. J., Smith, J. […]

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