From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How Do I Configure the PFI Lines as input in PXI 6713 module

Solved!
Go to solution

Hi,

 

I have PXI 6713 module in my PXI 1044 chassis. I have configured PXI 6713 module to geneate certain analogue signals to my board.

Board inturn process this analogue signal and responds back the status signals through a status register on the board. In my application,the status bits in status register of  the board are mapped to the PFI 0:3 bits on PXI 6713 module ( pins 11,10 , 42 and 43).

 

My query is how do i configue the PFI lines as input in PXI 6713 module to read these status bits ??

 

May be below explanation could give you little bit more information w.r.to my query.

 

 

When i use NI USB - 6008    module to read the same bits , since this device has 12 digital I/O lines, i could able to read the status bits in to the last 4 digital lines by configuring the those digital lines as input.

 

 

In PXI 6713  module i have only 8 digital lines. These 8 digital lines i have used to send the digital signals to the board. I am left with no digital I/O lines. Hence i couldn't use these digital lines. I am left with only one option to use. Theya re PFI lines. Moreover the status bits in the pin out of board are mapped such that the bits can be read through the PFI lines.

 

I am wondering do we have any example code to use  inorder to read these status bits on the board using the PFI lines.

 

Please let me know if you need additional information to help me out.

 

Thanks.

0 Kudos
Message 1 of 3
(3,503 Views)
Solution
Accepted by topic author sripapa

Hello There,

 

When using the PFI pin as an input, you can individually configure each PFI for edge or level detection and for polarity selection.  This PFI information can be referenced in the DAQ Analog Output Series Manual on page 6-1 (http://www.ni.com/pdf/manuals/370735e.pdf).  Unfortunately, the PXI-6713 PFI lines are only capable of timing input and output signal for AI, AO, or counter/timer functions.  The option of creating static DI from the PFI lines is not available for the PXI-6713. However, some cards have this capability.  Newer National Instruments products with PFI lines have the option of setting PFI lines as:

  1. Static Digital Input 
  2. Static Digital Output
  3. Timing Input Signal for AI, AO, DI, DO, or counter/timer functions 
  4. Timing Output Signal from AI, AO, DI, DO, or counter/timer functions
    (http://digital.ni.com/public.nsf/allkb/14F20D79C649F8CD86256FBE005C2BC4)

When set as static DIO, the PFI lines are assigned to a different port (eg. PFI0-7 is Port1).  More details about this can be referenced at:

http://digital.ni.com/public.nsf/allkb/DA2D3CD0B8E8EE2A8625752F007596E1

 

http://digital.ni.com/public.nsf/allkb/862567530005F09E8625677800577C27

Regards,
Roman Sandoval | National Instruments | RF Systems Engineer
Message 2 of 3
(3,468 Views)

Hello Roman,

 

Thank you very much for your inputs. YOur reply is really very helpful.

 

I am looking  at other ports on my chassis with other modules to capture the status signals.

 

Thanks,

 

Srinath

0 Kudos
Message 3 of 3
(3,458 Views)