Please enable JavaScript to view this site.

DAQFactory User's Guide

Navigation: 14 Other Features

14.1 Startup Flags

Scroll Prev Top Next More

In addition to being able to specify the file to open in the command line when starting DAQFactory, there are a couple other predefined flags.  These are all case:

-R:  forces DAQFactory into Runtime mode

-F:  forces DAQFactory into full screen mode

You can create your own flags as well.  To retrieve your flags in script, call system.GetFlags():

System.GetFlags(): returns an array of strings containing all the flags entered in the command line, with the exception of a document name, the -R, -F and -runAsExpress flags, if specified.  So, if you did:

DAQFactory.exe MyDocument -F -A -DoSomething

to start DAQFactory, and then called System.GetFlags(), you'd get: {"A","DoSomething"}