
Public Member Functions | |
| virtual bool | FPGAConf (System::String^ FileName) |
| Configures FPGA (DAC board). | |
| virtual float | SamplingFreq (float SamplingFreq) |
| Sets DAC sampling frequency. | |
| int | SDRAMWrite (array< System::Int16 >^Data) |
| Writes data to SDRAM. | |
| array< System::Int16 >^ | SDRAMRead (unsigned int SamplesPerChannel) |
| Reads data from SDRAM. | |
| bool | ChannelConf (int ChannelMask, unsigned int SamplesPerChannel) |
| Configures DAC channels. | |
| bool | Play () |
| Starts data playback. | |
| bool | ChannelDeconf () |
| Deconfigures DAC channels. | |
| bool FPGAConf | ( | System::String^ | FileName | ) | [virtual] |
Configures FPGA (DAC board).
| FileName | .bit FPGA programming file |
Reimplemented in dacBoardVirtexII, and dacBoardVirtex4.
| float SamplingFreq | ( | float | SamplingFreq | ) | [virtual] |
Sets DAC sampling frequency.
| SamplingFreq |
|
| Value | Meaning |
|---|---|
| -1 | Error |
| 0 | DCMs locked at external clock |
| xx | DCMs locked at xx MHz |
Reimplemented in dacBoardVirtexII, and dacBoardVirtex4.
| int SDRAMWrite | ( | array< System::Int16 >^ | Data | ) |
Writes data to SDRAM.
| Data | Array containing data to be written. |
| array< System::Int16 > SDRAMRead | ( | unsigned int | SamplesPerChannel | ) |
Reads data from SDRAM.
| SamplesPerChannel | Number of samples per channel to be acquired. |
| bool ChannelConf | ( | int | ChannelMask, | |
| unsigned int | SamplesPerChannel | |||
| ) |
Configures DAC 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 play back. |
| bool Play | ( | ) |
Starts data playback.
| bool ChannelDeconf | ( | ) |
Deconfigures DAC channels.
Stops playback and clears list of channels