VTI Instruments Corp.
58
VM3608A/3616A Programming
ViStatus _VI_FUNC vtvm3616_setupAndWriteToDAC(ViSession instrHndl,
ViInt16
triggerSource,
ViBoolean
slope,
ViReal32
voltLevelValue,
ViInt16
channelList[],
ViInt16
numOfChannels)
{
ViStatus
status
= VI_NULL;
status = vtvm3616_configTriggerParams (instrHndl, triggerSource, slope);
if (status < VI_SUCCESS)
return vtvm3616_ERROR_SETTING_TRIGGER_PARAMS;
status = vtvm3616_setupVoltage(instrHndl,
voltLevelValue,
channelList,
numOfChannels);
if (status < VI_SUCCESS)
return vtvm3616_ERROR_SETTING_OUTPUT_VOLTAGE;
return VI_SUCCESS;
}
/*************************************************************************
Function
:
vtvm3616_setupScanListParams
Formal Parameters ViSession
instrHndl,
- A valid session handle to the instrument.
ViInt16
channel,
- This parameter specifies the channel for which the
scan-list operation mode is to be set.
Valid Range:
vtvm3616_CHANNEL_LIST_MIN (1) to
vtvm3616_CHANNEL_LIST_VM3608_MAX (8) if it is VM3608.
or
vtvm3616_CHANNEL_LIST_MIN (1) to
vtvm3616_CHANNEL_LIST_VM3616_MAX (16) if it is
VM3616.
ViInt16
mode,
- This parameter specifies the mode of operation to be
set for the scan list operation of the specified
channel.
Valid Range: Interpretation:
vtvm3616_SCAN_MODE_OFF Scan Mode Off.
vtvm3616_SCAN_MODE_ON
Scan Mode On.
vtvm3616_SCAN_MODE_LOOP Scan Mode Loop.
Содержание 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 ...