Jump to content

glennib

Members
  • Content count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral
  1. glennib

    Problem with testing double arrays

    Hi Ashish, I tried your solution, but found that if there was an error which was not at the last element (e.g. switch the 5 with a 3 in the second element), the error wouldn't show in the VI Tester. However, if you replace the tunnels with shift registers, the errors follow through, and I can use it. Thank you!
  2. Hi, I have an example VI I would like to test with the VI Tester. It is basically useless, but it provides an example of how one of my other VIs work, and I would like to test it. Obviously, this will result in double precision error, since it's difficult to get a constant to represent for example 10/3 or 10/6. I know adding a value to the "delta" input in the test VI works when you're comparing one double value to another, but what if I want to test a whole array like this? I tried to add an array of double precision "1.0" to the delta input, as well as a single constant of it. Both produced error 91, "Variant To Data in TestCase.lvclass:passIfEqual.vi->DivideArray_TestCase.lvclass:test_B_OK.vi". Does anybody have a solution for this? I already read this post, but couldn't find it useful: http://forums.jki.net/topic/1933-issue-with-comparing-1d-double-arrays/?hl=array Thank you LabViewTesterProj.zip
×

Important Information

By using this site, you agree to our Terms of Use.