Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronised analog input and output on myRIO

Solved!
Go to solution

Hello!

A shiny new myRIO has just landed on my desk and I'm looking forward to getting to use it.

 

I have a question regarding the capability of the default FPGA personality.

Is truely HW synchronous analog in and output possible? Can you setup the necessary trigger and clock routing from within the RT VI? At say ~100kS/s?

Would I need to delve into some FPGA design to achieve this?

Thanks!

Nick
Message 1 of 2
(4,154 Views)
Solution
Accepted by topic author niNickC

You aren't going to be able to get your RT loop to run reliably at rates greater than 5kHz, and we usually don't recommend trying to control I/O faster than 500-1000Hz. This isn't a limitation of the default personality itself, it's just that some tasks are better suited for the RTOS and some are better for the FPGA (this is important to understand when developing an application on the myRIO). Synchronizing and outputting signals at ~100KS/s is something that you are going to have to do on the FPGA.

 

https://learn.ni.com/learn/article/getting-started-with-fpga

 

There are some good tutorials in the link above. They use the cRIO instead of the myRIO but the functionality is basically the same. The biggest difference is that you are not going to have to add modules to your project because all of the inputs and outputs of the myRIO are fixed and should populate automatically when you add an FPGA target to your project.

Matt J | National Instruments | CLA
Message 2 of 2
(4,141 Views)