DAQFactory offers many tools to perform the most common data acquisition, display,
logging, and control tasks without coding. For maximum flexibility DAQFactory also includes a
complete multitasking scripting language called sequences. Sequences are basically a
data acquisition programming language, allowing you to interact programmatically with
most of DAQFactory tools using a high level scripting language. The syntax is very
similar to both Visual Basic, C, and many other languages making the transition easy
for anyone with any programming experience.
Easy to learn
Sequences can be used for all sorts of tasks. They can be as simple as setting a
few output values to a preset state, to complex control loops. The possibilities are
endless. Sequences are designed to be easy to use, extending the expression syntax
used throughout DAQFactory into a procedural language. You do not need to be an
experienced programmer to use sequences. Sequence statements are very high level,
like "delay()" to wait a preset time, or "read()" to read an input channel. Even though
sequences are multitasking, DAQFactory takes care of all the difficult tasks of memory
management, thread control and timing.
Use a little, use a lot, use it not at all, it is your choice
DAQFactory has many built in features. Most can be extended with sequence script, or
you can bypass the automatic features and get lower level access. The choice is yours.
When you are starting out, you can use all the built in features to acquire your data, log it,
display it, do alarming and other tasks without writing any code. You can then pick one
area that needs a little extra flexibility and write some simple script while still using all the
built in features. As you get more experienced, you can take further advantage of the power
of DAQFactory scripting.
Because sequences are multitasking, you can split your tasks up into separate
sequences, and have them all run concurrently. This helps you organize your tasks
and keeps your scripts simple. In one sequence you can be monitoring for an over
temperature condition, while another sequence runs through a batch. You can even
control the priority levels that sequences execute to create, for example, background
data processing routines. Sequence code can also be run when different events
occur, such as new data arriving on a channel, a completed PID loop calculation,
or a user clicking on screen component.
High Level Functions give Complete Flexibility
From DAQFactory sequences, you have access to most of the parameters
of screen components, PID loops, logging sets and the other DAQFactory objects.
You can also access other useful functions for sending emails, file manipulation,
playing sounds, requesting information from the user, or displaying standard
Window's dialog boxes such as file or color selection, or custom alert messages
with optional HTML help.
To help you develop your sequences, DAQFactory includes an integrated
debugger. With the debugger you can insert breakpoints, and step through your
sequences one line at a time. A watch window allows you to view variables
and other expressions. Sequences also include several options for error handling,
allowing you to create robust scripts that can handle any problems.