HXP  Command Interface Manual 
2.2.30  GatheringConfigurationSet 
Syntax 
C# prototype 
int GatheringConfigurationSet(string[] Type,  out string errstring) 
Python prototype 
[errstring] GatheringConfigurationSet (Type) 
Parameters 
Input parameters  
(string[]) Type: Type 
Output parameters  
(string) errString: The failure reason 
Return 
(int) error code: 0 in success and -1 on failure         
Description 
This function is used to process synchrounous GatheringConfigurationSet command 
which is used to  Configuration acquisition. Refer to the XPS Programmer's manual to 
get the command description. 
2.2.31  GatheringCurrentNumberGet 
Syntax 
C# prototype 
int GatheringCurrentNumberGet(out Int32 CurrentNumber, out Int32 
MaximumSamplesNumber,  out string errstring) 
Python prototype 
[CurrentNumber, MaximumSamplesNumber, errstring] GatheringCurrentNumberGet () 
Parameters 
Input parameters  
None 
Output parameters  
(Int32_i) CurrentNumber: CurrentNumber 
(Int32_i) MaximumSamplesNumber: MaximumSamplesNumber 
(string) errString: The failure reason 
Return 
(int) error code: 0 in success and -1 on failure         
Description 
This function is used to process synchrounous GatheringCurrentNumberGet command 
which is used to  Maximum number of samples and current number during acquisition. 
Refer to the XPS Programmer's manual to get the command description. 
 
 
  17  EDH0318En1042 — 12/18