12-20-2018 10:47 AM
Hallo,
i am pretty new to Labview and need to figure out one thing.
My Setup:
Nanotec stepper motor
smci36 controller
https://de.nanotec.com/support/knowledge-base/artikel/show/labview-beispielanwendungen-smci/
I'm using the 8.0 example from nanotec and it works. I already understand the most of it.
My Question: What kind of meaing do the string-letters have in the case structure? Like "A", "S", "o", "b" and "s". Is it a ascii code?
Is a letter somehow connected to a command? Because if i switch the letters i also change the commands at the frontpanels.
I hope you guys can help me.
Best regards and happy holidays!
01-09-2019 07:40 AM
Hey SmithG,
Your assumptions are correct. You're just sending some ASCII values to the stepper motor's controller. Char strings that you're writing to the bus are unique (defined by manufacturer) and has assigned pre-programmed commands, so you need to be aware of functionality which is available for this device (this may not be explicit information, but maybe you'd be able to find something in the controller documentation). Your stepper controller is reacting to them in the order specified in your VI.
Here's some basic knowledge about NI-VISA:
http://www.ni.com/tutorial/3702/en/
Kind regards