I have configured the input using an external s/w connected to a 5v pull up resistor as shown in Fig 2.11 on page 2-18 of the 7831 manual. With the switch open 5v is placed on DIO0 and with the s/w closed DIO0 is pulled down to GND.
I am using a very basic FPGA VI to read the digital input which consists of an fpga analogue input block with an led wired to the output of the block,so i can see the change in state.
But when i run the VI (in emualtion or a compiled program) the output of the led flashes when supposed to be in the ON state i.e. the s/w closed. With the s/w open and 5v placed on the DIO0 the led is OFF,as expected.
I have tried a 100k and 5k6 as pull up resistors.
I have even tried using a digital enable block with the input set to false even though the manuals say that the default is false but still the same symptoms.
Regards