Hello Irwin,
Let�s make sure I fully understand what you are trying to do. You want to toggle a single digital line on your DAQ card, from either high to low or low to high, without affecting any of the other digital lines?
If I understand your issue correctly, the simplest way to do it is to use the �WriteToDigitalLine� function. As parameters it takes the device, port, line, and high or low value you want to write. I�ve attached a simple program I wrote to test this function.
You can also use the �WriteToDigitalPort� function to write multiple bits to multiple lines. There are many ways of doing this, however, depending on what you are trying to do. An excellent example is �WriteDigPort.prj� found in the NI Example Finder.
If non
e of these suggestions help, or if I�m not fully understanding your issue, please post the applicable portions of your code, and any other information that may help, and I�ll be happy to look further into it.
Have a nice day!
Robert M
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments