02-12-2008 11:53 PM
02-13-2008 12:45 AM - edited 02-13-2008 12:45 AM
hi loatisaf,
Without knowing anything about the MCC relay drivers - except that you can write bit patterns - I'd build myself a "driver" VI that takes two inputs - a "pattern", and a "mask" (see attached). The VI "remembers" the last pattern written, and only changes the bits you specify in the bit-mask. This pattern/mask scheme is already part of NI's DIO VIs - but you have to be using NI hardware to use those.
When it comes time to set some bits for specific valves, but not for others, use the bit-mask to enable only specific valves.
Cheers!
02-13-2008 09:35 AM
02-13-2008 03:23 PM