Tango on an embedded system
|
|
---|---|
I've suggested you the scpi because there is a device already made. Other options perhaps can be found in the Communications set of device servers in the repository. |
|
|
---|---|
|
I'm ok to use it but I don't know how… Could you give some explanation? may be with a scheme or something like that. |
|
|
---|---|
you definitely can't run any DeviceServer on mbed target (lack of resource : embedding Tango requires multithreading capabilities that mbed-rtos can not achieve, and in addition to linux OS, some "exotic libraries" (high efficiency sockets : zmq, omniorb4 middleware) are required ; BTW raspberry pi is ok to built an inexpensive and powerfull (pi2)tango server) so what you need is to build is a bridge between your mbed peripheral and a TangoDeviceServer host running linux (preferably) or windows (use visualstudio 2012, not 2013) links between the two can be RS232-COM, ethernet, (or even i2c, spi, … look for SeriaLine DeviceServer code source then from a remote machine(tango enabled), with Jive, you connect, using LAN, to your host (tango enabled, running your custom DeviceServer or SerialLine) which is itself connected to mbed by COM. see this example (arduino in place of mbed) your tango host (any linux machine 32/64 bits) can be a virtual machine (virtualbox or vmware) : easy to build on ubuntu (sudo apt-get install libtango8-dev and some other pacakges and your are done). We have even a vdi if you want. This is the way to go. keep on, You will learn a lot with Tango |
|
|
---|---|
|
Thank you raph38130! So if I resume: —————- ——————- ————- | Remote machine |——————–>| Tango Device Host |——-TCP/IP——->| Mbed System | | (JIVE) | | —————— ————- —————- | | ——————- ————- —————–>| Tango Device Host |——-TCP/IP——->| Mbed System | | —————— ————- | ——————- ————- —————–>| Tango Device Host |——-TCP/IP——->| Mbed System | | —————— ————- Is it like that? If true, it seems to be difficult to me because I have a lot of same embedded system. So I can't have a lot of Tango device Host. I'm reading your document now. |
|
|
---|---|
|
Oops sorry Remote machine -> Tango Device Host -TCP/IP—> Mbed System -> Tango Device Host -TCP/IP—> Mbed System -> Tango Device Host -TCP/IP—> Mbed System |
|
|
---|---|
alexandre |
|
|
---|---|
sorry I can't post image … previous sketch should be resized (edit to see actual size) |
|
|
---|---|
|
yes me too I can't post image |
|
|
---|---|
BTW where are you working/studying ? |
|
|
---|---|
|
France/Le Mans Why? |