01-17-2013 08:29 PM
I am trying to write the signal from line 0, line 1, line 8 and line 9 so i have 2 NI Elvis writer as i am operating two different circuit. I am trying to compare if its 1/0 in lines and it line 0 corresponds with line 8 (while line 1 with line 9), a non physical LED will light up to indicated the value matches. It only light up when i press onthe button for line 0 and line 8. but when i press the next buttons for each DO lines control, the LED doesnt light up.
Please help! ><
Solved! Go to Solution.
01-18-2013 09:14 AM
The reason the LED only lights for lines 0 and 8 is because of the Index Array functions on the diagram. You are only indexing element 0 of each of the arrays, which correspond to line 0 and line 8, respectively. In order to see the results for lines 1 and 9, you would need to use element 1 as the index.
Alternatively, you could just wire each array directly to the AND function and it will return an array of all 8 lines and the result of an AND.
01-20-2013 11:55 PM
Thanks! but how do i wire each array directly to the AND function?
01-21-2013 12:39 AM
Sorry, I don't have the elvis drivers, so I had to comment them out, but here's one possibility...
01-21-2013 07:25 PM
Thank you very much! i shall try it now. 😃