/******************************************************************************
 *                                                                         
 *               Copyright 2004-2006 Agilent Technologies
 *               All rights reserved.
 *
 *****************************************************************************/
 
#include "stdafx.h"
#include "CoAgilent34951A.h"



/// <summary>
///	Disables or enables the output state of the specified channels on the 34951A Isolated DAC Module.
/// </summary>
/// <remarks>
/// When enabled, the corresponding output relay is closed thus enabling signal outputs from the specified channels.
/// </remarks>
/// <param name="ChannelList">
///	One or more channels in the form sccc. Select from s001, s002, s003, or s004
/// </param>
HRESULT Agilent34951A::IAgilent34951AOutput_get_State(BSTR ChannelList, VARIANT_BOOL* val)
{
	HRESULT hr = S_OK;

	hr = InstrQueryCommandBool(val);

	return hr;
}



/// <summary>
///	Disables or enables the output state of the specified channels on the 34951A Isolated DAC Module.
/// </summary>
/// <remarks>
/// When enabled, the corresponding output relay is closed thus enabling signal outputs from the specified channels.
/// </remarks>
/// <param name="ChannelList">
///	One or more channels in the form sccc. Select from s001, s002, s003, or s004
/// </param>
HRESULT Agilent34951A::IAgilent34951AOutput_put_State(BSTR ChannelList, VARIANT_BOOL val)
{
	HRESULT hr = S_OK;

	hr = InstrPrintCommand();

	return hr;
}


