Scope
|
#include <FPGAIO5751.h>
Inherited by scope::FPGAResonanceScanner.
Public Member Functions | |
FPGAIO5751 (const uint32_t &_configured) | |
void | SetClockSource (NiFpga_Session _session, const uint8_t &_clock_source=0) |
bool | CheckIOModule (NiFpga_Session _session) |
Protected Attributes | |
const uint32_t | configured_indicator |
FPGAStatusSafe | iostatus |
Handels the NI FlexRIO adapter module IO-5751.
Definition at line 11 of file FPGAIO5751.h.
scope::FPGAIO5751::FPGAIO5751 | ( | const uint32_t & | _configured | ) |
Get the FPGA VI control/indicator ids.
Definition at line 6 of file FPGAIO5751.cpp.
void scope::FPGAIO5751::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 example for code)
[in] | _session | current handle of the connection to the FPGA |
[in] | _clock_source | the new clock source to use |
Definition at line 11 of file FPGAIO5751.cpp.
bool scope::FPGAIO5751::CheckIOModule | ( | NiFpga_Session | _session | ) |
Necessary calls at the moment not supported by NI FPGA API 12.0, see CheckIOModule.vi for what to do.
Definition at line 42 of file FPGAIO5751.cpp.
|
protected |
the Configure? indicator on the FPGA
Definition at line 15 of file FPGAIO5751.h.
|
protected |
Current status of the module.
We need the Safe (non-throwing) version here, because exceptions can crash (total computer freeze) the NI FPGA library during debug runs (probably a problem with the stack unwinding?).
Definition at line 19 of file FPGAIO5751.h.