From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing io direction of fpga resource

Solved!
Go to solution

Hi All,

I'm working with a cRio 9056 with a ni 9321 module. I'm using the fpga to generate pulses with the dio pins so I need to use them as digital outputs.

 

I'm not quite acclimated to FPGA and I'm struggling with one small problem. When I try to change the DIO type from input to output, the table in the properties section changes, but the actual object in the block diagram is still an input type. How do I fix this?

 

I've tried removing the module from the project and adding it again. I've tried restarting LabVIEW, the computer, and the cRIO.

 

 

loomisa6_1-1678479497068.png

 

 

 

loomisa6_3-1678479497065.png

 

 

0 Kudos
Message 1 of 2
(603 Views)
Solution
Accepted by topic author loomisa6

It seems I found a solution. This seems to brute force it to output data.

 

loomisa6_0-1678833423429.png

I got the idea from here:

https://www.ni.com/docs/en-US/bundle/labview-fpga-module/page/lvfpgaconcepts/performing_basic_i_o.ht...

 

Edit: as a note, the vi had to be in the same folder as the DIO resources. In this case, it was in the Mod3 folder.

0 Kudos
Message 2 of 2
(566 Views)