I have a project in LabView and I want to use myRIO for this project. I wrote some codes in LabView. How can I embed this code in myRIO? And which type should ı use in LabView(like SubVI, etc.)? Already, thank you so much for your answer.
To use ("target") a myRIO you'll need a set of specific drivers installed; these can be found here: LabVIEW myRIO Toolkit.
Once you have that installed, you should add the myRIO target to your project file. You can then drag VIs onto the myRIO as desired.
This article should help explain in more detail: Getting Started with myRIO.