LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI-6025E config problem

i'm using Eser_DIO.vi to test my PCI-6025E board DIO pins, what does the port number stands for? For the 50pin extended digital input connector pin assignments, there is a gnd pin to every i/o pins, do i have to gnd the corresponding pin for every i/o pin i used?
0 Kudos
Message 1 of 5
(3,162 Views)
Dear Lyn

The your NI 6025E board has 32 digital I/O lines - 8 of which are provided by the DAQ-STC chip found on the board (DIO0-7) and the rest (DIO8-31) by an additional 8255 chip on your card (these are the DIOs found on the extended DIO cable.

The DIO lines are conveniently grouped into 8-bit ports such that port 0 = DIO0-7, port 1 = DIO8-15 and so on. Given the number of DIO lines on your board it follows that you have 4 ports, numbered 0 to 3. It's simply a more convenient way if you need to read/write to multiple inputs/outputs. You can make best use of the ports by considering how many inputs and outputs your system will require and group as many like signals on the same port e.g. port 1 contains all inputs. That way when you read port 1 yo
u will get a number relating to the state (HIGH/LOW) of each of the eight DIO lines in the that port. It is a more efficient process than individually reading each line in turn.

A word of caution however. The 8 DIO lines provided by the DAQ-STC can be configured as either an input or an output or mixed e.g. DIO0,1,2,7 = input DIO3,4,5,6 = output. With the ports provided by the 8255, all lines on a single port must be either inputs or outputs - you cannot mix signal direction within a port.

As for the multiple DGNDs, all these pins are taken back to a single reference point on the DAQ board. Therefore you do not necessarily need to use DGND pin corresponding to your signal pin. The multiple DGND pins are there to make your life a bit easier when it comes to wiring!

Jeremy
Message 2 of 5
(3,162 Views)
however there is a confusion of the port number for the DIO8-31 as the user manual for 6025E indicate the addititonal port as portA,B,C. what does the port 1 refer to? PORTA or PORTC? What about port 2 and 3?
0 Kudos
Message 3 of 5
(3,162 Views)
Referring to page 33 of the PCI-6023E/6024E/6025E User Manual, DIO0-7 refers to port 0, port A = port 1, port B = port 2 and port C = port 3.

Therefore in your software if you wish to refer to port C, use the port number 3

Jeremy
0 Kudos
Message 4 of 5
(3,162 Views)
Lyn,

Please ignore my previous comments. The port assignment is as follows:

DIO0-7 Port 0
Port A Port 2
Port B Port 3
Port C Port 4

Ports A-C (2-4) can be set up as either inputs or outputs but not mixed I/O. Port 0 can be set up for mixed I/O.

Sorry for the confusion.

Jeremy
0 Kudos
Message 5 of 5
(3,162 Views)