background image

Connecting a Serial Peripheral Interface Device

You can connect a Serial Peripheral Interface (SPI) device to the NI 9401.

Figure 3. 

Connecting an SPI Device to the NI 9401

NI 9401

DIO3:0

Configured 

for Output

DIO7:4

Configured 

for Input

SPI Device

SCLK

MOSI

MISO

SS

DIO0
DIO1
DIO2

DIO4

Connecting Digital Devices

You can connect several types of digital devices to the NI 9401.

Figure 4. 

Connecting Digital Devices to the NI 9401

+5 V

+5 V

DIO1

COM

DIO7

NI 9401

LED

Switch

DIO0

TTL Signal

DIO3:0

Configured

for Input

DIO7:4

Configured

for Output

Overcurrent/Short-Circuit Protection

The overcurrent protection allows only a specified amount of current through the

output channels to protect the NI 9401 from short circuits. If the NI 9401 goes into an

overcurrent state, the module sets all the DIO channels to high impedance for

approximately 280 ms.

When the channels are in an overcurrent state, the NI 9401 can accept new line

direction configuration and output state data but cannot pass valid input data to the

software.

Where to Go Next

© National Instruments

9

NI-9401

Summary of Contents for NI 9401

Page 1: ...NI 9401 2023 04 25...

Page 2: ...tromagnetic Compatibility Guidelines 6 Preparing the Environment 7 Connecting the NI 9401 8 NI 9401 Signals 8 Ports 8 Connecting a Serial Peripheral Interface Device 8 Connecting Digital Devices 9 Ove...

Page 3: ...entire system 2005 2015 National Instruments Corporation All rights reserved Refer to the National Instruments _Legal Information directory for information about NI copyright patents trademarks warra...

Page 4: ...is category is for measurements of voltages from specially protected secondary circuits Such voltage measurements include signal levels special equipment limited energy parts of equipment circuits pow...

Page 5: ...for Class I Division 2 Caution For Division 2 and Zone 2 applications install the system in an enclosure rated to at least IP54 as defined by IEC EN 60079 15 Caution For Division 2 and Zone 2 applica...

Page 6: ...tection against harmful interference when the product is operated in the intended operational electromagnetic environment This product is intended for use in industrial locations However harmful inter...

Page 7: ...s Register certification for a product visit ni com certification and search for the LR certificate or look for the Lloyd s Register mark on the product Caution In order to meet the EMC requirements f...

Page 8: ...6 NC DIO7 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 NI 9401 Signals Table 1 Signal Descriptions Signal Description COM Common reference connection to isolated ground DIO Digita...

Page 9: ...V DIO1 COM DIO7 NI 9401 LED Switch DIO0 TTL Signal DIO3 0 Configured for Input DIO7 4 Configured for Output Overcurrent Short Circuit Protection The overcurrent protection allows only a specified amou...

Page 10: ...hnical support and ensures that you receive important information updates from NI A Declaration of Conformity DoC is our claim of compliance with the Council of the European Communities using the manu...

Page 11: ...websites which provide up to date contact information support phone numbers email addresses and current events National Instruments 11 NI 9401 2023 National Instruments Corporation...

Reviews: