Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I locate the base addresses of the 2 PC-DIO-24pnp boards I've installed?

I've tried using CVI/LabWindows to ask for the base address, but it gives me an extremely long hex number. When I define it as my base address in my program, I can't toggle my output port.The code is pretty straight forward. I think I'm not using the proper address. I can toggle the ports when I use the DAQ software that came with the boards.
0 Kudos
Message 1 of 2
(3,393 Views)
If you make a call to the Get_DAQ_Device_Info function querying for the ND_BASE_ADDRESS infoType, you should be able to derive the base address of a board by device number (specified in MAX). Further documentation and use of this function can be found in the NI-DAQ help file.
0 Kudos
Message 2 of 2
(3,393 Views)