Hi Nina,
I have tried to replicate your MWorks+LabJack setup as closely as possible, and I am unable to reproduce your error.
Here’s my setup:
- 2018 Mac mini (Intel)
- macOS 13.6
- Xcode 15.0.1
- MWorks 0.12.2
- Latest commit of LabJack plugin code
After building and installing the LabJack plugin, I can load an experiment with a LabJack device, run it, re-run it, unload it, re-load it, run it again, and quit MWServer without any issue.
One comment: You said you’re running MWorks 0.12, but in another discussion, the actual version you were running is “0.12.dev (2023.03.01)”. In case it wasn’t clear, that date stamp at the end matters. If you compile a plugin against “0.12.dev (2023.03.01)”, you can’t run it against, say “0.12.dev (2023.04.16)”. The version must be exactly the same. You’re probably already aware of this, but I just want to make sure.
I’ve attached my build of the plugin, in case you want to try it. As I said, it’s compiled against the release version of MWorks 0.12.2, so you can only use it with that.
Cheers,
Chris
LabJackU6Plugin.bundle-MWorks-0.12.2.zip (234.7 KB)