07-03-2025 04:42 AM
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?
07-03-2025 06:54 AM - edited 07-03-2025 06:55 AM
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.
07-03-2025 07:09 AM
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
07-03-2025 07:42 AM
@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
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.