Fix Version/s: None
The ts_m2fpga project will have three subVIs created. This ticket is to document the interface for the readDaq subVI in FPGA code.
I need to check if there is another way to do what I wrote in the previous comment to avoid using LabVIEW Project Explorer. I created the ticket DM-36929 to investigate it.
Te-Wei Tsai please check this ticket and give me your comments to modify it and continue with Phase 2. Thanks.
Looks good to me. Just need to create (trigger) the ticket phase 2 and continue the work. This process should be helpful for you to understand more in Linux and C language. This is important to have a good and useful interface between the LabVIEW and C/C++ languages. Good job!
Do not forget to experiment the acquire function in LabVIEW C/C++ API in phase 2 ticket.
If you want to connect to the M2 cRIO Simulator from the Terminal, you have to:
If you want to connect to the M2 cRIO Simulator from the LabVIEW project, and the startup.rtexe is running and set as Run As Startup, you will be asked to abort the statup.rtexe. If you say Yes, the startup.rtexe will be aborted and you will be able to connect to the cRIO from the LabVIEW project.
However, after you abort the startup.rtexe you will not be able to run the application with the ./nilvrt start again.
The workaround is rebooting the M2 cRIO Simulator, connecting from the LabVIEW project with the Build Specification created, setting the Run As Startup option, and rebooting the cRIO from the LabVIEW project. This will let the startup.rtexe run again and then you will be able to execute the ./nilvrt start and ./nilvrt stop.