According NiFpga_Open documentation :
NiFpga_Status NiFpga_Open(const char* bitfile, const char* signature, const char* resource, uint32_t attribute, NiFpga_Session* session)
Opens a session to the FPGA. This call ensures that the contents of the bitfile are programmed to the FPGA.
All the API functions use session as input parameters.
Here is my question : I would like to have 2 different software :
- one to download the fpga software (using NiFpga_Open)
- one to monitore the I/O (using NiFpga_ Read, Write etc.. but not NiFpga_Open).
Is it possible ?
In other words, one the FPGA is downloaded, I would like to shut down the PC. And next time it starts, I would like to use the second software without having to download again the software in the FPGA.
If I memorize the session value after using NiFpga_Open, can I use it in an other software ??
Thanks.