11-23-2015 05:34 AM
Hi All,
I have a 2D array with numbers in (Locals.numbers) that are passsed into a Labview VI to control a motor (the Labview VI attached is just a demo to try and solve the problem). This works fine as it is but I would like to send the motor in the opposite direction and thought I could use the same Array (Locals.numbers) but negate it. I can fix this in Labview (numbers Array * -1) but can't seem to find the answer in TestStand. Can this be done?
11-24-2015 02:28 AM
There are similar threads http://forums.ni.com/t5/NI-TestStand/Math-operations-on-array-in-TestStand/td-p/2738060 which have no solution.
So the awnser is most problably it's not suported in teststand as a simple math operaion. Ofcourse you code do some jugeling in a parameterized subsequnce but that is not what youare looking for if I'm correct.
Would be nice hough if it did exist.
11-24-2015 03:39 AM
OK Thanks. Looks like I'll have to create another array but with minus numbers
11-24-2015 03:42 AM
Or as you stated make a LabVIEW VI which inverts the array. That would prevent making chnages in two places if (or most probably when 🙂 ) you get new requirments.