Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 5 Sequences & Scripting

5.1 Sequence Overview

Scroll Prev Top Next More

DAQFactory provides many features and many options to perform most of the operations you need for your application.  But we have learned over the years that we cannot come close to predicting the many different ways our customers use DAQFactory.  To enable you to get the most out of DAQFactory there are sequences.  Sequences are essentially a type of scripting language for performing different tasks.  This can be anything from simply setting a few outputs to preset values all at once, to performing certain actions at fixed times, to complex programs for complete automation of complex processes.  

For many applications you will not need to use sequences at all.  For this reason, we probably could have put this chapter towards the end of the manual.  However, many of the examples throughout the manual showing more advanced DAQFactory use sequences, so we thought it best to introduce sequences early on.

You can create as many sequences as you need.  Sequences are typically run in separate threads.  A thread is like a separate program that runs concurrently with other threads within DAQFactory.  Because of this, you can create sequences that perform different tasks and run them at the same time.  Sequences can also call other sequences as functions allowing you to perform common tasks with ease.  Sequence script is also used as events for other objects, for example when a channel value is changed, or a page component is clicked.