Assuming that you are using bit0 of the first port. And the whole port
(i.e., all 8 lines) are to be used as output.
You would first need to set this as an output first. If you don't want to
use all 8 lines for output then look up "Linedirection" property
"CWDIO1.Ports.Item(0).Assignment = cwdioOutput"
This actually sets the ouput Voltage
".CWDIO1.lines.Item(0).SingleWrite True"
You should also add a valve/relay driver IC (e.g., ULN2003) between the
CB-68LP board and the valve.
Hope this helps
Rajiv
"Fish" wrote in message
news:5065000000080000003A3B0000-1012609683000@exchange.ni.com...
> What is the best way to use the CWDIO tools for outputting a constant
> 5V voltage to trigger the on/off state of something (like a valve)
> connected
to the DIO ports on a DAQ Board? I am using Visual Basic
> with the PCI-6024E model card and CB-68LP board.