From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,537 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,532 Views)