Hello,
The cDAQ-9481 is controlled with DAQmx but the drivers consider it a digital module so it must be controlled with the DAQmx Digital Output VIs. For instance, if you write a "True" to cDAQ1Mod4/Port0/Line0, then channel 0 will be "switched" and CH0a will be connected to CH0b.
You can use the DAQmx shipping examples for
digital I/O in LabVIEW as a guide for how to do this. I would suggest
looking at either of the examples Write Dig Port or Write Dig Chan. These can be found by going to Help >> Find Examples and then navigating to Hardware Input and Output >> DAQmx >> Digital Generation. This will provide the basic functionality for switching the relays. I hope this helps but if you continue having problems please continue posting to this thread.
Best Regards,
Jeff Tipps
Applications Engineer
National Instruments