No IOR found in database for "esrf/serial/21"

Hello,
I'm starting the implementation of TANGO in my working environment. My first goal is to establish a communication with an Arduino to display temperature readings on the screen. I've been following the tutorial available in https://tango-controls.readthedocs.io/en/latest/_downloads/231fded20c5d81aa5eb78921bda54fdd/doctpv2.pdf. I managed to create the device server Serial/lap21 with the Serial class and the esrf/serial/21 device. The problem starts when I click on the device esrf/serial/21 in JIVE to show its Device Info and Polling Status. In the tutorial, it shows the device port number and other information as in Figure 1.

Figure 1:
TANGO-UBUNTU - Erro no JIVE.png

In my case, it shows the following error: “No IOR found in database for esrf/serial/21 (Maybe, the device has never been exported…)”, as shown in Figure 2.

Figure 2:
TANGO-UBUNTU - Erro no JIVE(tutorial).png
My questions are:
1) Do I have to export the device? How do I do that?
2) The tutorial mentions a C++ executable called “Serial”. Do I have to generate it? How would I do that?
3) There may be some differences between the most recent stable version of Tango and the version used in the tutorial. I downloaded Tango from SourceForge recently and I have JIVE 7.1.0 and POGO 9.3.4 running on Ubuntu 18.04. The tutorial uses JIVE 5.6 and POGO 8.4.6. Does this difference between versions affect the tutorial I’m following?
Thanks in advance for your attention!"
FabioFreiJedi
My questions are:
1) Do I have to export the device? How do I do that?

Hi,

To export the device, you need to start up the corresponding device server (Serial/lap21) on the host where is connected the serial line you'd like to control.
Execute the Serial device server executable, passing the instance name "lap21" as parameter.
You'll need to ensure your TANGO_HOST environment variable is set to PenasSI-15R:10000 before starting the device server.

FabioFreiJedi
2) The tutorial mentions a C++ executable called “Serial”. Do I have to generate it? How would I do that?

Yes, you'll need this executable. I don't know whether this is this Serial tango class, but you can find one here: https://gitlab.com/tango-controls/device-servers/DeviceClasses/communication/SerialLine
FabioFreiJedi
3) There may be some differences between the most recent stable version of Tango and the version used in the tutorial. I downloaded Tango from SourceForge recently and I have JIVE 7.1.0 and POGO 9.3.4 running on Ubuntu 18.04. The tutorial uses JIVE 5.6 and POGO 8.4.6. Does this difference between versions affect the tutorial I’m following?

There might be some small differences in the appearance but I think all the main features described in this tutorial didn't change in the recent versions of jive and Pogo.

Hoping this helps a bit,
Reynald
Rosenberg's Law: Software is easy to make, except when you want it to do something new.
Corollary: The only software that's worth making is software that does something new.
 
Register or login to create to post a reply.