Script 061 – Offset the last marker by a set time period


This BIOPAC Basic Scripting example shows how to find the LAST marker of a specified type and move it a specified interval. The example scripting routine finds the last marker of type “selection end” and moves it by 2 seconds.

This simple script provides a good reference for non-programmers to see how to correct systematic errors that were made when placing markers during data acquisition.

If the same marker adjustment needs to be performed on multiple data recording, users can start with a script like this and make it a batch process.

Script download under Associated Files below contains a BIOPAC Basic Script and sample data file:

061 – Offset the last marker by a set time period.bbs
Offset the last marker by a set time period.acq

Associated Files

Associated Products


New Citations | BIOPAC in Biology Research

Biology research covers a wide variety of studies all aiming to understand living organisms...

Join the BIOPAC Community

Stay Current

Stay Connected

Request a Demonstration
Request a Demonstration