Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

NI9476 does not output correctly in a subvi

Solved!
Go to solution

Is there a reason you don't want to just wire in the Device name directly as you do with Do1 and Do0? Whenever you can directly wire something, that's always the best way.

0 Kudos
Message 11 of 13
(1,270 Views)

In the main program I call the Digital Outputs and Digital Inputs from a few different places. So if I have 4 DO modules and 4 DI modules that I call in 4 different places that would be 32 different names to match to 8 cDAC module names. It would be much cleaner to just define the 8 names just once (if it worked reliably).

0 Kudos
Message 12 of 13
(1,267 Views)
Solution
Accepted by topic author Logical Solutions

Ok, I can see why having so many wires would be messy and difficult to read. That would still make your program perform the best, however, so it's still what I would recommend.

Another thing you could try is making the name into a local variable. I'm not sure if this would work much better than the property nodes, but it could be worth a try. They are still slower to update than direct wiring. I don't think it would ever output blank values, but then I'm not sure why your property node is doing that either.

0 Kudos
Message 13 of 13
(1,263 Views)