Forum
Hello,
I am trying to control a brushless DC motor using UART in LabVIEW. The solo mini is connected to a myRIO. How do I input codes into the UART block in labVIEW? What format do they have to be? I have tried to input values in the same hexadecimal format in as shown in the UART to usb manual( https://www.solomotorcontrollers.com/wp-content/uploads/materials/SOLO_MINI_Communication_Manual_UART_USB.pdf). I understand the command format I am just having issues being able to sent those commands to the motor.
Hello @mirzarashid,
Have you tried to use our C++ dll within your Labview program to communicate with the SOLO unit?
https://github.com/Solo-FL/SOLO-Motor-Controllers-DLL
Unfortunately, we don't have a ready tutorial on how to do this in Labview, however adding a dll in LabVIEW is a well-known method, and I belive you can find good materials on that online.
let us know if you need any other help.
Milad
If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.
Hello @milad
Thank you for thanking the time to respond. I looked through the github files and one of the examples provided. I am still confused on how to call the functions defined in SoloMotorControllers.ccp. Can you provide an example on how to do a specific command like 0x07 : Motor’s Parameters Identification or 0x15 : Motor Type?
Our DLL is built from our C++ library, on that library you can see many examples done for various functions:
https://github.com/Solo-FL/SOLO-motor-controllers-CPP-library
For instance, you can see an example with UART/USB line below:
is this what you were looking for?
Milad
If you found the answers helpful and you could solve your problems, please kindly verify here to help others in the future.