Revision history [back]
The get_variable_handle method of the Data Transfer API takes 3 input parameters:
state, variable_name , and variable_key.
You should first request the variable to be available for access during simulations, by adding an Output:Variable to your input file. Then you can find the variable_name, and variable_key to your desired variable from the output.eso file.
In your case, the variable_key you provided seems incorrect.