Page 1 of 1

Digital I/O not work ...

Posted: Fri Jan 15, 2016 4:23 pm
by accobrasp
Hello, I try to manipulate digital input/output of my RP, under Labview.
It works very well with leds, but when I use the DIG IO takes place absolutely nothing.
Did anybody try?

DIO0_N is him well the correct name for the pin 4 of E1?

Thank you

Re: Digital I/O not work ...

Posted: Sun Jan 17, 2016 2:20 pm
by Primoz Perusek
Last month the there was an update of the LabVIEW driver for Red Pitaya. If you have an older version, then you should download the new one from the link: http://redpitaya.com/control/?with=labview

If that doesn't solve your problem, then there might be a bug in LV driver

Re: Digital I/O not work ...

Posted: Sun Jan 17, 2016 2:36 pm
by Nils Roos
It would be helpful to know what you are actually trying to do. Do you try to set a GPIO to 1 and don't observe any change on the pin ?
DIO0_N is him well the correct name for the pin 4 of E1?
Yes.

By default, the GPIOs are set to be inputs. Calling "DIG:PIN DIO0_N,1" without first changing the ports direction to output will fail with an error.

edit: There are inconsistencies between the scpi-server and the documentation regarding GPIOs. See this post for details.