Asked — Edited
Resolved Resolved by Rich!

Get Data In/Out Of ARC

I have not ran accrossed this topic yet. Is there anyway to pipe data into and out of the ARC software? My goal is keep the ARC software as is and have a pipe to my own AI software. I realize I could use the SDK to encorporate function, but the ARC is just too pretty the way it is. :D

An example of what I want to do is, lets says I speak the command in the ARC to "track the ball"; I'd like the ARC to pipe out something like "track ball" where my own software can grab that command string and do what ever with it (like store it in a memory database). And likewise if my software issued the command "track ball" the the ARC should read "track ball" coming into the pipe and the ARC software would react to it as if I spoke to the command.

In the controls I'm not seeing a clear way to pipe data to/from ARC. Is there a way achive this? Any suggestions?


ARC Pro

Upgrade to ARC Pro

ARC Pro is your passport to a world of endless possibilities in robot programming, waiting for you to explore.

#17  

Another option is to use the EZ-DB module that I wrote. It will allow you to store a variable in a database table, and retrieve a value from a database table. As you are a programmer, this could then be used by an external process to do whatever you want it to do. DJ was working on a way to export an array of all of the variables from ARC. I haven't had time to look to see if this was put into production yet. My plan is that when I have time, I will use this feature to grab all of the variables and store them, still allowing you to retrieve the one that you want by passing command line arguments to the EZ-DB.exe. I've been busy on other projects, but if you would like the code that I have written so far, let me know.

#18  

I'm actually working on my own database for ARC and other 3rd party robotics applications. My goal is to create one that will not require a SQL install.

#19  

That's great. I manage a bunch of DB admins at work so I personally like using MSSQL, but understand the desire not to have to have MSSQL running in an environment. For me, its just convenient.

#20  

Yes indeed SQL great. I too work with SQL. If it was for my own use I'd run a SQL db and be done with it. My goal is to create something that takes database storage and retrieval and make it easy for anyone to use along with having the smallest possible foot print. Not asking for much from my design, am I?

#21  

Its a great idea. Perl and Python would be great for this. C would also be good. Gotta be able to query the data quickly. This is an ambitious project. I cant wait to see how it goes for you. I guess I am not that ambitious at this point. :)

#22  

I have created a small telent sender for .net. you are welcome to it and it is very easy to use. EZ-Telnet.zip

it's very easy to use

Just make a reference to the DLL in your project then use a command like this to send data to ezb after setting up the TCP like sinstructed above.

EZ_Telnet.EZBTelnetClient.SendCommand("192.168.1.124","6666", "$thisvar = 1")

if you are looking at the variable watch you will see the new variable show up with its value. you can also send commands that trigger scripts or other ex-scripting command.