2 #include "FPGAIO5751.h"
7 : configured_indicator(_configured) {
12 NiFpga_Bool configured =
false;
13 uint32_t waitcounter = 0;
18 std::this_thread::sleep_for(std::chrono::milliseconds(20));
20 }
while ( !configured && (waitcounter < 2000) );
21 if ( waitcounter >= 5000 )
22 throw FPGAException(-1,
"SetClockSource adapter module not configured");
FPGAIO5751(const uint32_t &_configured)
Get the FPGA VI control/indicator ids.
const uint32_t configured_indicator
the Configure? indicator on the FPGA
An exception for FPGA stuff.
void SetClockSource(NiFpga_Session _session, const uint8_t &_clock_source=0)
Possible clock sources (see adapter modules help and Configure Clock.vi from NI 5751 Clock Select exa...
bool CheckIOModule(NiFpga_Session _session)
Necessary calls at the moment not supported by NI FPGA API 12.0, see CheckIOModule.vi for what to do.
This is the include file for standard system include files, or project specific include files that ar...
FPGAStatusSafe iostatus
Current status of the module.