DIAdemヘルプ

Method: GetAsArray for DataLinks <Analysis Automation>

  • 更新日2024-09-12
  • 3分で読める

Method: GetAsArray for DataLinks <Analysis Automation>

Returns an element of the DataLinks <Analysis Automation> collection as a type-safe array. You cannot access this array from VBS scripts. However, you can exchange the data with other applications that expect type-safe arrays. You can use this array in the LoadData for Navigator command in order to load the elements from the search simultaneously. This method may use a lot of memory because analysis automation loads all retrieved data simultaneously. However, analysis automation does not need to load this data individually through the network, which may improve performance. Use the Item for DataLinks method to access the data one by one.

Object.GetAsArray
ObjectDataLinks <Analysis Automation>
Object with this method

The following example loads the elements to be analyzed:

VBScriptPython

 

Sub On_Run_AnalysisProcedure(oContext) 
   Navigator.LoadData(oContext.DataLinks.GetAsArray())   
' Enter your analysis commands
End Sub

Log in to get a better experience