12-21-2016 01:45 PM
I'm getting Non-Fatal Run-time Error when running Window/CVI code in TestStand. See attachments. What condition does Windows/CVI generate attached error message?
Thanks,
12-22-2016 01:39 AM
Hi,
I think the error messages are very detailed and gives a direct reference to the error.
Look at the code to the given reference.
If you cannot figure out what is wrong, provide an excerpt between lines 380-400 of your code. We can have a look.
You probably have a pointer misuse.
12-22-2016 09:14 AM
Hi,
I've set variable quad as ViInt 16, quad = 0.0; and matrix quadRelayStr[ ] as shown on attached image, Error code 001.jpg.
Error code.JPG has the line 380 t0 400.
Thanks, for you help.
12-23-2016 12:35 AM
quad = 0.0 looks like a floating point, but you say it is a ViInt16.
Besides, what matters is the value of quad at line 389. You dereference a value from the fixtBalNormFact array by using quad as an index. If quad exceeds the maximum index of that array, it will cause a problem.
Can you break at that point and check the value of quad?
01-03-2017 02:29 PM
Thanks for your help. It's been fix, however when I completed the function, I'm getting another error message. Not sure what is causing this error message. Error message is attached.
Thanks,
01-04-2017 08:56 AM
There was a similar issue previously:
You may need to either repair or force reinstall your LabWindows/CVI:
http://digital.ni.com/public.nsf/allkb/AC6ED75D3D93375686256E8E00245F0D
http://digital.ni.com/public.nsf/allkb/ADD22E807D5A12AD862579EC00760F79
Thanks,