Hi Jean,
You are right in recognizing that LabVIEW can only write one numeric to
a write command. What that means is that you have to have a way
to convert your first number to the first 4 bits of the port and the
second number to the last 4 bits of the port. As with anything in
programming there are a lot of ways that you can do any one
thing. This is the way that I chose to give it a try:
I'm definitely not an expert on the most efficient ways to do
programming, but this definitely works. This should work just
fine for you though as long as you're not trying to do anything really
high speed. If it doesn't work, then you can dry to use some bit
shifting or binary math to find a more efficient way than converting
everything to a Boolean Array. As is though, this should work
just fine.
Regards,
Message Edited by Otis on 08-29-2005 04:27 PM