j123b567 / scpi-parser

Open Source SCPI device library
BSD 2-Clause "Simplified" License
463 stars 194 forks source link

SCPI-99:9.4 Implement "fan-out" register support #81

Closed sandsbl closed 1 year ago

sandsbl commented 8 years ago

As part of our SCPI instrument development, we have come upon a need to include "fan-out" registers for certain bits in QUEStionable and OPERation status registers as defined in section 9.4 of the SCPI-99 spec. I propose adding this as a feature-request for the scpi-parser library. I am willing to work on this feature, as we are in the most immediate need for it, but I would like to get some feedback on my thoughts on how to proceed. I am thinking to take the following steps to implement this feature:

Please advise with suggestions or issues I may have forgot.

j123b567 commented 8 years ago

I thing, there was no discussion about this in the past.

Can you propose a pull request with this functionality?

sandsbl commented 8 years ago

Yes, I can start working on it.

PolyPik commented 4 years ago

@sandsbl Have you implemented this feature?

sandsbl commented 4 years ago

No, I haven't had a chance to, sorry. Moved to another project.

On Wed, Apr 15, 2020 at 5:51 PM PolyPik notifications@github.com wrote:

@sandsbl https://github.com/sandsbl Have you implemented this feature?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/j123b567/scpi-parser/issues/81#issuecomment-614298393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6RJT7TRBDYHLGQPOAFPLTRMYT7BANCNFSM4CQYN7BQ .

PolyPik commented 4 years ago

Well you did a pretty good job of describing what needs to be done. I think I can implement the changes on my own.

j123b567 commented 1 year ago

Should be fixed by #114

jancumps commented 1 year ago

@PolyPik , do you happen to have an example or test case that uses device specific registers? I'm trying to use the functionality, to flag that a digital input has changed level. I am investigating how to use the extension by trying to use it in my project. An example or reference project would be helpful.

jancumps commented 1 year ago

I figured it out. I managed to build a set of instrument specific registers,
make them fan out to a bit of the OPERATION STATUS register, etc...
Took me a good week to fully make it happen :) - partly because I wanted a good integration with TinyUSB's TMCUSB with service requests.

documentation link.