You can subscribe to this list here.
2015 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(6) |
Jul
(16) |
Aug
(8) |
Sep
(2) |
Oct
(1) |
Nov
(9) |
Dec
(2) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2016 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
|
May
|
Jun
(3) |
Jul
(3) |
Aug
(1) |
Sep
(3) |
Oct
|
Nov
(4) |
Dec
|
2017 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
(2) |
Jul
(1) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
(3) |
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2023 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(2) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(3) |
Dec
(3) |
2024 |
Jan
|
Feb
(3) |
Mar
(2) |
Apr
(3) |
May
(4) |
Jun
(3) |
Jul
(2) |
Aug
|
Sep
(2) |
Oct
|
Nov
(2) |
Dec
(2) |
2025 |
Jan
(1) |
Feb
(2) |
Mar
(2) |
Apr
(2) |
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Carlos P. <cpa...@ce...> - 2015-07-21 22:14:32
|
Hi Binit, ATK does its own reads (it does not wait for the tango polling events), and without further details about how you do it on the "command line", I must assume that you refer to doing explicit calls to read_attribute on a PyTango.DeviceProxy (which would be equivalent to what ATK is doing). So, it looks like the problem is that you are not properly activating the Tango polling period for the attribute you want to read in your DS, and taurus is simply using its own polling period in absence Tango polling. Please report the output for both of the attached scripts (edit the device and attr names first to match your own!). If testpolling1,py reports that the attribute is not polled, make sure that you followed my instructions from the previous email... and if that doesn't work, contact the Tango mailing list for help on how to activate the Tango polling, because I am out of ideas. Cheers, Carlos On Tue 21 July 2015 11:15:27 Binit Amin wrote: > Hi Carlos, > > >In order to have polling events sent, you have to: > >a) set a polling period (see e.g. "float_scalar" in snapshot1.png) > >b) set the thresholds (see e.g. "float_scalar" in snapshot2.png) > > I had already done the same settings on my Jive DS. It reflects > changes on the ATK panel as well as on the command line, but still > GUI takes 3 sec to updates Taurus label. > > I want to update my GUI also on every seconds not only the Jive ATK > panel. Your suggested procedure won't update GUI on every second. > >(...) > > > > taurus.changeDefaultPollingPeriod(period_in_ms) > > > > -- This works as expected. It updates GUI as well as command line in > > one second as I have set: taurus.changeDefaultPollingPeriod(1000) > > > > Regarding your suggestion to set the pooling period of 1 second in > > jive, I tried that but It seems problem in updating GUI, where as > > command line is updating in every one second. I don't know what did > > i > > missed when I set pooling period in jive 1000 ms. > > (...) > > There is one "hidden" trick about Change events in Tango: Tango will > only send a change event if the value has changed more than some given > relative or absolute thresholds. > These thresholds can be set via jive for the attributes of a device > going to the "Event" branch of the device-->"Change event" tab (see > attached snapshot) > > By default, the thresholds are set to None, so no events get > processed. > > In order to have polling events sent, you have to: > a) set a polling period (see e.g. "float_scalar" in snapshot1.png) > b) set the thresholds (see e.g. "float_scalar" in snapshot2.png) > > > I hope this helps, > > Carlos > > > -- > > Thanks & Regards > > Binit Amin > > Assistant System Engineer > > TATA Consultancy Services > > Cellno: +91-7276974159 > > Mailto: bin...@tc... > > Website: http://www.tcs.com > > > > > > ----- Original Message ----- > > From: "Carlos Pascual" <cpa...@ce...> > > To: tau...@li... > > Cc: "Nexeya TANGO Team" <TA...@ne...>, "Binit Amin" > > <bin...@tc...> Sent: Wednesday, July 8, 2015 12:19:26 PM > > Subject: Re: [Tauruslib-users] Maximum required time to update > > Taurus > > label. > > > > > > Hi, I just want to give some extra information about polling in > > Taurus: > > > > As Sebastien said, the default polling period of taurus is 3s and > > can > > be changed with > > > > taurus.changeDefaultPollingPeriod(period_in_ms) > > > > The above will set the taurus polling period (i.e. an active > > periodic > > read by the *client*). This affects to *all* attributes for the > > given > > client, and therefore setting it to a too short period if the client > > connects to a lot of servers may not be a good idea (note: taurus > > optimizes the polling by reading all attributes from a given device > > at once). > > > > But taurus polling is not the only way to go: you can use the Tango > > polling system (i.e. at server level), which can be configured > > independently for each attribute of a device via jive. See section > > 9.2 of [1]. Note that in this case, the polling will be set at > > attribute level *but for all clients*. > > > > Apart from that, it is always worth to consider programming your > > device servers to push events (see section 9.4 of [1]). This way, > > instead of periodic polling you will get updated values as soon as > > they change and you save bandwidth when the values do not change. We > > at Alba push events in devices such as motors in which we want to > > see > > very quick updates of the position when they are moving but which > > may > > stay at one position without moving for months. > > > > Taurus handles this "intelligently" and it will only activate its > > own > > polling for a given attribute if neither Tango polling is active nor > > events are pushed at the server. > > > > > > [1] > > http://www.esrf.eu/computing/cs/tango/tango_doc/kernel_doc/ds_prog/n > > od e10.html > > > > I hope that helps. > > > > Cheers, > > > > Carlos > > > > On Tue 7 July 2015 12:11:16 Nexeya TANGO Team wrote: > > > Hi, > > > > > > There is a method for changing the polling period which is 3s by > > > default. > > > > > > You will have to insert this into your application. > > > Import taurus # if it isn’t already imported > > > taurus.changeDefaultPollingPeriod(500) > > > > > > > > > Sébastien GARA > > > Ingénieur d'études - Formateur TANGO > > > NEXEYA SYSTEMS > > > Une société de NEXEYA > > > 24 Avenue de Pasleck > > > CS 30019 > > > 16400 La Couronne > > > ---------------------------------- > > > Tel: 33 (0)5.45.24.22.36 > > > Afin de contribuer au respect de l'environnement, merci de > > > n'imprimer > > > ce courriel qu'en cas de nécessité. > > > > Ce message et les fichiers > > > > > pouvant être attachés sont confidentiels, réservés à l'usage > > > unique > > > des destinataires et n'engagent NEXEYA sous aucune forme que ce > > > soit. > > > This email and any files transmitted with it are confidential, > > > intented solely for the unique use of the recipients and don't > > > commit > > > NEXEYA. > > > De : Binit Amin [mailto:bin...@tc...] > > > Envoyé : mardi 7 juillet 2015 12:13 > > > À : tau...@li... > > > Objet : [Tauruslib-users] Maximum required time to update Taurus > > > label. > > > > > > Hello All, > > > > > > I want to know, what is the maximum time taurus label takes to > > > update > > > its values, when it is connected with the device server. Because > > > when > > > I connecting my taurus label it takes little bit time to update > > > its > > > value. > > > > > > For checking purpose I try using one clock Programming and update > > > taurus label and It's maximum of 3 sec in my system. > > > > Is this correct > > > > > delay period for each system or is this time period is system > > > dependent, because I had tried on other system also. and it is > > > same. > > > If yes then is there any way to decrease that delay time to 1 > > > second?? > > > > > > FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 > > > Attachment includes the video of displaying delay in time because > > > of > > > refreshing period of taurus label. > > > > > > Any help is appreciable. > > > > > > -- > > > Thanks & Regards > > > Binit Amin > > > Assistant System Engineer > > > TATA Consultancy Services > > > Cellno: +91-7276974159 > > > Mailto: bin...@tc...<mailto:bin...@tc...> > > > Website: http://www.tcs.com > > > > > > =====-----=====-----===== > > > Notice: The information contained in this e-mail > > > message and/or attachments to it may contain > > > confidential or privileged information. If you are > > > not the intended recipient, any dissemination, use, > > > review, distribution, printing or copying of the > > > information contained in this e-mail message > > > and/or attachments to it are strictly prohibited. If > > > you have received this communication in error, > > > please notify us by reply e-mail or telephone and > > > immediately and permanently delete the message > > > and any attachments. Thank you > > > > -- > > +----------------------------------------------------+ > > > > Carlos Pascual Izarra > > Scientific Software Coordinator > > Computing Division > > ALBA Synchrotron [http://www.albasynchrotron.es] > > Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 > > E-08290 Cerdanyola del Valles (Barcelona), Spain > > E-mail: cpa...@ce... > > Phone: +34 93 592 4428 > > > > +----------------------------------------------------+ > > > > -- > > Thanks & Regards > > Binit Amin > > Assistant System Engineer > > TATA Consultancy Services > > Cellno: +91-7276974159 > > Mailto: bin...@tc... > > Website: http://www.tcs.com -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Carlos P. <cpa...@ce...> - 2015-07-14 07:23:17
|
Hi Binit, Note: I am replying with copy to the list because I think this can be of interest for other people as well. See my reply below: On Tue 14 July 2015 11:30:19 Binit Amin wrote: >(...) > taurus.changeDefaultPollingPeriod(period_in_ms) > > -- This works as expected. It updates GUI as well as command line in > one second as I have set: taurus.changeDefaultPollingPeriod(1000) > > Regarding your suggestion to set the pooling period of 1 second in > jive, I tried that but It seems problem in updating GUI, where as > command line is updating in every one second. I don't know what did i > missed when I set pooling period in jive 1000 ms. > (...) There is one "hidden" trick about Change events in Tango: Tango will only send a change event if the value has changed more than some given relative or absolute thresholds. These thresholds can be set via jive for the attributes of a device going to the "Event" branch of the device-->"Change event" tab (see attached snapshot) By default, the thresholds are set to None, so no events get processed. In order to have polling events sent, you have to: a) set a polling period (see e.g. "float_scalar" in snapshot1.png) b) set the thresholds (see e.g. "float_scalar" in snapshot2.png) I hope this helps, Carlos > -- > Thanks & Regards > Binit Amin > Assistant System Engineer > TATA Consultancy Services > Cellno: +91-7276974159 > Mailto: bin...@tc... > Website: http://www.tcs.com > > > ----- Original Message ----- > From: "Carlos Pascual" <cpa...@ce...> > To: tau...@li... > Cc: "Nexeya TANGO Team" <TA...@ne...>, "Binit Amin" > <bin...@tc...> Sent: Wednesday, July 8, 2015 12:19:26 PM > Subject: Re: [Tauruslib-users] Maximum required time to update Taurus > label. > > > Hi, I just want to give some extra information about polling in > Taurus: > > As Sebastien said, the default polling period of taurus is 3s and can > be changed with > > taurus.changeDefaultPollingPeriod(period_in_ms) > > The above will set the taurus polling period (i.e. an active periodic > read by the *client*). This affects to *all* attributes for the given > client, and therefore setting it to a too short period if the client > connects to a lot of servers may not be a good idea (note: taurus > optimizes the polling by reading all attributes from a given device at > once). > > But taurus polling is not the only way to go: you can use the Tango > polling system (i.e. at server level), which can be configured > independently for each attribute of a device via jive. See section 9.2 > of [1]. Note that in this case, the polling will be set at attribute > level *but for all clients*. > > Apart from that, it is always worth to consider programming your > device servers to push events (see section 9.4 of [1]). This way, > instead of periodic polling you will get updated values as soon as > they change and you save bandwidth when the values do not change. We > at Alba push events in devices such as motors in which we want to see > very quick updates of the position when they are moving but which may > stay at one position without moving for months. > > Taurus handles this "intelligently" and it will only activate its own > polling for a given attribute if neither Tango polling is active nor > events are pushed at the server. > > > [1] > http://www.esrf.eu/computing/cs/tango/tango_doc/kernel_doc/ds_prog/nod > e10.html > > I hope that helps. > > Cheers, > > Carlos > > On Tue 7 July 2015 12:11:16 Nexeya TANGO Team wrote: > > Hi, > > > > There is a method for changing the polling period which is 3s by > > default. > > > > You will have to insert this into your application. > > Import taurus # if it isn’t already imported > > taurus.changeDefaultPollingPeriod(500) > > > > > > Sébastien GARA > > Ingénieur d'études - Formateur TANGO > > NEXEYA SYSTEMS > > Une société de NEXEYA > > 24 Avenue de Pasleck > > CS 30019 > > 16400 La Couronne > > ---------------------------------- > > Tel: 33 (0)5.45.24.22.36 > > Afin de contribuer au respect de l'environnement, merci de > > n'imprimer > > ce courriel qu'en cas de nécessité. > > Ce message et les fichiers > > > pouvant être attachés sont confidentiels, réservés à l'usage unique > > des destinataires et n'engagent NEXEYA sous aucune forme que ce > > soit. > > This email and any files transmitted with it are confidential, > > intented solely for the unique use of the recipients and don't > > commit > > NEXEYA. > > De : Binit Amin [mailto:bin...@tc...] > > Envoyé : mardi 7 juillet 2015 12:13 > > À : tau...@li... > > Objet : [Tauruslib-users] Maximum required time to update Taurus > > label. > > > > Hello All, > > > > I want to know, what is the maximum time taurus label takes to > > update > > its values, when it is connected with the device server. Because > > when > > I connecting my taurus label it takes little bit time to update its > > value. > > > > For checking purpose I try using one clock Programming and update > > taurus label and It's maximum of 3 sec in my system. > > Is this correct > > > delay period for each system or is this time period is system > > dependent, because I had tried on other system also. and it is same. > > If yes then is there any way to decrease that delay time to 1 > > second?? > > > > FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 > > Attachment includes the video of displaying delay in time because of > > refreshing period of taurus label. > > > > Any help is appreciable. > > > > -- > > Thanks & Regards > > Binit Amin > > Assistant System Engineer > > TATA Consultancy Services > > Cellno: +91-7276974159 > > Mailto: bin...@tc...<mailto:bin...@tc...> > > Website: http://www.tcs.com > > > > =====-----=====-----===== > > Notice: The information contained in this e-mail > > message and/or attachments to it may contain > > confidential or privileged information. If you are > > not the intended recipient, any dissemination, use, > > review, distribution, printing or copying of the > > information contained in this e-mail message > > and/or attachments to it are strictly prohibited. If > > you have received this communication in error, > > please notify us by reply e-mail or telephone and > > immediately and permanently delete the message > > and any attachments. Thank you > > -- > +----------------------------------------------------+ > Carlos Pascual Izarra > Scientific Software Coordinator > Computing Division > ALBA Synchrotron [http://www.albasynchrotron.es] > Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 > E-08290 Cerdanyola del Valles (Barcelona), Spain > E-mail: cpa...@ce... > Phone: +34 93 592 4428 > +----------------------------------------------------+ > > -- > Thanks & Regards > Binit Amin > Assistant System Engineer > TATA Consultancy Services > Cellno: +91-7276974159 > Mailto: bin...@tc... > Website: http://www.tcs.com -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Carlos P. <cpa...@ce...> - 2015-07-08 06:49:53
|
Hi, I just want to give some extra information about polling in Taurus: As Sebastien said, the default polling period of taurus is 3s and can be changed with taurus.changeDefaultPollingPeriod(period_in_ms) The above will set the taurus polling period (i.e. an active periodic read by the *client*). This affects to *all* attributes for the given client, and therefore setting it to a too short period if the client connects to a lot of servers may not be a good idea (note: taurus optimizes the polling by reading all attributes from a given device at once). But taurus polling is not the only way to go: you can use the Tango polling system (i.e. at server level), which can be configured independently for each attribute of a device via jive. See section 9.2 of [1]. Note that in this case, the polling will be set at attribute level *but for all clients*. Apart from that, it is always worth to consider programming your device servers to push events (see section 9.4 of [1]). This way, instead of periodic polling you will get updated values as soon as they change and you save bandwidth when the values do not change. We at Alba push events in devices such as motors in which we want to see very quick updates of the position when they are moving but which may stay at one position without moving for months. Taurus handles this "intelligently" and it will only activate its own polling for a given attribute if neither Tango polling is active nor events are pushed at the server. [1] http://www.esrf.eu/computing/cs/tango/tango_doc/kernel_doc/ds_prog/node10.html I hope that helps. Cheers, Carlos On Tue 7 July 2015 12:11:16 Nexeya TANGO Team wrote: > Hi, > > There is a method for changing the polling period which is 3s by > default. > You will have to insert this into your application. > Import taurus # if it isn’t already imported > taurus.changeDefaultPollingPeriod(500) > > > Sébastien GARA > Ingénieur d'études - Formateur TANGO > NEXEYA SYSTEMS > Une société de NEXEYA > 24 Avenue de Pasleck > CS 30019 > 16400 La Couronne > ---------------------------------- > Tel: 33 (0)5.45.24.22.36 > Afin de contribuer au respect de l'environnement, merci de n'imprimer > ce courriel qu'en cas de nécessité. Ce message et les fichiers > pouvant être attachés sont confidentiels, réservés à l'usage unique > des destinataires et n'engagent NEXEYA sous aucune forme que ce soit. > This email and any files transmitted with it are confidential, > intented solely for the unique use of the recipients and don't commit > NEXEYA. > De : Binit Amin [mailto:bin...@tc...] > Envoyé : mardi 7 juillet 2015 12:13 > À : tau...@li... > Objet : [Tauruslib-users] Maximum required time to update Taurus > label. > Hello All, > > I want to know, what is the maximum time taurus label takes to update > its values, when it is connected with the device server. Because when > I connecting my taurus label it takes little bit time to update its > value. > For checking purpose I try using one clock Programming and update > taurus label and It's maximum of 3 sec in my system. Is this correct > delay period for each system or is this time period is system > dependent, because I had tried on other system also. and it is same. > If yes then is there any way to decrease that delay time to 1 > second?? > FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 > Attachment includes the video of displaying delay in time because of > refreshing period of taurus label. > Any help is appreciable. > > -- > Thanks & Regards > Binit Amin > Assistant System Engineer > TATA Consultancy Services > Cellno: +91-7276974159 > Mailto: bin...@tc...<mailto:bin...@tc...> > Website: http://www.tcs.com > > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Nexeya T. T. <TA...@ne...> - 2015-07-07 12:23:58
|
Hi, There is a method for changing the polling period which is 3s by default. You will have to insert this into your application. Import taurus # if it isn’t already imported taurus.changeDefaultPollingPeriod(500) Sébastien GARA Ingénieur d'études - Formateur TANGO NEXEYA SYSTEMS Une société de NEXEYA 24 Avenue de Pasleck CS 30019 16400 La Couronne ---------------------------------- Tel: 33 (0)5.45.24.22.36 Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de nécessité. Ce message et les fichiers pouvant être attachés sont confidentiels, réservés à l'usage unique des destinataires et n'engagent NEXEYA sous aucune forme que ce soit. This email and any files transmitted with it are confidential, intented solely for the unique use of the recipients and don't commit NEXEYA. De : Binit Amin [mailto:bin...@tc...] Envoyé : mardi 7 juillet 2015 12:13 À : tau...@li... Objet : [Tauruslib-users] Maximum required time to update Taurus label. Hello All, I want to know, what is the maximum time taurus label takes to update its values, when it is connected with the device server. Because when I connecting my taurus label it takes little bit time to update its value. For checking purpose I try using one clock Programming and update taurus label and It's maximum of 3 sec in my system. Is this correct delay period for each system or is this time period is system dependent, because I had tried on other system also. and it is same. If yes then is there any way to decrease that delay time to 1 second?? FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 Attachment includes the video of displaying delay in time because of refreshing period of taurus label. Any help is appreciable. -- Thanks & Regards Binit Amin Assistant System Engineer TATA Consultancy Services Cellno: +91-7276974159 Mailto: bin...@tc...<mailto:bin...@tc...> Website: http://www.tcs.com =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
From: Binit A. <bin...@tc...> - 2015-07-07 10:14:49
|
Hello All, I want to know, what is the maximum time taurus label takes to update its values, when it is connected with the device server. Because when I connecting my taurus label it takes little bit time to update its value. For checking purpose I try using one clock Programming and update taurus label and It's maximum of 3 sec in my system. Is this correct delay period for each system or is this time period is system dependent, because I had tried on other system also. and it is same. If yes then is there any way to decrease that delay time to 1 second?? FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 Attachment includes the video of displaying delay in time because of refreshing period of taurus label. Any help is appreciable. -- Thanks & Regards Binit Amin Assistant System Engineer TATA Consultancy Services Cellno: +91-7276974159 Mailto: bin...@tc... Website: http://www.tcs.com =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
From: Sergi R. <sr...@ce...> - 2015-07-03 08:34:10
|
Hi, The TaurusPropTable is a quite old widget, it works well if you use it this way: from taurus.qt.qtgui.application import TaurusApplication from taurus.qt.qtgui.table import TaurusPropTable app = TaurusApplication() device = 'your/device/name' props = TaurusPropTable() props.setTable(device) props.show() app.exec_() You must use setTable() to attach the widget; setModel() doesn't work because this class is using Database as model when it should be using Device instead. I'll create a sourceforge ticket for that. Sergi On 07/02/2015 02:55 PM, Carlos Pascual wrote: > Hi Binit, > > I must confess that this is the first time I hear about TaurusPropTable. > AFAIK, it is a rather private widget only used by taurusdevicetree (and > only in some non-standard configurations) > > I tried to test it and couldn't make it work. > > The only person I know who *may* use it is Sergi Rubio. Maybe he can > explain something (I am forwarding this to him). > > Cheers! > > Ps: whenever possible, please try to use TangoTest for your questions > instead of a custom DS. This will make it easier for us to test. > > On Thu 2 July 2015 17:05:20 Binit Amin wrote: >> Hi All, >> >> >> I need help regarding TaurusPropTable. I have to attach model to the >> property of the TaurusPropTable. Consider that I have 2 property >> namely - fullName, marks. >> In back-end these properties are connected with the Tango device >> server. I want to connect this 2 parameter with TaurusPropTable. >> >> Attachment includes Java Program for Tango Device Server and auto >> generated Python code for PyQt4. >> >> I had search on net but won't be able to find much on TaurusPropTable. >> It would be great if any one can give me one small example on >> TaurusPropTable with two or three Property. |
From: Carlos P. <cpa...@ce...> - 2015-07-03 06:50:57
|
On Thu 2 July 2015 19:03:43 Binit Amin wrote: > Hi Carlos, > > Thank You for forwarding my doubt to Sergi Rubio. > > Actually I have a requirement in that some device server > parameter/property have to show in table. In that case I can use > Table View Or TaurusPropTable. As of now, Taurus does not do anything more (poll, auto-update, etc) than what tango does for Tango device properties (as opposed to what it does for Tango attributes). Very recently there was a proposal for Taurus to handle tango device properties as TaurusAttributes, which I think it is a good idea, but will take some time to do unless someone else sends a patch. > > For displaying this device server parameter/property in table view, I > have to write proxy for each and every parameter in Python GUI code. > But the problem is that it won't update automatically if I write > device proxy. I have to attach some extra code so that my parameter > works same as TaurusLable. And I don't know how to update it > continuously. -- I think this Question were asked by kalyani once > "QLable not updating the values when connected to device server" > > So if you can suggest how to make Qlabel as tauruslabel or give me > some simple program for that. Note that, in principle, tango device properties are not supposed to change often. That is why events or polling are as important for them as they are for attributes and so, if we want to access them we just do something like: d=taurus.Device(devicename) d.get_property(propertyname) (Note: the TaurusDevice.get_property method comes straight from the underlying PyTango.DeviceProxy object) To sum up: - If you need continuous updates, consider using tango attributes rather than tango properties in your DS (then your client can use any taurus widget that supports attributes as its model) - If that is not possible, you need to implement some manual polling of the property yourself by periodically reading it -... or wait for Taurus to implement the "magic" of transparently converting the tango properties into TaurusAttributes Cheers, Carlos > > Till now you were very much helpful in solving my doubts. > Really I am very grateful to you for your help. > > Thanks once again. > > ----- Original Message ----- > From: "Carlos Pascual" <cpa...@ce...> > To: tau...@li... > Sent: Thursday, July 2, 2015 6:25:12 PM > Subject: Re: [Tauruslib-users] How to attach Model to the different > property of TaurusPropTable > > Hi Binit, > > I must confess that this is the first time I hear about > TaurusPropTable. AFAIK, it is a rather private widget only used by > taurusdevicetree (and only in some non-standard configurations) > > I tried to test it and couldn't make it work. > > The only person I know who *may* use it is Sergi Rubio. Maybe he can > explain something (I am forwarding this to him). > > Cheers! > > Ps: whenever possible, please try to use TangoTest for your questions > instead of a custom DS. This will make it easier for us to test. > > On Thu 2 July 2015 17:05:20 Binit Amin wrote: > > Hi All, > > > > > > I need help regarding TaurusPropTable. I have to attach model to the > > property of the TaurusPropTable. Consider that I have 2 property > > namely - fullName, marks. > > In back-end these properties are connected with the Tango device > > server. I want to connect this 2 parameter with TaurusPropTable. > > > > Attachment includes Java Program for Tango Device Server and auto > > generated Python code for PyQt4. > > > > I had search on net but won't be able to find much on > > TaurusPropTable. It would be great if any one can give me one small > > example on TaurusPropTable with two or three Property. -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Carlos P. <cpa...@ce...> - 2015-07-02 12:55:34
|
Hi Binit, I must confess that this is the first time I hear about TaurusPropTable. AFAIK, it is a rather private widget only used by taurusdevicetree (and only in some non-standard configurations) I tried to test it and couldn't make it work. The only person I know who *may* use it is Sergi Rubio. Maybe he can explain something (I am forwarding this to him). Cheers! Ps: whenever possible, please try to use TangoTest for your questions instead of a custom DS. This will make it easier for us to test. On Thu 2 July 2015 17:05:20 Binit Amin wrote: > Hi All, > > > I need help regarding TaurusPropTable. I have to attach model to the > property of the TaurusPropTable. Consider that I have 2 property > namely - fullName, marks. > In back-end these properties are connected with the Tango device > server. I want to connect this 2 parameter with TaurusPropTable. > > Attachment includes Java Program for Tango Device Server and auto > generated Python code for PyQt4. > > I had search on net but won't be able to find much on TaurusPropTable. > It would be great if any one can give me one small example on > TaurusPropTable with two or three Property. -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Binit A. <bin...@tc...> - 2015-07-02 11:35:33
|
Hi All, I need help regarding TaurusPropTable. I have to attach model to the property of the TaurusPropTable. Consider that I have 2 property namely - fullName, marks. In back-end these properties are connected with the Tango device server. I want to connect this 2 parameter with TaurusPropTable. Attachment includes Java Program for Tango Device Server and auto generated Python code for PyQt4. I had search on net but won't be able to find much on TaurusPropTable. It would be great if any one can give me one small example on TaurusPropTable with two or three Property. -- Thanks & Regards Binit Amin Assistant System Engineer TATA Consultancy Services Cellno: +91-7276974159 Mailto: bin...@tc... Website: http://www.tcs.com =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
From: Carlos P. <cpa...@ce...> - 2015-07-02 08:45:15
|
Hi Binit, IMHO these questions are better suited for a general PyQt4 list/forum since they are not specific to taurus at all. I suggest: http://www.riverbankcomputing.com/mailman/listinfo/pyqt or http://stackoverflow.com/questions/tagged/pyqt4 and also: http://doc.qt.io/qt-4.8/index.html Cheers, Carlos On Thu 2 July 2015 13:20:01 Binit Amin wrote: > Hi All, > > > I have some doubts regarding PyQt4. > > > 1) > I am using python with Pyqt4 for making one GUI, in that I have to > attach one Menu-bar. But layout has a center area that is occupied by > the menu-bar of the GUI. I tried making that in Main Window, but I > wont be able to create that in Main Window. That can be possible with > widget templates/Forms. > > > I want to use Main Window templates/Forms with the Menu-Bar at the > center of the page. > > > 2) > If I use Widget templates/Forms instead of Main window and I attach > one Dock Widget, Then how to make that Dock Widget movable on the > screen. I know how to make Dock Widget movable in the Main Window. > > > I want to implement both this features on any of the templates/ Form > at a time. > > > FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 > > > > Any help is appreciated. Thank you! > > > I am attaching one sample program so that you can easily understand > what exactly I want. PFA. -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Binit A. <bin...@tc...> - 2015-07-02 07:51:35
|
Hi All, I have some doubts regarding PyQt4. 1) I am using python with Pyqt4 for making one GUI, in that I have to attach one Menu-bar. But layout has a center area that is occupied by the menu-bar of the GUI. I tried making that in Main Window, but I wont be able to create that in Main Window. That can be possible with widget templates/Forms. I want to use Main Window templates/Forms with the Menu-Bar at the center of the page. 2) If I use Widget templates/Forms instead of Main window and I attach one Dock Widget, Then how to make that Dock Widget movable on the screen. I know how to make Dock Widget movable in the Main Window. I want to implement both this features on any of the templates/ Form at a time. FYI I am using Fedora 19, PyQt 4.11.3, Python 2.7.5, PyTango 8.1.5 Any help is appreciated. Thank you! I am attaching one sample program so that you can easily understand what exactly I want. PFA. -- Thanks & Regards Binit Amin Assistant System Engineer TATA Consultancy Services Cellno: +91-7276974159 Mailto: bin...@tc... Website: http://www.tcs.com =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
From: Carlos P. <cpa...@ce...> - 2015-06-30 09:09:37
|
On Tue 30 June 2015 11:39:41 Kalyani Thigale wrote: > Hi, > I am new to PyTango and taurus. I want to create a Qlable which is > accepting values from device proxy in tango. When I use tauruslable, > the values are updated instantly but in case of Qlable values are not > updating. I want Qlable to be behave just like tauruslable. I am sure > there is something wrong from my side. Could you please correct me if > possible. I am attaching my python file GUI screen showing difference > in values, and java device server file please have a look at it. Hi, In your py code you are using PyTango to just set an initial value to the text of a QLabel. If you wanted the value to be refreshed you would need to register some method of your Qlabel as a callback for events in PyTango...and you would need to be careful in the event subscription/unsubscription... and also take care of many more details... ...BUT this is exactly the kind of stuff that taurus does for you. The key message here is : do *not* use a QLabel for doing what Tauruslabel can do (displaying values from Tango). A TaurusLabel is actually a QLabel (it inherits from QLabel), so most of its methods are accessible. If there is some behaviour of TaurusLabel that does not suit your needs, check if it is already configurable (many things such as background, etc are). If not, subclass TaurusLabel and modify that specific behaviour. I hope that helps Cheers, Carlos PS: apart from the above, from your code I suspect that you may be new to python as well (excuse me if that is not the case) so please allow me to suggest that you familiarize with the following (or equivalent) sources before trying to get into more complex developments: - http://www.taurus-scada.org/en/latest/devel/examples.html - https://docs.python.org/2/tutorial/ - http://www.informit.com/store/rapid-gui-programming-with-python-and-qt-the-definitive-9780132354189 -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Kalyani T. <kal...@tc...> - 2015-06-30 06:10:31
|
Hi, I am new to PyTango and taurus. I want to create a Qlable which is accepting values from device proxy in tango. When I use tauruslable, the values are updated instantly but in case of Qlable values are not updating. I want Qlable to be behave just like tauruslable. I am sure there is something wrong from my side. Could you please correct me if possible. I am attaching my python file GUI screen showing difference in values, and java device server file please have a look at it. -- Thanks And Regards, Kalyani Thigale Tata Consultancy Services Limited Cell:- 9970515616 Mailto: kal...@tc... Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
From: Carlos P. <cpa...@ce...> - 2015-06-26 13:09:39
|
This is a duplicate of the mail from Bini Amin with subject: "Blinking Taurus label ..." (see reply on the other thread) On Fri 26 June 2015 16:54:54 Vikas Kumthekar wrote: > Hello, > > I am trying to connect the Tango with Pyqt. The python file is > attached here. I have created three read-write parameter namely- > mname, lname, fname I have connected this three parameter with taurus > label. When I run my python program and Tango program (written in > Java) file, taurus labels blinks intermittently. > > Just wondering, where am I doing it wrong....Or is this a known issue > with the Taurus Lable in PyQt? > > Any help is appreciated. Thank you! > > Attachment: Screenshot of blinking screens, Py code and Tango code. > -- > Thanks & Regards > > Vikas Hariharrao Kumthekar > Tata Consultancy Services > Bldg.No.7-Unit No- 402,501,601,701,(floors 4th - 7th) > Commerzone Survey No.144/145 > Samrat Ashok Path,Off Airport Road,Yerwada > Pune - 411006,Maharashtra > India > Ph:- +91 20 67055137 > Mailto: vik...@tc... > Website: http://www.tcs.com > ____________________________________________ > Experience certainty. IT Services > Business Solutions > Consulting > ____________________________________________ > =====-----=====-----===== > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Carlos P. <cpa...@ce...> - 2015-06-26 13:07:44
|
Hi Binit, I see that you finally reached the mailing list. Welcome! What I understood from your jar file is: you have a Device Server called FormSubmission written in java. Then you used taurusdesigner to create a python client (Form_Submission_File.py) that connects to 3 attributes from one of your servers. >From what I see the Form_Submission_File.py is pretty straightforward, and I do not see anything wrong with it (other than it does not set a layout, but that should not be relevant). My guess is that the blinking problem is due to the server sending events that cause the TaurusLabels to readjust... But testing the java server is out of my reach right now. Could you try to reproduce this with some other device server (that would make testing by other people easier)? Maybe using the string_scalar attribute of TangoTest (e.g., setting the model of one of your labels to 'sys/tg_test/1/string_scalar')? Also, can you please check if running the following (on the command line) also produces blinks?: taurusform a/b/c/lname a/b/c/fname a/b/c/mname And just out of curiosity: any reason for choosing java to write your servers instead of python? Cheers, Carlos On Fri 26 June 2015 16:33:11 Binit Amin wrote: > Hello, > > > > > Qus :- I am trying to connect the Tango with Pyqt. > I have Made my GUI using PyQt nd the python file is attached here. > I have created three read-write parameter namely- mname, lname, fname > I have connected this three parameter with taurus label. > When I run my python file nd java Tango file, taurus labels blinks > after some interval of times. I need the solution regarding this. > If you can help me. > Please help if possible. > > I am attaching my screenshot of both connected nd not connected. > Please look forward into this. -- +----------------------------------------------------+ Carlos Pascual Izarra Scientific Software Coordinator Computing Division ALBA Synchrotron [http://www.albasynchrotron.es] Carretera BP 1413 de Cerdanyola-Sant Cugat, Km. 3.3 E-08290 Cerdanyola del Valles (Barcelona), Spain E-mail: cpa...@ce... Phone: +34 93 592 4428 +----------------------------------------------------+ |
From: Vikas K. <vik...@tc...> - 2015-06-26 12:00:18
|
Hello, I am trying to connect the Tango with Pyqt. The python file is attached here. I have created three read-write parameter namely- mname, lname, fname I have connected this three parameter with taurus label. When I run my python program and Tango program (written in Java) file, taurus labels blinks intermittently. Just wondering, where am I doing it wrong....Or is this a known issue with the Taurus Lable in PyQt? Any help is appreciated. Thank you! Attachment: Screenshot of blinking screens, Py code and Tango code. -- Thanks & Regards Vikas Hariharrao Kumthekar Tata Consultancy Services Bldg.No.7-Unit No- 402,501,601,701,(floors 4th - 7th) Commerzone Survey No.144/145 Samrat Ashok Path,Off Airport Road,Yerwada Pune - 411006,Maharashtra India Ph:- +91 20 67055137 Mailto: vik...@tc... Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |
From: Binit A. <bin...@tc...> - 2015-06-26 11:41:43
|
Hello, Qus :- I am trying to connect the Tango with Pyqt. I have Made my GUI using PyQt nd the python file is attached here. I have created three read-write parameter namely- mname, lname, fname I have connected this three parameter with taurus label. When I run my python file nd java Tango file, taurus labels blinks after some interval of times. I need the solution regarding this. If you can help me. Please help if possible. I am attaching my screenshot of both connected nd not connected. Please look forward into this. -- Thanks & Regards Binit Amin Assistant System Engineer TATA Consultancy Services Cellno: +91-7276974159 Mailto: bin...@tc... Website: http://www.tcs.com =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |