User Input to Array (or something similar)
Hello everyone!
I was wondering if it is somehow possible to have a user input some Values into an array or something like that? I already created a sequence where some test signals that are saved in a vector constant (in the setup) are given out through an analog channel. I now need the user to be able to input a measured response from the tested device. Does anybody know how this can be done?
Thanks for your help,
Andri
Hi,
Did you find any solution to this? I'm looking at a similar issue where I want to store a scalar in an array which increases in size (appends new value) for each new value of the scalar.
Benjamin
Dear Andri and Benjamin,
thank you for reaching out to us. It is not possible to input a vector during a measurement. It is possible however to define a vector channel and then write values from user input channel to vector channel. In the attachment I have prepared a setup file with C++ script where the user inputs numbers thorough the user input widget and the numbers are stored in a vector. Please notice that the size of the vector needs to be predefined, in the example only 5 numbers are stored in the vector.
Kind regards.
Attached files: