Read-only |
About Cal Sets |
Description |
Verifies that the Cal Set object contains the error terms required to perform the specified correction (CalType) to an appropriate measurement. The argument list includes specifiers for up to 3 ports. The number of arguments required depends on the CalType specified. The value for each port is set to 0 if not specified. |
VB Syntax |
check = CalSet.HasCalType (calType, p1, p2, p3) |
||||||||||||||||||||||||
Variable |
(Type) - Description |
||||||||||||||||||||||||
check |
(boolean) - variable to store the returned value TRUE (1) - Cal Set has all of the error terms necessary to apply the specified correction CalType. FALSE(0) - Cal Set DOES NOT have all of the error terms necessary to apply the specified CalType. |
||||||||||||||||||||||||
CalSet |
(object) - A Cal Set object |
||||||||||||||||||||||||
calType |
(enum as naCalType) - type of correction to be applied. Choose from:
* order of port arguments is significant for these CalTypes |
||||||||||||||||||||||||
p1 |
(long) - required. This argument must be specified. This specifies either: - the one significant port for an open/short response cal or a 1 port cal. - or one of the ports involved in a 2, 3, or 4 port cal - or the receive port for a thru response / thru-isolation cal. |
||||||||||||||||||||||||
p2 |
(long) - required for any CalType involving more than one port This specifies either: - one of the ports involved in a 2, 3, or 4 port cal (order independent) - or the source port for a thru response / thru-isolation cal |
||||||||||||||||||||||||
p3 |
(long) - required for 3 and 4-port cal This specifies one of the ports involved in a 3 or 4 port cal (order independent) |
||||||||||||||||||||||||
Return Type |
VARIANT_BOOL |
||||||||||||||||||||||||
Default |
Not Applicable |
||||||||||||||||||||||||
Examples |
value = CalSet.HasCalType(naCalType_TwoPort_TRL, 1, 2) |
||||||||||||||||||||||||
C++ Syntax |
HRESULT HasCalType( tagNACalType, long port1, long port2, long port3, BOOL *pVal); |
||||||||||||||||||||||||
Interface |
ICalSet |