07-23-2008 05:30 PM
07-24-2008 05:47 PM
Hello 1over0,
I think that the behavior you’re seeing is because you're using 0's and 1's with numeric representation rather than as Boolean true and false values. If you wire a numeric 0 or 1 to a Boolean write it will use an integer output value (meaning that it will output that number in binary). In your program I would recommend changing your integer 0 to a Boolean false and the integer 1 to a Boolean true. Then you can replace the Build Waveform VI with the Build Digital Waveform VI and change the polymorphic instance of the DAQmx Write to be Single Channel» Multiple Samples» Waveform. I think that this will give you the behavior that you expect--a single digital value for each "true" or "false" value that you write.
I hope this helps and have a great day!
Cheers,