Public Member Functions | |
bool | ChannelConf (int ChannelMask, unsigned int SamplesPerChannel) |
Configures ADC channels. | |
bool | FPGAConf (System::String^ FileName) |
Configures FPGA (ADC board). | |
float | SamplingFreq (float SamplingFreq) |
Sets ADC sampling frequency. | |
array< System::Int16 >^ | Acquire_SDRAMRead (unsigned int SamplesPerChannel) |
Starts data acquisition and reads data from SDRAM. | |
bool | Acquire () |
Starts data acquisition. | |
array< System::Int16 >^ | SDRAMRead (unsigned int SamplesPerChannel) |
Reads data from SDRAM. | |
bool | ChannelDeconf () |
Deconfigures ADC channels. |
bool ChannelConf | ( | int | ChannelMask, | |
unsigned int | SamplesPerChannel | |||
) |
Configures ADC channels.
ChannelMask | Binary mask to indicate enabled channels (eg. Binary 1 on LSB enables channel 1). | |
SamplesPerChannel | Number of samples that each enabled channel must acquire. |
bool FPGAConf | ( | System::String^ | FileName | ) |
Configures FPGA (ADC board).
FileName | .bit FPGA programming file. |
float SamplingFreq | ( | float | SamplingFreq | ) |
Sets ADC sampling frequency.
SamplingFreq |
|
Value | Meaning |
---|---|
-1 | Error |
0 | DCMs locked at external clock |
xx | DCMs locked at xx MHz |
array< System::Int16 > Acquire_SDRAMRead | ( | unsigned int | SamplesPerChannel | ) |
Starts data acquisition and reads data from SDRAM.
This function also clears the list of channels
SamplesPerChannel | Number of samples per channel to be acquired. |
bool Acquire | ( | ) |
Starts data acquisition.
array< System::Int16 > SDRAMRead | ( | unsigned int | SamplesPerChannel | ) |
Reads data from SDRAM.
SamplesPerChannel | Number of samples per channel to be acquired. |
bool ChannelDeconf | ( | ) |
Deconfigures ADC channels.
This function also clears the list of channels.