DLL Function reference guide
7-1
7 – DLL Function reference guide
All the following examples are indifferently referred to the PMM EP-
600, EP-601, EP-602, EP-603 and EP-604.
The DLL library manages only the broadcast address (“00”).
7.1 C language
7.1.1 PMM_CreateProbe()
int PMM_CreateProbe( const char *name, HANDLE *probeHandle, const char *commPort);
Purpose:
Establishes communications with a specified probe.
Return Value:
Returns an integer status code. The numeric value of 0 indicates no error
occurred. See Status Code chapter for an error code description.
Input Parameters:
const char *name: PMM EP-60X model name Ex.: EP-601
const char *commPort: Serial communication port name Ex.: COM1,
COM3…COM99
Output Parameters:
HANDLE * Handle
Use #include<windows
.
h> for the HANDLE type data.
Special value that is used to refer to this probe for subsequent function
calls after it is created.
7.1.2 PMM_RemoveProbe()
int PMM_RemoveProbe(const HANDLE probeHandle);
Purpose:
Closes the communications port and releases memory back to the system.
Return Value:
Returns an integer status code. The numeric value of 0 indicates no error
occurred. See Status Code chapter for an error code description.
Input Parameters:
HANDLE probeHandle; as returned from the
CreateProbe
function
Output Parameters:
None
7.1.3 PMM_Firmware()
int PMM_Firmware(const HANDLE probeHandle, char *firmware, int *arraySize);
Purpose:
Gets the probe’s firmware version.
Return Value:
Returns an integer status code. The numeric value of 0 indicates no error
occurred. See Status Code chapter for an error code description.
Input Parameters:
HANDLE probeHandle; as returned from the
CreateProbe
function
Output Parameters:
Pass-by-reference character string: Specifying the length of string
Document EP60XEN-01122-3.16 – © NARDA 2020
Summary of Contents for narda PMM EP-600
Page 14: ...XIV Safety Consideration This page has been left blank intentionally ...
Page 45: ...Measurements 3 7 Fig 3 3 PMM EP 600 601 602 603 604 in Anechoic Chamber ...
Page 96: ...6 6 Communication protocol This page has been left blank intentionally ...
Page 104: ...8 2 Accessories This page has been left blank intentionally ...
Page 106: ...8 4 Accessories This page has been left blank intentionally ...
Page 108: ...8 6 Accessories This page has been left blank intentionally ...
Page 112: ...8 10 Accessories This page has been left blank intentionally ...
Page 114: ...8 12 Accessories This page has been left blank intentionally ...
Page 116: ...8 14 Accessories This page has been left blank intentionally ...
Page 118: ...Suggerimenti Commenti Note Suggestions Comments Note ...