Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ts_main_telescope
-
Labels:
-
Story Points:3
-
Epic Link:
-
Team:Telescope and Site
-
Urgent?:No
Description
Create a simple code in cRIO FPGA, use C API Generator to create header files, and create a simple C/C++ code to understand and document this procedure. This will help John understand better how this works.
Today John and I worked on a LabVIEW and C++ code to understand how to compile cRIO FPGA and access I/Os from C++ code. The code is stored in this repo: https://github.com/pcortes80/crio_cpp with LabVIEW 2021 SP1 and C++ code (still work-in-progress). I used this LabVIEW version because the cRIO I'm using for this test has this version installed and because I wanted to change some physical input in one of the modules I had installed on this cRIO. That´s why I did not use the cRIO simulator.
In this test, we use digital inputs and one FIFO to read them from C++ code. This was a successful test and allowed us to understand how the C API Generator works and how to use generated files.
Next week we will continue working together to write and read a FIFO.