10-26-2017 05:28 PM
Hello all,
I am fresh new to labview, but my prof wants me to write a LabVIEW code to control Newport DC Servo Controller/driver Model CONEX-CC, so that it can move in one direction periodically. Does anyone have an idea how I should start it?
I have been watching a lot of labview tutorial videos but I still have no clue about how to start.
10-27-2017 11:41 AM
Hi RunyuFly,
This device is fairly straightforward so you don't need much more than basic serial LabVIEW programming. These link will help you get started but there is plenty of information online and several examples native of LabVIEW (Help -> Find examples -> Serial)
http://www.ni.com/tutorial/2897/en/
http://www.ni.com/tutorial/4049/en/
http://www.ni.com/example/27669/en/
Good luck with your project,
PedroR
10-31-2017 05:40 PM
Hi,
I read the instruction but I am still confused. My actuator has USB connection to the computer, not serial port. And a link to my DC Servo controller is linked here: https://www.newport.com/p/CONEX-TRA25CC?xcid=goog-pla-CONEX-TRA25CC&gclid=EAIaIQobChMI8piz2_ab1wIViG...
Can we be detailed about how I should proceed in order to use labview to control it?
Thanks!
10-31-2017 08:20 PM
Hi RunyuFly,
The USB is a serial protocol so it's possible to use the serial functions. There isn't much to more than using the commands (it seems that this device uses ASCII commands) to set the different modes available from this manual.
It seems though that you are lucky and Newport has its own driver for this device in LabVIEW. I am not sure if it's compatible with your device in specific so check that with Newport. You also need to program even if this is compatible, this kind of drive usually only are for the basic functions (connect, read, write, etc) so there is still coding behind
http://assets.newport.com/webDocuments-EN/images/CONEX-CC_LabVIEW_Drivers.PDF
I am afraid that be detailed will be basically to create the code. I would suggest though to use a state machine. It's quite straightforward and it seems fitting to your application
http://www.ni.com/tutorial/7595/en/
Regards,
PedroR