LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting two Ports on the DIO-96PnP Card?

Hello, I set Port APA at a decimal value of 10 and then Port APB to 20 then Port A resets.
When i do this reverse (first set APB to 20 then APA to 10) values will not be resetted. I read about the reset problems at initialisation of Ports but I think then this problem should be in both directions? Both Ports are configured in MAX. I ONLY write to them with Labview Advanced VIs DIO Port Config (both Ports ) then DIO Port Write. How can I see the Code behind these VIs ? The Diagramm View is not able to select.
Thanks for all help.
0 Kudos
Message 1 of 4
(2,670 Views)
Hello;

The correct way to do that is by configuring Port A for output, configure port B for output, and then, write to Port A and B.
Hope this helps.
Filipe
0 Kudos
Message 2 of 4
(2,670 Views)
Sorry I HAD done this before (Congfiguring all Ports) then set the values. The little curious fact is that if I really would do a configuration between the setting of a port why it works then when I do it reverse?
First set Port B then Port A: no reset on Port B!
if a configuration would happen (and as a result a reset) then in every variant?
0 Kudos
Message 3 of 4
(2,670 Views)
I figured out that the VI which was used for that task had one Port Config and then one port write so the solution should be to use portconfig.vi for every port to write or should i use group config instead?
0 Kudos
Message 4 of 4
(2,670 Views)