VTI Instruments Corp.
54
VM3608A/3616A Programming
O
UTPUTTING
D
ATA USING
FIFO
M
ODE
Data can be continuously loaded to the DAC via a FIFO. The FIFO is loaded with data. When it
begins to empty, based on the clock source rate, new data will need to be supplied. There are a
number of applications where the FIFO mode could be used. If a large amount of data has been
collected using an A/D device and stored in a file, the VM3608A/3616A can be used to 'play' the
data back at the specified frequency via the FIFO interface. For example, sound files can be played
out of the device and can be heard when speakers are connected to a channel output.
The following command set is used to program the DAC in the FIFO mode.
/*
*
initiate the VM3616A
*/
vtvm3616_init (ViRsrc instrDesc, ViBoolean vtvm3616_ON, ViBoolean
vtvm3616_ON, ViSession *instrHndl);
/*
*
set the voltage range
*/
vtvm3616_setupVoltageRange (ViSession instrHndl, ViInt16 range,
ViInt16 channelList[], ViInt16 numOfChannels);
/*
*
set trigger to NONE
*/
vtvm3616_configTriggerParams (ViSession instrHndl, ViInt16
triggerSource, ViBoolean slope);
/*
*
set mode to FIFO
*/
vtvm3616_setupScanMode (ViSession instrHndl, ViInt16 mode, ViInt16
channelList[], ViInt16 numOfChannels);
/*
*
load the FIFO data
*/
vtvm3616_loadFIFO_Data (ViSession instrHndl, ViInt16 dataBuffer[],
ViInt32 buffSize)
/*
*
output the waveform
*/
vtvm3616_commandDIFO (ViSession instrHndl, ViBoolean command)
Содержание VM3608A
Страница 2: ...VTI Instruments Corp 2 ...
Страница 6: ...VTI Instruments Corp 6 VM3608A 3616A Preface ...
Страница 12: ...VTI Instruments Corp 12 VM3608A 3616A Preface ...
Страница 18: ...VTI Instruments Corp 18 VM3608A 3616A Introduction ...
Страница 134: ...VTI Instruments Corp 134 VM3608A 3616A Command Dictionary ...