NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

EvaluateEx function does'nt work properly if the first parameter passed is "0"

I have a function where I have used EvaluateEx function.
I am checking a condition, if that is zero, my code will be as below:
 
m_po = obj->EvaluateEx ("0", 0);
 
If I pass parameters in the above way, the function does'nt work properly. But if I pass "0.0" instead of "0", then it works. I wanted to know the reason. If any one knows the answer, please reply.
0 Kudos
Message 1 of 2
(2,539 Views)
 
When you say the function does not work properly what do you mean?
Does the function returns a valid object reference?
Is the object value 0?
I was not able to reproduce the problem. It would really help If you could post a simple example.
Regards.
Antonio Lie.
 
 
0 Kudos
Message 2 of 2
(2,534 Views)