Real Time access to ECIO40
Posted: Mon Jun 22, 2009 11:10 am
Hello All!!
I have a ECIO40P and I'm wondering how can I access to the I/O pins in real time. I need to updated the output pins and to read the input pins several times during the execution of my program. Please notice that I need to read from the ECIOC to the PC and from the PC to theECIO, and that must be in real time. I want to update the I/O pins in te ECIO from the PC.
At the moment, I use a free version of flowcode V3.6.11.53. I'm able to flash some programs I made and run it with no problem... but I really need to acces from the PC to the I/O pins in the ECIO in real time, I need to read the pins in the time of micro seconds. Is it possible? Can I do it?
I remember to make a program that connects with the PC USB port where the ECIO40 is attached and that same program sends commands to the ECIO40 in order to read and write in is I/O pins. The program mentioned can be done in C or java... but how do I send the comands from the PC to the ECIO40 in real time and during the program execution? Can I use flowcode or ECIOprog.exe? Is there any examples for this?
I also notice that the ECIO40 disconnect from the USB port by itself. I connect it but it only keeps connected for some seconds. It only remain connected when the ECIOprog.exe program is running. Is that normal? the jumper in the ECIO40 is set to USB.
Can you give me some help?
Thanks in advanced!
Γ‚ngela
I have a ECIO40P and I'm wondering how can I access to the I/O pins in real time. I need to updated the output pins and to read the input pins several times during the execution of my program. Please notice that I need to read from the ECIOC to the PC and from the PC to theECIO, and that must be in real time. I want to update the I/O pins in te ECIO from the PC.
At the moment, I use a free version of flowcode V3.6.11.53. I'm able to flash some programs I made and run it with no problem... but I really need to acces from the PC to the I/O pins in the ECIO in real time, I need to read the pins in the time of micro seconds. Is it possible? Can I do it?
I remember to make a program that connects with the PC USB port where the ECIO40 is attached and that same program sends commands to the ECIO40 in order to read and write in is I/O pins. The program mentioned can be done in C or java... but how do I send the comands from the PC to the ECIO40 in real time and during the program execution? Can I use flowcode or ECIOprog.exe? Is there any examples for this?
I also notice that the ECIO40 disconnect from the USB port by itself. I connect it but it only keeps connected for some seconds. It only remain connected when the ECIOprog.exe program is running. Is that normal? the jumper in the ECIO40 is set to USB.
Can you give me some help?
Thanks in advanced!
Γ‚ngela