Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Configure two PFI Lines on the PCI-6602 for DO?

In LabView, I wish to configure only the DIO 0 (PFI_0)and DIO 1 (PFI_1) as outputs (or eventually the DIO 0 to 7, if this is necessary). All other DIO ports shouldn't be affected by this, because I use several DIO lines as inputs for counters.

What exactly should I write into the Line Direction Map of the DIO Port Config.vi, and into the Line Mask of the DIO Port Write.vi?

TIA
0 Kudos
Message 1 of 2
(3,252 Views)
First of all, I want to point you to a good KnowledgeBase article on our website that discusses configuring the PFI lines on a 6602:

http://digital.ni.com/public.nsf/websearch/862567530005F09E8625677800577C27?OpenDocument

This article defines the Line Direction Map and the Line Mask, letting you know what should be sent into the VIs that ask for these inputs. In order to make sure you input the correct type of data, I would recommend right-clicking the terminal of the VIs and choosing Create >> Control. Then if you look on your front panel you will see that a numeric control has been added that defaults to binary display.

I hope this answers your question and let us know if you have any further questions or comments.

Regards,
Michael H
Applications Engi
neer
National Instruments
0 Kudos
Message 2 of 2
(3,252 Views)