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
Modular Scent Delivery System for up to 8 wet or dry scents

Scent Delivery System (1-8)

Project scents on cue for a predetermined time and then extract to clear for the next scent. Deliver multiple scents throughout the experiment. The new Scent Delivery System includes: Scent Delivery Module(s) for wet or dry scents SDS200 – order from 1 to 8 modules Carbon Air Filter System extraction fan for in-lab ventilation SDS200FILTER Solid State […]

View All
Latest News

New Citations | Food for Thought

With a new year approaching, many people around the world will gather with friends and family to celebrate. What is one commonality across cultures to celebrate? Food! BIOPAC provides software and hardware that allows research teams to study physiological measures to see how people interact with food. Here are a few notable studies using BIOPAC […]

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