Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

multi-port, bi direction DIO on older PCI-1200 card

Hopefully this is a simple request. I simply want to designate one of the (3) ports on a PCI-1200 card as an output port, and another as an input port. I seem to be able to do one or the other, but cannot initialize both. I'm attempting to run the dio_config to get (2) task id's. I'm beginning to think this isn't the correct approach. However, I haven't come across any examples where more than one port is initialized; one for output, one for input. Help!

Thanks,
-C
0 Kudos
Message 1 of 2
(2,440 Views)
Hello C,

The problem you are having is probably due to the fact that when you configure one port, it resets the other. I�m attaching an example that shows how to configure all three ports without having them reset each other. The example sets them all the write, but should work when one is set to read.

If none of these suggestions help, or if I�m not correctly understanding your issue, please post the software and versions you are using, the applicable portions of your code, and any other information that may help, and I�ll be happy to look further into it.

Please let me know if this example doesn�t work for you, and have a nice day!

Robert M
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,440 Views)