If the file defined for CabCompFile does not exist, or there is no path specified (null string), the
default compensation parameters are used. When entering the path, use two backslash (\\)
characters to separate each directory. For example, if your cable file is in
C:\calfiles\590cal.dat, you enter the following:
C:\\calfiles\\590cal.dat
If a switch matrix to route signals is being controlled by a connection action (for example, connect),
there is no need to connect InputPin and OutPin. Set these parameters to 0.
The return values from status can be:
• 0: OK.
• -10021 (COMP_FILE_NOT_EXIST): The specified compensation file does not exist.
• -10022 (KI590_NOT_IN_KCON): There is no CMTR defined in your system configuration.
Also see
SaveCableCompCaps590 user module (on page 4-32)
LoadCableCorrectionConstants
LoadCableCorrectionConstants reads the cable compensation parameters for the range and frequency
specified from the cable compensation file and sends these parameters to the 590.
Usage
status = LoadCableCorrectionConstants(char *CabCompFile, char *instr_id, *frequency,
int range);
The CMTR instrument ID; this can be CMTR1 through CMTR4, depending on the
configuration of your system