Click or drag to resize

InstrPrintCommandNoPoll

Sends the command for the current method to the device without polling for instrument errors after the write.

virtual HRESULT InstrPrintCommandNoPoll();

virtual HRESULT InstrPrintCommandNoPoll(SAFEARRAY* psaArg [, argument] ...);
Parameters
psaArg

[in] SAFEARRAY argument interpreted by the format string.

argument

[in] Optional arguments interpreted by the format string.

Return Value

Returns S_OK if successful, otherwise a failure HRESULT.

Remarks

This function behaves identically to the InstrPrintCommand function except that the device is not polled for errors after the command is written.

Example

The following example demonstrates use of the InstrPrintCommandNoPoll function.

C++
// CoAcme4321.cpp
HRESULT Acme4321::Configure(double Frequency, double Gain)
{
  HRESULT hr = S_OK;

  hr = InstrPrintCommandNoPoll();

  return hr;
}
See Also

Other Resources

Download a complete CHM version of this documentation here.