Closed gabrielfedel closed 5 years ago
Hi Fedel,
If you are using the pmac driver from https://github.com/dls-controls/pmac then this can indeed drive the power pmac. Internally at Diamond we use iocbuilder to generate the source code for our IOCs and the pmac module has some sample IOCs which use this.
I would recommend that you do not try to get iocbuilder working and therefore ignore entries in the /etc folder.
There is a standalone ioc in iocs/example which is intended to build without any Diamond specific dependencies and this is what I would recommend you use.
If you are having the dependency issue with iocs/example then let me know and I will fix the problem.
Thanks,
giles.
From: Gabriel Fedel notifications@github.com Sent: 31 October 2018 19:17:46 To: dls-controls/pmac Cc: Subscribed Subject: [dls-controls/pmac] How to use this IOC with PowerPMAC (#69)
Hi, How I can use this IOC with PowerPMAC?
I'm trying to use iocbuilder, but there are some dependencies I can't solve (dls_ade)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/dls-controls/pmac/issues/69, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA6421_6cviPfL8b278s3A_22OpgvL04ks5uqfdagaJpZM4YEw8O.
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
Hi Fedel,
If you are using the pmac driver from https://github.com/dls-controls/pmac then this can indeed drive the power pmac. Internally at Diamond we use iocbuilder to generate the source code for our IOCs and the pmac module has some sample IOCs which use this.
I would recommend that you do not try to get iocbuilder working and therefore ignore entries in the /etc folder.
There is a standalone ioc in iocs/example which is intended to build without any Diamond specific dependecies. This is the example that I would recommend you use. You can edit the startup script and database file to suit your setup.
If the example IOC is giving you the dependency issues then let me know and I will fix it.
Thanks,
giles
From: Gabriel Fedel notifications@github.com Sent: 31 October 2018 19:17:46 To: dls-controls/pmac Cc: Subscribed Subject: [dls-controls/pmac] How to use this IOC with PowerPMAC (#69)
Hi, How I can use this IOC with PowerPMAC?
I'm trying to use iocbuilder, but there are some dependencies I can't solve (dls_ade)
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/dls-controls/pmac/issues/69, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA6421_6cviPfL8b278s3A_22OpgvL04ks5uqfdagaJpZM4YEw8O.
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
Hi @gilesknap Thank you for the answer!
I trying to compile iocs/example, but I having this problem:
msi -I. -I.. -I../O.Common -I../../../db -I/usr/local/epics/synApps/support/asyn-R4-33/db -I/usr
/local/epics/synApps/support/busy-R1-7/db -I/usr/local/epics/synApps/support/motor-R6-10-1/db -I../
../../../..//db -I/usr/local/epics/base/db -S../lab_expanded.substitutions > lab_expanded.tmp
Could not open basic_asyn_motor.template
input: include "basic_asyn_motor.template"
which is line 12 of file ../../../../..//db/dls_pmac_asyn_motor.template
besides that, The ioc example is called "ioclab", if I can run it, it will be compatible with PowerPMAC ?
If you think better I can send an email (instead of use github issues).
OK we have two problems here.
(1) my example uses basic_asyn_motor.template which is in a DLS module so my example is not independent of DLS
(2) my example is for the delta tau pmac variant, not power pmac.
I will need to spend a little time on working out how to best provide useful examples and will get back to you next week.
Let's continue the discussion on github since it may be useful to others using this driver.
From: Gabriel Fedel notifications@github.com Sent: 01 November 2018 16:19:32 To: dls-controls/pmac Cc: Knap, Giles (DLSLtd,RAL,LSCI); Mention Subject: Re: [dls-controls/pmac] How to use this IOC with PowerPMAC (#69)
Hi @gilesknaphttps://github.com/gilesknap Thank you for the answer!
I trying to compile iocs/example, but I having this problem:
msi -I. -I.. -I../O.Common -I../../../db -I/usr/local/epics/synApps/support/asyn-R4-33/db -I/usr /local/epics/synApps/support/busy-R1-7/db -I/usr/local/epics/synApps/support/motor-R6-10-1/db -I../ ../../../..//db -I/usr/local/epics/base/db -S../lab_expanded.substitutions > lab_expanded.tmp Could not open basic_asyn_motor.template input: include "basic_asyn_motor.template" which is line 12 of file ../../../../..//db/dls_pmac_asyn_motor.template
besides that, The ioc example is called "ioclab", if I can run it, it will be compatible with PowerPMAC ?
If you think better I can send an email (instead of use github issues).
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dls-controls/pmac/issues/69#issuecomment-435091032, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AA642_kDvN7YTrfUNIX_p_7UUhLI8jZPks5uqx8UgaJpZM4YEw8O.
-- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
Ok @gilesknap , thank you!
Closing this issue.
In summary, there is now an example in iocs/simple-power-pmac which has been tested outside of DLS.
Hi, How I can use this IOC with PowerPMAC?
I'm trying to use iocbuilder, but there are some dependencies I can't solve (dls_ade)