The most basic useful sequence is probably one that sets a few output channels to different values. Assignment is done by simply specifying the object to assign a value to, an equal sign, and the value to assign. For example:
MyOutputChannel = 3
AnotherOutput = 4 * 3 / 2
YetAnotherOutput = 5 / InputChannel[0]
The part to the left of the equal sign must be something that can take a value and cannot be an expression. This can typically be a channel or a variable. The part to the right of the equal sign can be any valid expression. If a sequence was created with just these three lines and run, the sequence would set MyOutputChannel to 3, AnotherOutput to 6, and YetAnotherOutput to 5 divided by the most recent value of InputChannel. The sequence would then stop.
Note: in DAQFactory release 20.3 and earlier, if you tried to assign a value to a variable or symbol that did not exist you would not get an error. The script would just continue to the next line. As of release 20.4, new documents will generate an error if you try and assign to an undeclared symbol, i.e. x = 3 when x does not exist. Because this could cause older documents to fail, if you load an older document under 20.4 or later, it will continue to behave the same and ignore assignment errors to unknown variables. You can change this behavior at any time by changing the sequence.CheckAssignmentUndeclared variable. Set this to 1 to have DAQFactory check for undeclared variables during assignment (default for any new document created in 20.4 or later). Set it to 0 to ignore them (default for any document created in 20.3 or earlier.