04-03-2018 01:39 AM
Hi. I'm trying to read data from a Commonplace Mover 4 Robot Arm using LABVIEW. The default program for the robot is called CProg, where you can program in blocks or using XML files. My idea is to read the XML file in real time as the robot moves in LABVIEW, but I am having trouble with the communication. The robot uses a CAN protocol and connects to my computer via USB serial port. I want to read data from the USB serial port in LABVIEW but I don't know how... Any suggestions? The robot has 24V analog outputs.
04-03-2018 02:05 AM
Hi Chencho,
The robot uses a CAN protocol and connects to my computer via USB serial port.
Wrong: the robot uses the PeakCAN interface. It's not a serial port! (See page 12 of the user manual!)
I want to read data from the USB serial port in LABVIEW but I don't know how...
As it is NOT a serial port you cannot use VISA. You need to use libraries from Peak to communicate over the CAN bus.
The robot has 24V analog outputs.
Wrong: The website only mentions digital IO.
04-03-2018 06:14 AM
@Chencho wrote:
The robot has 24V analog outputs.
I highly doubt that. In industrial settings, 24V is used for digital IO. Analog IO tend to use a 4-20mA signal. And what does that have to do with the CAN bus?