[in] SAFEARRAY argument interpreted by the format string.
InstrPrintCommandNoPoll
Sends the command for the current method to the device without polling for instrument errors after the write.
Syntax
Section titled “Syntax”virtual HRESULT InstrPrintCommandNoPoll();
virtual HRESULT InstrPrintCommandNoPoll(SAFEARRAY* psaArg [, argument] ...);Parameters
Section titled “Parameters”psaArg
argument
[in] Optional arguments interpreted by the format string.
Return value
Section titled “Return value”Returns S_OK if successful, otherwise a failure HRESULT.
Remarks
Section titled “Remarks”This function behaves identically to the InstrPrintCommand function except that the device is not polled for errors after the command is written.
Example
Section titled “Example”The following example demonstrates use of the InstrPrintCommandNoPoll function.
HRESULT Acme4321::Configure(double Frequency, double Gain){ HRESULT hr = S_OK;
hr = InstrPrintCommandNoPoll();
return hr;}