Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error -200170

I have writen some code in c using your NI-DAQmx Dll.  So far I am able to wrtie to port0 - port3 and read the results form port4 - port7, but try to wrtie to port8 - port11 and read the results form port0 - port3 NI-DAQmx Dll will not create the output channel and give me a error number -200170, which is also the some error i get form the NI-DAQmx test panel.
 
Let me if there a limitation to what I can do with the NI-DAQmx dll like can I use it for doing a reads and writes operation on a PC-DIO-96 card.

Message Edited by Maverick1000 on 11-02-2005 04:45 PM

0 Kudos
Message 1 of 2
(3,774 Views)

Hello Maverick,

The situation you have described is definitely possible with the PCI-DIO-96, writing to ports 8-11 and reading ports 0-3.  Error -200170 states that the physical channel does not exist on this device.  Can you please check that you are specifying the correct device number when creating these channels?

Other things to check:  Can you write to ports 8-11 without reading from any ports?  Can you read ports 0-3 without writing to any ports? 

What exactly are you doing when you get this error while using the test panel? 

It would help us if we could see the code you are using for this. 

Thanks,

Laura

0 Kudos
Message 2 of 2
(3,759 Views)