BIOPAC® Systems, Inc. Logo

264 – Scripting: Flow Control via Graph File UI

This application note discusses program flow control that is predicated on a user’s interaction with graphical interfaces, namely, buttons, scroll lists, and dialog boxes.

The key idea is that the calls to the macro functions are configured into a control loop. Also key is that those functions that have UI widgets that await user action, are not followed by any executable statements, they are wholly contained within a function block. In addition, all variables used at decision points should be either global or at script level so that all functions are cognizant of the variables’ existence and value.
BIOPAC Developer - scripting BIOPAC Basic Scripting license

Associated Applications

Spotlight On
BSL MP41 kit rental

Practical Lab Kit for Remote Learning

BSL Home rentals enable students to conduct hands-on physiology labs in the safety of their own home, dorm room, or any remote location while social distancing and stay-at-home orders keep them out of campus labs Complete lab solution to preserve practical lab experience!  For instructors—BSL Home makes it easy for instructors to continue running practical […]

View All
Latest News

New Citations | Analyze Fake News with Media Psychophysiology

Why do we so easily believe Fake News? 68% of Americans find their news through social media, and the prevalence of incomplete or deceptive news stories dubbed “fake news” has wormed its way into the fabric of modern-day media. In an effort to study how social media based news is perceived, this study measured physiological […]

New Citations | Respiration Analysis and More

Comparing Diaphragm Tissue Between Healthy and Ill Patients The human diaphragm is one of the primary muscles used in respiration, contracting and expanding to control breathing. To measure how much diaphragms move for critically ill patients (in an Intensive Care Unit) compared to diaphragms in a healthy subject, patients at “Papageorgiou” General Hospital in Thessaloniki, […]

Read All
Request a Demonstration
Request a Demonstration