You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since devices will eventually be separated from their tabs (see #5), it is possible for the settings to be in the wrong port and need to be swapped around. Add copy/paste buttons to the canvas so that all of the current settings for a particular device can be copied or pasted.
The text was updated successfully, but these errors were encountered:
After reading more about the clipboard, there is no cross-platform way to accomplish this. Instead, below are a couple of possibilities for how to implement this:
Have these buttons write the current devices settings to a file, and then read from a file. However, there would need to be a lot of checks when reading to make sure that it is in a good format. We can co-opt the saveParameters(XmlElement*) and loadParameters(XmlElement*) methods by passing in our own XmlElement, and then read/write to a file. This would maintain the standard format with the regular file saved by the GUI, but would allow slightly more flexibility since this would be done on a per-device basis. But this comes at the cost of having to create and then read from multiple files, which could become annoying.
Restrict this functionality such that it can only copy the settings when the same headstage is opened in both ports. That is, if there is a Neuropixels 2.0e in both Port A and Port B, then the settings could be copied device-by-device from A->B, or vice versa. This would solve the issue of a user accidentally choosing the wrong port, and then needing to move the settings en masse instead of manually. However, this precludes the user from doing so if they have two different headstages in both ports. This is a non-issue, since they should be able to just switch the physical ports, but is left here for posterity.
This brings up a larger discussion of whether or not this is a necessary function for this plugin, or if it is better left alone, since either option would require some additional work to make it easy to use.
Since devices will eventually be separated from their tabs (see #5), it is possible for the settings to be in the wrong port and need to be swapped around. Add copy/paste buttons to the canvas so that all of the current settings for a particular device can be copied or pasted.
The text was updated successfully, but these errors were encountered: