01-11-2006 05:49 PM
01-12-2006 03:07 AM
01-12-2006 08:29 AM
Hi Astro, what i really want to do is to control few (3-4) of the parallel port data pins independently to send/write chain of bytes/words and clocking them. For example, i want to write a chain of strings to one pin (for exmple D0) of the parallel port and a clock in pin (for example in D1) at the same time. The reference to a serial port came because in a serial port (using serial.vi) you can write a byte/word to the a serial port pin but if you do the same to a parallel port (using serial.vi), the data distributes to (D0-D7) as it should. Any help is appreciated.
Sun
01-12-2006 10:29 AM
01-12-2006 11:22 AM
01-12-2006 05:26 PM
01-12-2006 05:27 PM
03-27-2006 09:38 AM
03-27-2006 10:53 AM
03-27-2006 11:01 AM
Does the control bit vary between 1 and 0? If so, then it may be best to build a separate array for control bits. Send into the loop, and multiply times 4 to put it into the bit2 position. Feed it into the OR gate that builds the bytes out of the bits. You can make a three input OR gate by using the Compound Arithmetic function. Right click to choose OR function and expand to three inputs by dragging the lower border.
If control bit is always 1, just send a 4 into the OR gate.