How to Program GPIO

Hi all,

I was recently handed a Digi Connect EM Integration kit and told to figure out how to program the GPIO port. I need to be able to control 8 of the GPIO pins.

I figured out how to set up the switches on the board, and via the web interface configure/set the GPIO pins. However, I need to be able to do this programmatically. Is there some sample code out there somewhere to do this? I’ll take something in any C variant. LabVIEW would be even better. If it matters, I’m running Windows XP.

Cat

You need to POST and RCI request to change the GPIO (http://ftp1.digi.com/support/documentation/90000569_d.pdf). Attached is a C example of how to put together and make that RCI POST.