LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help with with CVI Run time error and run with TestStand

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,

 

Download All
0 Kudos
Message 1 of 6
(3,607 Views)

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.

S. Eren BALCI
IMESTEK
0 Kudos
Message 2 of 6
(3,565 Views)

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.

 

Download All
0 Kudos
Message 3 of 6
(3,542 Views)

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?

S. Eren BALCI
IMESTEK
0 Kudos
Message 4 of 6
(3,525 Views)

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,

 

0 Kudos
Message 5 of 6
(3,472 Views)

There was a similar issue previously:

http://forums.ni.com/t5/LabWindows-CVI/LabWindows-CVI-2013-SP2-stops-working-when-I-try-to-open-a-fi...

 

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,

 

Jonathan R.
Applications Engineer
National Instruments
0 Kudos
Message 6 of 6
(3,460 Views)