Skip to content

Is MCS over network supported? #5

@erik-mansson

Description

@erik-mansson

I and my colleague thougth PyMoDAQ seems interesting to try out, and we wanted to start with a SmarAct MCS linear stage controller for which there was this plugin available.

However, although SmaraAct's configurator software can connect, if we create a preset with the PyMoDAQ smaract plugin it fails to initialize (no error message shown on the first click, on second click a hard crash with QThread mentioned on the console -- didn't save details for now).

After a bit of digging into the code, we have two questions:

  1. Is connection to SmarAct MCS via network (IP-number) supposed to work? We have example code from SmarAct which shows that their driver's listing of connected devices only finds those on USB. If you use network you need to specify the address in a string to connect (e.g. what you call controller_locator).

  2. The preset we created seems to have the four parameters defined at the start of daq_move_SmarAct.py. However, daq_move_SmarActMCS.py and daq_move_SmarActMCS2.py define a different set of parameters which we don't se in the GUI or the XML configuration file. For instance the controller_locator parameter where we would need to enter the IP-number. So far I haven't been able to find any logic that based on available devices decides whether the SmarAct, SmarActMCS or SmarActMCS2 become visible/used. Can you enlighten me on what conditions would make SmarActMCS usable?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions