NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to multiply an complete array with value?

Hello,

is it possible to perform math operations like +, -, *, / to an array with a statement  in Teststand2020?

Like

Locals.myArray * 100

 

Or this only possible with a loop?

 

Thx

0 Kudos
Message 1 of 2
(758 Views)

@OnlyOne wrote:

is it possible to perform math operations like +, -, *, / to an array with a statement  in Teststand2020?


I don't think so. But you can use StepProperties:Looping and then use expression like Locals.myArray[RunState.LoopIndex] * 100.

Michał Bieńkowski
CLA, CTA

Someone devote his time to help solve your problem? Appreciate it and give kudos. Problem solved? Accept as a solution so that others can find it faster in the future.
Make a contribution to the development of TestStand - vote on TestStand Idea Exchange.
0 Kudos
Message 2 of 2
(707 Views)