VTI Instruments Corp.
60
VM3608A/3616A Programming
/*
* Resetting the module to its default state
*/
status = vtvm3616_reset(instrHndl);
if (status < VI_SUCCESS)
return status;
/*
* Configuring the TTLT Line 0 as the trigger source for the
* Scan Mode
*/
status = vtvm3616_configTriggerParams (instrHndl,
vtvm3616_TRIG_SRC_TTLTRG0,
vtvm3616_SLOPE_POSITIVE);
if (status < VI_SUCCESS)
return vtvm3616_ERROR_SETTING_TRIGGER_PARAMS;
/*
* Configuring the Scan Mode of the specified channel
*/
status = vtvm3616_setupScanMode(instrHndl,mode,channelList,1);
if (status < VI_SUCCESS)
return vtvm3616_ERROR_SETTING_SCAN_MODE;
/*
* Configuring the Scan Limit Index in the scan array where the
* interrupt routine loading the DAC will either stop or loop
* back to zero depending on the scan mode
*/
status = vtvm3616_setupScanLimit(instrHndl, channel, count);
if (status < VI_SUCCESS)
return vtvm3616_ERROR_SETTING_SCAN_LIMIT;
/*
* Configuring the Scan List for the specified channel
*/
status = vtvm3616_setupScanList(instrHndl,
channel, voltageList,
numOfVolts);
if (status < VI_SUCCESS)
return vtvm3616_ERROR_SETTING_SCAN_LIST;
return VI_SUCCESS;
}
Содержание 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 ...