AnsweredAssumed Answered

Using Automation API (VBScript)

Question asked by Yves on Feb 8, 2013
Latest reply on Feb 11, 2013 by ColinJ

Hi,

 

I have started using the VisualDSP++ Automation interface via the API in VBScript.

 

Do the API allow to access structures and array of structures so that the data can be captured and processed ? I have only been able to get and manipulate scalar types.

 

Example: app.PrintText tabConsole, processor.EvaluateToString( "temp_test_script1", "Integer" ) 

This works fine as tem_test_script1 is defined as a int.

 

However,  app.PrintText tabConsole, processor.EvaluateToString( "struct_temp(0).num_chain", "Hexadecimal" )

does not work as it does not seem able to handle index 0 of an array structure.

 

Is there some type of limitations to use more complex data types?

 

Thanks,

 

Yves

Outcomes