‎02-11-2019 10:12 AM
Hello,
So I am a newbie at this and have no clue what I am doing. I have an SMC100 connected to an actuator, I have no idea how to make it run. I downloaded the labview examples from the Newport website, I tried to run them but multiple errors came up, which I don't understand. Also, if the code works, when I run it does that mean it automatically detects the motor and runs it? What is there I need to do? Any guidance, step by step would be super helpful.
Also, incase some information is needed, I need to have the motor oscillate from a set distance, to another over a period of time, and have it loop until I stop the code.
‎02-12-2019 12:01 PM - edited ‎02-12-2019 12:04 PM
I have never used a SMC100. But my first piece of advice would be to use any software supplied by the vendor to verify everything is working properly and wired correctly. Then when everything is working you can start programming with LabVIEW.
Also, not all LabVIEW drivers are created equally. Some work great form the start and some need some tweaks to work how you want them to.
‎02-12-2019 12:15 PM
This link has further information regarding this product.
‎02-12-2019 02:09 PM
‎02-13-2019 03:31 PM
I saw that the latest driver was implemented via VISA although the init was just by serial port number.
Furthermore it looks improved to when I was playing with it. So I suggest use the drivers from Newport.
You probably downloaded them already and installed them in the LabVIEW instr.lib.
So you just want the motor to move (again an d again) from one set point to another and then back until stopped.
In LabVIEW you need to
1) Init the system (including homing if not already done), set speed and and start moving to the first setpoint.
2) In a while loop observe if the motor is still running and if not move in the other direction.
3) Stop the system and close.
I can write a simple example but don't have a test motor to test it. So just ask what you want.
I have one more question:
Did you install the VISA drivers? from NI?
I know it is a USB based serial interface and Win10 is also not ideal but it works more often than not.