Hello
Inf, -Inf and Nan are actaully values that have been standardized by the IEEE, and this is what CVI uses to check it. You can test this by having something like the following:
float x=0.0;
x/=x;
SetCtrlVal (panelHandle, PANEL_NUMERIC, x);
This will set the numeric to display Nan. To find out more about how the numbers are setup, check out the following link:
IEEE Standard 754 Floating Point NumbersI have attached a code snippet that will let you check for these values.
I hope this helps
Bilal Durrani
NI
Bilal Durrani
NI