LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting FPGA Digital Output Pin to High with LabVIEW

I am trying to test my hardware setup, comprised of a 7972R FPGA module with a 5751B Adaptor module by setting a digital output pin to high and reading it with a multimeter.

 

I have attempted to do this by giving a FPGA digital output node (D0 0) a True constant FPGA item, and enclosing this inside of a while loop which is constantly running. 

 

I have compiled this onto my FPGA, which has the adaptor module's digital IO connector plugged into a breakout box. However, I can only read 0V off of the associated pin. Is there something wrong with my setup, file tree, or code?

santa15_1-1751535691942.pngsanta15_2-1751535710258.png

 

santa15_0-1751535614504.png

 

0 Kudos
Message 1 of 4
(124 Views)

It's been a long time since I worked with FPGA, but I think there was a node to configure a pin as input or output.

0 Kudos
Message 2 of 4
(92 Views)

The nodes for the 7972R are explicity either input or output. I know that the one I'm using here is an output node, so that isn't the issue. I'm thinking about trying to simulate it somehow to see whether the logic is correct

0 Kudos
Message 3 of 4
(83 Views)

@santa15 wrote:

The nodes for the 7972R are explicity either input or output. I know that the one I'm using here is an output node, so that isn't the issue. I'm thinking about trying to simulate it somehow to see whether the logic is correct


Well, to be correct:

- On the 7972R there are 136 general-purpose digital input/output channels.
https://www.ni.com/docs/en-US/bundle/pxie-7972-specs/resource/374544a.pdf 

 

- On the 5751B there are explicit input or output pins

https://www.ni.com/docs/en-US/bundle/ni-5751-5751b-getting-started/page/pinout-signal-information.ht... 

 

I have no experience with this device and this adapter and I don't know how this fits together, but since you use 'IO Module DO0' you might be correct that this is not your issue.

0 Kudos
Message 4 of 4
(67 Views)