01-25-2016 11:06 AM
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!
Solved! Go to Solution.
01-25-2016 07:31 PM - last edited on 01-04-2024 01:02 PM by migration-bot
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.