Login Page - Create Account

Support Board


Date/Time: Sat, 20 Apr 2024 14:00:46 +0000



Watching Subgraph Data values during debug with Visual C++

View Count: 2001

[2013-07-06 06:10:17]
umair1 - Posts: 86
I'm doing a step by step debug of one of my study programs and I wanted to see the value of a Subgraph. So for example, I have defined:

SCSubgraphRef test = sc.Subgraph[0];

but when I put in

test[1]
test.Data[1]
sc.Subgraph[0].Data[1]

I get watch errors (in the watch window) like:
    
test.Data[1] CXX0058: Error: overloaded operator not found  
test[1]  CXX0034: Error: types incompatible with operator  

What is the correct watch statement to use to view the array element values?
[2013-07-08 22:38:02]
Sierra Chart - Max - Posts: 5590
You cannot do it this way.

Do it like this:

float Value = test[1];

And then watch Value.
Sierra Chart Support

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account