LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to interface ni myRIO to matlab simulink.

Hello sir,

How can interface ni myrio to the Matlab and Simulink.

1) is it possible to control system lab of quanser Qube servo 2 with myrio with the help of Matlab Simulink instead of LabVIEW?

2) Is it possible to generate PWM pulses through the ni myRIO by using Matlab Simulink?

0 Kudos
Message 1 of 3
(139 Views)

@Govinda93 wrote:

Hello sir,

How can interface ni myrio to the Matlab and Simulink.

1) is it possible to control system lab of quanser Qube servo 2 with myrio with the help of Matlab Simulink instead of LabVIEW?

2) Is it possible to generate PWM pulses through the ni myRIO by using Matlab Simulink?


Probably. But this is a LabVIEW forum... Maybe try the Matlab forums? 🙂

Alternatively, the following article might help: Running Compiled Simulink® Models in LabVIEW and in VeriStand (it's looking at using a Simulink model on NI Real-Time hardware).

A list of available interfaces (as described by NI, Matlab might have other resources/info) is here: NI and MathWorks Product Interfaces


GCentral
0 Kudos
Message 2 of 3
(132 Views)

Hello,

Starting from version 2019, the Quanser QUARC software interfaces MATLAB/Simulink to the NI myRIO. QUARC allows connecting the Quanser QUBE-Servo2 to the myRIO and design/run control system labs. Communication from the myRIO to the QUBE-Servo2 is done using SPI. And PWM outputs are also available if you need to drive another system... 

I recommend contacting Quanser to find the best solution for your application. 

https://www.quanser.com/contact/

0 Kudos
Message 3 of 3
(69 Views)