Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

I need to use LabView 6.x to write a character string to a motor controller for a linear actuator via the serial port.

I have tried to use the VISA Write command, but the results have not been fruitful. Any example vi's could be helpful.
0 Kudos
Message 1 of 3
(3,862 Views)
There are several examples that use the serial VISA commands that ship with LabVIEW 6i. If you select "Search Examples" from the LabVIEW splash screen, or "Help -> Examples" from the pulldown menu, you will have access to our examples browser.

By selecting "I/O Interfaces" and "Serial Communication" you will see the three serial examples that ship with LabVIEW. Additional examples are available in the Developer Zone at http://zone.ni.com.
0 Kudos
Message 2 of 3
(3,862 Views)
Dear Jon,

I think you have to send the ASCII string to your controller.DO FOLLOWING THINGS.

1) CONFIRM THAT YOUR CONTROLLER SUPPORTS ASCII COMMUNICATION.
2) CONFIRM PIN CONFIGRATION OF YOUR CONTROLLER.THE PIN CONF OF PC SERIAL PORT IS 2-RX 3-TX 5-COM. MAKE A CABLE RX-TX , TX-RX & COM-COM.
3) USE SERIAL PORT VIS

INT PORT, WRT PORT ETC.

ALL THE BEST

SURENDER SINGH
0 Kudos
Message 3 of 3
(3,862 Views)