Send command, receive respose using EPICS string records#135
Open
ajf67d wants to merge 1 commit intodls-masterfrom
Open
Send command, receive respose using EPICS string records#135ajf67d wants to merge 1 commit intodls-masterfrom
ajf67d wants to merge 1 commit intodls-masterfrom
Conversation
read the response in a stringin record.
Contributor
|
It would be nice to have the record in the |
Author
|
Hi Leandro,
Yes, I agree!
Cheers, Andy
From: Leandro Martins ***@***.***>
Sent: 11 August 2025 15:07
To: DiamondLightSource/pmac ***@***.***>
Cc: Foster, Andrew (-,RAL,TEC) ***@***.***>; Author ***@***.***>
Subject: Re: [DiamondLightSource/pmac] Send command, receive respose using EPICS string records (PR #135)
[https://avatars.githubusercontent.com/u/26493439?s=20&v=4]LeandroMartinsdS left a comment (DiamondLightSource/pmac#135)<#135 (comment)>
It would be nice to have the record in the pmacController.template.
Probably, just after the SendCmd
##############################################################
# Send arbitrary command to the geobrick controller
##############################################################
record(waveform, "$(P):SendCmd")
{
field(DTYP, "asynOctetWrite")
field(FTVL, "CHAR")
field(INP, ***@***.***($(PORT),0,$(TIMEOUT=4))PMAC_C_WRITE_CMD")
field(NELM, "100")
field(SCAN, "Passive")
}
-
Reply to this email directly, view it on GitHub<#135 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AD35WPRX65KOHZZ7J5HB2KT3NCPQBAVCNFSM6AAAAABVP76NQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNZVGAYDKMJSHE>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
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.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add the ability to send any PMAC command from a stringout record and read the response in a stringin record.
Previously, the response was thrown away.
Needed for I24 (at least)!