3 #include "helpers/FPGAException.h"
6 typedef uint32_t NiFpga_Session;
63 ,
const uint32_t& _clock_write_data
64 ,
const uint32_t& _clock_write
65 ,
const uint32_t& _xpoint_ready
66 ,
const uint32_t& _clock_source
67 ,
const uint32_t& _xpoint_write
68 ,
const uint32_t& _commit_control
69 ,
const uint32_t& _acquisition_reset_control);
89 void SetClockSource(NiFpga_Session _session,
const uint8_t& _clock_source = 3);
const uint32_t onboard_clock_write_control
the clock write control on the FPGA vi
void WriteOnboardClockFrequency(NiFpga_Session _session, const double &_clock_freq)
Writes the program for the Si570 clock chip to the device.
Handels the NI FlexRIO adapter module IO-6587.
const uint32_t xpoint_switch_write_control
the xpoint switch write control on the FPGA vi
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.
const uint32_t xpoint_switch_ready_indicator
the xpoint switch ready indicator on the FPGA vi
void ClockFrequencySetup(const double &_clock_freq)
Generates value for programming the Si570 clock chip.
void InitializeAcquisition(NiFpga_Session _session)
Commits the clock frequency and clock source writings and resets the IO module acquisition circuit...
const uint32_t acquisition_reset_control
the acquisition reset control on the FPGA vi
std::array< uint16_t, 9 > regndata
register data for writing to the clock chip
const uint32_t clock_source_control
the clocksource control on the FPGA vi
const uint32_t commit_control
the commit control on the FPGA vi
const uint32_t onboard_clock_write_data_control
the clock write data control on the FPGA vi
FPGAIO6587(const uint32_t &_clock_ready, const uint32_t &_clock_write_data, const uint32_t &_clock_write, const uint32_t &_xpoint_ready, const uint32_t &_clock_source, const uint32_t &_xpoint_write, const uint32_t &_commit_control, const uint32_t &_acquisition_reset_control)
void SetClockSource(NiFpga_Session _session, const uint8_t &_clock_source=3)
Possible clock sources (see SetClockSource.vi from NI examples) .
FPGAStatusSafe iostatus
Current status of the module.
const uint32_t onboard_clock_ready_indicator
the clock ready indicator on the FPGA vi