
WaveForms™ SDK Reference Manual
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
2 System
FDwfGetLastError(DWFERC *pdwferc)
Parameters:
- pdwferc - Variable to receive error code.
The function above is used to retrieve the last error code in the calling process. The error code is cleared when
other API functions are called and is only set when an API function fails during execution. Error codes are declared
in dwf.h:
Call waiting on pending API time out.
Call waiting on pending API time out.
Parameter 0 was invalid in last API call.
Parameter 1 was invalid in last API call.
Parameter 2 was invalid in last API call.
Parameter 3 was invalid in last API call.
FDwfGetLastErrorMsg(char szError[512])
Parameters:
- szError - Pointer to buffer to receive error string.
The function above is used to retrieve the last error message. This may consist of a chain of messages, separated
by a new line character, that describe the events leading to the failure.
FDwfGetVersion(char szVersion[32])
Parameters:
- szVersion - Pointer to buffer to receive version string.
The function above is used to retrieve the version string. The version string is composed of major, minor, and build
numbers (i.e., “2.0.19”).
Kommentare zu diesen Handbüchern