From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Communication with myRio

Hye.Im trying to connect GD02Rev2.0 (driver for the g15 cube servo) with myRio. I have to connect the Rx Tx and Control pin of the driver to the myRio to run the motor. It seems like i have to create serial communication in labview.Can anyone help me on this.thanks.The driver looks like below:

0 Kudos
Message 1 of 4
(3,059 Views)

Hi ravinath,

 

It seems like i have to create serial communication in labview.

Yes, you need to.

Keep in mind your motor driver works with (LV)TTL levels on the logic lines, so you CANNOT connect to a standard RS232 port! You need to use a level shifter - or GPIO lines from your myRIO…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(3,028 Views)

thank you for your reply.so how to create the functional blocks in labview for the serial communication?any examples please

0 Kudos
Message 3 of 4
(3,005 Views)

Hi ravinath,

 

use the example VIs coming with LabVIEW!

(Maybe there is also a special example for the myRIO, can't check that as I don't have the myRIO package installed.)

 

As said before: you will need some additional hardware to communicate with your motor driver…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(3,001 Views)