Hello krupa,
with the FPGA interface you have some properties for this
NI 9237 (FPGA Interface)
Use a I/O property and select the channel and then the function
In the LabVIEW Example Finder search for 9237 there is the NI 9237 Getting Started.lvproj which include this.
best regards
Alexander