 |
ZNA Custom DLL SDK
Version1.0.0
Network Analyser Extensions
|
Go to the documentation of this file.
113 #ifndef RS_VNA_CUSTOM_DLL_INTERFACE_28F7221D_FAA2_450B_B88A_BB6BED9C0262
114 #define RS_VNA_CUSTOM_DLL_INTERFACE_28F7221D_FAA2_450B_B88A_BB6BED9C0262
117 #ifndef RS_VNA_API_IMPORTS
118 #define RS_VNA_API __declspec(dllexport)
120 #define RS_VNA_API __declspec(dllimport)
124 #define RS_VNA_DLL_INTERFACE_MAJOR_RELEASE 1
125 #define RS_VNA_DLL_INTERFACE_MINOR_RELEASE 0
127 #define RS_VNA_DLL_INTERFACE_PATCH_LEVEL 0
130 #define RS_VNA_MAX_CHAR_SIZE 512
339 const unsigned int numberOfHumanNames,
340 char** humanNamesList);
361 const unsigned int position,
362 const unsigned int numberOfSweepPoints,
363 const unsigned int numberOfTraceData,
435 const char* deviceAddress,
436 const unsigned int position,
437 const unsigned int numberOfSweepPoints,
441 unsigned int* positionOfLastOutputValue);
ERsVnaInterruptPosition
Contains the interrupt position, which describes where the interrupt should be occurred.
Definition: RsVnaCustomDllInterface.h:209
@ RS_VNA_MEAS_POINT
If the interrupt is requested per measurement point.
Definition: RsVnaCustomDllInterface.h:204
RS_VNA_API int RsVnaGetErrorInfo(const int errorCode, char **errorText)
#define RS_VNA_MAX_CHAR_SIZE
Contains the maximal length for the here used char types.
Definition: RsVnaCustomDllInterface.h:131
RS_VNA_API int RsVnaOnUnloadDll()
struct RsVnaComplex value
Complex value provided for the humanName.
Definition: RsVnaCustomDllInterface.h:166
@ RS_VNA_SECONDS
Seconds.
Definition: RsVnaCustomDllInterface.h:174
@ RS_VNA_FARAD
Farad.
Definition: RsVnaCustomDllInterface.h:187
#define RS_VNA_API
Usage as Dll export.
Definition: RsVnaCustomDllInterface.h:118
RS_VNA_API int RsVnaGetTaskTypes(const unsigned int numberOfTaskTypes, char **taskTypesList, char **additionalDefaultInput)
@ RS_VNA_SIEMENS
Siemens.
Definition: RsVnaCustomDllInterface.h:177
@ RS_VNA_DB_HZ
dB / Hz
Definition: RsVnaCustomDllInterface.h:185
@ RS_VNA_LIST
If a list of human names (same as in SCPI) of a specific task type is returned, required for the trac...
Definition: RsVnaCustomDllInterface.h:195
@ RS_VNA_GRAD
Degree.
Definition: RsVnaCustomDllInterface.h:173
@ RS_VNA_SEGMENT
If the interrupt is requested per segment.
Definition: RsVnaCustomDllInterface.h:202
Contains an human name (same as in SCPI) with a corresponding complex value for a specific measuremen...
Definition: RsVnaCustomDllInterface.h:164
@ RS_VNA_POST
If the interrupt is requested after the measurement of the specified interrupt type.
Definition: RsVnaCustomDllInterface.h:212
RS_VNA_API int RsVnaGetTraceRequirements(const struct RsVnaTaskId taskId, enum ERsVnaInputType *inputType, const unsigned int numberOfHumanNames, char **humanNamesList)
Contains a version number in major release, minor release and patch level.
Definition: RsVnaCustomDllInterface.h:140
unsigned int minorRelease
Minor release Version.
Definition: RsVnaCustomDllInterface.h:142
@ RS_VNA_DRIVING_PORT
If the interrupt is requested per drive port.
Definition: RsVnaCustomDllInterface.h:203
ERsVnaInterruptType
Contains the custom DLL interrupt type, which describes how often an interrupt should be occurred.
Definition: RsVnaCustomDllInterface.h:200
unsigned int majorRelease
Major release Version.
Definition: RsVnaCustomDllInterface.h:141
@ RS_VNA_WATT
Watt.
Definition: RsVnaCustomDllInterface.h:179
Contains an ID, consisting of the following four parameters, to identify a specific task.
Definition: RsVnaCustomDllInterface.h:148
@ RS_VNA_DECIBEL
dB
Definition: RsVnaCustomDllInterface.h:175
char additionalInput[RS_VNA_MAX_CHAR_SIZE]
Contains the additional input text (e.g. "Ch1" for channel identification).
Definition: RsVnaCustomDllInterface.h:150
ERsVnaMeasUnit
Contains all available units for the task type.
Definition: RsVnaCustomDllInterface.h:171
@ RS_VNA_UNIT
No Unit.
Definition: RsVnaCustomDllInterface.h:172
RS_VNA_API int RsVnaCalculateTrace(const struct RsVnaTaskId taskId, const unsigned int position, const unsigned int numberOfSweepPoints, const unsigned int numberOfTraceData, const struct RsVnaTraceData **traceDataList, struct RsVnaComplex *outputValue)
@ RS_VNA_NONE
If no interrupt is requested.
Definition: RsVnaCustomDllInterface.h:210
@ RS_VNA_DB_MICRO_V
dB / μV
Definition: RsVnaCustomDllInterface.h:181
@ RS_VNA_DBM
dBm
Definition: RsVnaCustomDllInterface.h:180
@ RS_VNA_HENRY
Henry.
Definition: RsVnaCustomDllInterface.h:186
RS_VNA_API int RsVnaGetNumberOfTaskTypes(unsigned int *numberOfTaskTypes)
char dllFilename[RS_VNA_MAX_CHAR_SIZE]
Contains the DLL filename (excluding the file extension).
Definition: RsVnaCustomDllInterface.h:149
@ RS_VNA_SAME
If the input should be equal to the output, so no trace calculation is required (no call to method "R...
Definition: RsVnaCustomDllInterface.h:194
char humanName[RS_VNA_MAX_CHAR_SIZE]
Human name associated with the value.
Definition: RsVnaCustomDllInterface.h:165
@ RS_VNA_PRE
If the interrupt is requested before the measurement of the specified interrupt type.
Definition: RsVnaCustomDllInterface.h:211
RS_VNA_API int RsVnaInterruptCallback(const struct RsVnaTaskId taskId, const char *deviceAddress, const unsigned int position, const unsigned int numberOfSweepPoints, const enum ERsVnaInterruptType interruptType, const enum ERsVnaInterruptPosition interruptPosition, struct RsVnaComplex *outputValueList, unsigned int *positionOfLastOutputValue)
@ RS_VNA_OHM
Ohm.
Definition: RsVnaCustomDllInterface.h:176
Contains a complex value in real and imaginary part.
Definition: RsVnaCustomDllInterface.h:157
@ RS_VNA_SECONDS_HZ
s / Hz
Definition: RsVnaCustomDllInterface.h:182
RS_VNA_API int RsVnaGetUnit(const struct RsVnaTaskId taskId, enum ERsVnaMeasUnit *unit)
@ RS_VNA_VOLT
Volt.
Definition: RsVnaCustomDllInterface.h:178
ERsVnaInputType
Contains the input type.
Definition: RsVnaCustomDllInterface.h:193
unsigned int drivingPort
Contains the drive port number (1-based). Zero if called for all drive ports.
Definition: RsVnaCustomDllInterface.h:151
@ RS_VNA_DBM_HZ
dBm / Hz
Definition: RsVnaCustomDllInterface.h:184
RS_VNA_API int RsVnaOnLoadDll()
double realPart
real part of the complex number
Definition: RsVnaCustomDllInterface.h:158
@ RS_VNA_DBC
dBc
Definition: RsVnaCustomDllInterface.h:183
unsigned int patchLevel
Patch Version.
Definition: RsVnaCustomDllInterface.h:143
RS_VNA_API int RsVnaGetVersion(struct RsVnaVersion *dllVersion, struct RsVnaVersion *interfaceVersion)
@ RS_VNA_AMPERE
Ampere.
Definition: RsVnaCustomDllInterface.h:188
@ RS_VNA_CHANNEL
If the interrupt is requested per channel.
Definition: RsVnaCustomDllInterface.h:201
RS_VNA_API int RsVnaGetInterruptRequests(const struct RsVnaTaskId taskId, enum ERsVnaInterruptPosition *interruptPositionForChannel, enum ERsVnaInterruptPosition *interruptPositionForSegment, enum ERsVnaInterruptPosition *interruptPositionForDrivingPort, enum ERsVnaInterruptPosition *interruptPositionForMeasPoint)
@ RS_VNA_BOTH
If the interrupt is requested before and after the measurement of the specified interrupt type.
Definition: RsVnaCustomDllInterface.h:213
RS_VNA_API int RsVnaGetNumberOfHumanNames(const struct RsVnaTaskId taskId, unsigned int *numberOfHumanNames)
char taskType[RS_VNA_MAX_CHAR_SIZE]
Contains the task type name.
Definition: RsVnaCustomDllInterface.h:152
double imaginaryPart
imaginary part of the complex number
Definition: RsVnaCustomDllInterface.h:159