Skip to content
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

Unix Environment Question #16

Open
Knoose opened this issue Apr 2, 2019 · 1 comment
Open

Unix Environment Question #16

Knoose opened this issue Apr 2, 2019 · 1 comment

Comments

@Knoose
Copy link

Knoose commented Apr 2, 2019

Hi lfasnacht,

This is isn't an issue but I was curious if you could share your setup process for getting this to run on Linux. I have been trying to get it to work on OSX and would love some steps to help me get things going. My main issue is related to getting the FTDI driver to recognize the device and assign it a serial port(virtual or otherwise). If I can get that going, then I should be able to get things going.

@FilipDominec
Copy link

This worked for me

git clone https://github.com/UniNE-CHYN/thorpy
cd thorpy/
sudo python3 test.py

Then, in the ipython3 prompt, I can control the stage with such commands:

steps_per_mm = 34527.5   ## calibrated for MTS50/M 
s._port.send_message(MGMSG_MOT_MOVE_ABSOLUTE_long(s._chan_ident, int(10*steps_per_mm)))

Somewhat ugly syntax, but it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants