Hello,
There are a few different ways that you can control your digital lines. You can use the DAQ Assistant or you can program by using the DAQmx VIs that the DAQ Assistant uses to generate its code.
Either way you will need to write to a digital line so your lines will need to be configured as digital outputs. There are a few good examples that you can use that are installed with LabVIEW. You can find these examples by opening up the Example Finder (
Help>>Find Examples) and then browsing to
Hardware Input and Output>>DAQmx>>Digital Generation.>>Write Dig Chan.vi. This example shows how to write the different lines on a port. You can also choose to write just one sample instead of N Samples. Depending on your situation you can change the polymorphic instance of the DAQmx Write VI and also change the line grouping constant from "one channel for all lines" to "one channel for each line" if you want to write in a different way. But you can at least start with this example and make any changes you like down the road.
Have a good day,
Brian P.
Applications Engineer