LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Has anyone ever used a Yamaha Robot Controller (SRC-X)?

I just inherited this controller and I'd like to use it with LabVIEW. I just don't know where to start with it. Any help is greatly appreciated.
0 Kudos
Message 1 of 6
(3,993 Views)
    Kyle,

I know this is a very old thread.  But I'm curious if you're still subscribed to it.  I am trying to communicate with an ERC-X, similar family of controllers from Yamaha.  Did you ever get your serial comms worked out from LabVIEW? 

Thanks,
Jim
0 Kudos
Message 2 of 6
(3,803 Views)
I am also trying to use LabVIEW to communicate to a Yamaha Robot by means of the ERC-X (and SRC-X) controller. I have been able to establish communication using Hyperterminal and get feedback from the controller, but with Instrument I/O Assistant VI, my session out is only numbers. Does anyone have experience with this? Thank you.
0 Kudos
Message 3 of 6
(3,757 Views)
    Alyssa,

I have had to backburner that project for a bit and haven't been back to it yet, though I'll be needing to later on this week.  I have no progress to report, but will let you know if I find anything.
0 Kudos
Message 4 of 6
(3,746 Views)
Thank you Jim! I look forward to any insight you could provide.
0 Kudos
Message 5 of 6
(3,732 Views)
    Alyssa,

I have been able to get communication working with the ERCX.  It was fairly straight-forward and so I'm wondering if you have the correct serial settings.  9600 baud, 8 data bits, 1 stop bit, odd parity, XON/XOFF handshaking.  I leave the termination character enabled so that the and the default termination character will work for this "\n".  The controller actually sends back a "\r\n" termination, but with the "\n" last, this sould work.  I then call the VISA Read and tell it to read up to 10k bytes.  Once it finds that termination character, though, it will stop the read. 

I've attached two screenshots that might be helpful.  You probably already are aware of this since you've had the communication successfully via HyperTerminal, but in the LabVIEW sense, it's helpful to take your "Write Buffer" string input and set it so that it's in "\" Codes Display mode.  This will allow you to manually type in the "\r\n" you need at the end of your command.  Also, each command starts with the "@". 

Let me know if I can be of further help.

Jim
0 Kudos
Message 6 of 6
(3,657 Views)