11-08-2013 06:57 PM
Hey guys! I'm pretty new to LabVIEW and am trying to control a Zaber T-NM series stepper motor. However, my computer does not have a free serial port so I'm not sure how to do this through the USB input. I have a serial-to-USB cable, but I'm lost on the coding side of things. I have three VIs that work through the serial port but not the USB port. Anybody know how to tweak these to get them to work with USB?
11-09-2013 10:21 AM
Hello:
If you are using a USB-to-Serial cable, then you can connect and communicate to the controller the same way that you have done using an RS-232 interface, via a COMx: port. When you plug the USB-to-Serial cable into your PC, Windows should find the device driver for it an enumerate it as a Serial Comm Class device and assign it a COMx: port. You can find out which COMx: port it is by looking for it under Ports in the Windows Device Manager. Use the X number com port you find in your VI.
Mike