-
Notifications
You must be signed in to change notification settings - Fork 55
WIP Virtual Devices BLACS Plugin #105
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
Open
carterturn
wants to merge
16
commits into
labscript-suite:master
Choose a base branch
from
carterturn:cartertu-virtual-device-2
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
WIP Virtual Devices BLACS Plugin #105
carterturn
wants to merge
16
commits into
labscript-suite:master
from
carterturn:cartertu-virtual-device-2
Conversation
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
Digital controls tested. Still need to add mechanism for creating virtual devices. Inverted digital outputs probably do not work.
5191664
to
03ed80f
Compare
1. Make sure DO inverted data is reloaded from save 2. Check if BLACS tabs are still available when loading editor
This has been in testing in our lab for a couple months now, so I am confident it will not break typical setups. |
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.
This pull request is one approach to "Virtual Devices" for BLACS. By "Virtual Devices," I mean a collection of digital, analog, and DDS outputs from a few different hardware devices in a single BLACS tab (a typical example being a "MOT" tab).

A sample image of this plugin in our setup.
There is a suggestion that such functionality partially exists in #25 of labscript; I think this version is a reasonable use of existing APIs and capabilities.
There are a couple of "bug" fixes involved, mostly pertaining to the way inverted digital outputs are handled. These seem to only manifest when additional tab outputs are linked to digital outputs, so they are not an issue except in the context of this plugin. One of these is in labscript-utils, handled by PR #109.
There are still a few things to fix, but it has reached the point where it reliably works for digital and analog outputs, so I would like to begin soliciting feedback.