Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Write out to port C on DIO 24 PnP older digital IO board from NI

I'm using an older Digial IO board, DIO-24 PnP. I am not able to write data to port C (port 2)? Ports A and B work well with the Digital VIs: Port Config, Port Write and Port Read. Not so with port C?
0 Kudos
Message 1 of 4
(3,536 Views)
Hi Gary,
 
Just in case this is the problem, the PCI-DIO-24PNP is not supported in Windows XP. It is supported in Windows 2000, Windows NT, Windows 98, and Windows 95.
 
Besides that, make sure that Port C is configured to be in Mode 0. This will make 8 pins of the port configured for I/O. It will actually set port C up as two four-bit ports that can be configured for write/read. Specifics on this are available in the manual. I hope this helps!
 
 
--
Michael P
National Instruments
Message 2 of 4
(3,525 Views)
The manual illustrates the use of linear code to set the mode. I unfortunately am limited to LabVIEW (you know the stuff you sell?). I will however go to my customer (who refuses to pay $500 for a new DIO board) and tell him he needs to purchase Visual.net for a few thousand dollars to support his LabVIEW development environemnt??? Give me a break. I fell like I am talking to Microsft?
 
I need aVI to set the mode!
 
 
 
 
0 Kudos
Message 3 of 4
(3,526 Views)
Gary,
 
An example of how to write to a digital port in LabVIEW is located in C:\Program Files\National Instruments\<LabVIEW folder>\examples\daq\digital\8255.llb\Write to Digital Port(8255).vi
 
I tested this example on Port C of a device with the same internal hardware, and it worked great.
--
Michael P
National Instruments
Message 4 of 4
(3,510 Views)