-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microservice documentation #532
Comments
Some more references
I see it's already been asked, but I'm still wondering about the best way to send a command periodically. |
Here is a quick example:
|
Thanks for the example @GTI-Dakota! I'll also note that we added a new microservice generator in v5.5.0 that should get you started faster with a template. You use it like so:
|
Thanks! I also added a little if statement to check if the interface is connected by parsing the I'm not sure how all the logging stuff works ( |
For anyone curious once I changed the logger instantiation to |
I'm working with a SCPI device and want to get its status periodically which would require sending a command. I figured this should be done with a microservice but other than the directory structure and config there is not much in the documentation about actually writing one.
Am I on the right track for periodic commands?
Is there more documentation? I looked at some in the example plugin, but I don't really know what methods I need. I tried a simple command like
ls
and that worked, but it couldn't find any file I placed in my microservice subdirectory.The text was updated successfully, but these errors were encountered: