Skip to content

Conversation

@ajf67d
Copy link

@ajf67d ajf67d commented Jan 20, 2025

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)!

@LeandroMartinsdS
Copy link
Contributor

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,  "@asyn($(PORT),0,$(TIMEOUT=4))PMAC_C_WRITE_CMD")
    field(NELM, "100")
    field(SCAN, "Passive")
}

@ajf67d
Copy link
Author

ajf67d commented Aug 11, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants