![]() | 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] ...);
[in] SAFEARRAY argument interpreted by the format string.
[in] Optional arguments interpreted by the format string.
Returns S_OK if successful, otherwise a failure HRESULT.
This function behaves identically to the InstrPrintCommand function except that the device is not polled for errors after the command is written.
The following example demonstrates use of the InstrPrintCommandNoPoll function.
// CoAcme4321.cpp HRESULT Acme4321::Configure(double Frequency, double Gain) { HRESULT hr = S_OK; hr = InstrPrintCommandNoPoll(); return hr; }