LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pci-dio-96 question

I'm using LabView 7 to control a few PCI-DIO-96 cards. I've been told that the DIO Port Config.vi always affects (i.e., set all lines to zero) "mate ports". I'm using the term mate ports to refer to the three ports in a 8255 PPI chip. Ex: Assume that I have three channel names for the first three ports on a PCI-DIO-96 card,if I call DIO Port Config.vi for the first port, the second and third port lines get set to zero (regardless of the configured direction, through MAX). Assuming that these ports were configure as outputs, and that I had written some data to them, this would be a real problem for me.
0 Kudos
Message 1 of 2
(2,602 Views)
You just need to make sure you configure all three ports initially and then perform your reading and writing. Then you won't run into this problem. I hope this helps.

Why Do All My Digital I/O Ports Reset When I Configure One Port?
http://digital.ni.com/public.nsf/websearch/3E25A9780F2C48B986256120005AF098?OpenDocument

Regards,

Todd D.
0 Kudos
Message 2 of 2
(2,602 Views)