11-11-2020 04:32 AM
I am trying to read the last sec data from fpga if my device under test reaches the specified threshold. The way I am doing it is by reading the analoge values from labview fpga making an array of them and checking it against a threshold and if the last elemrnt of the array is matching the threshold I save the data otherwise its discarded but I am getting the array size error at the output shift register of while loop and have no idea how to solve it. Kindly recommend some solution.
11-11-2020 04:36 AM - edited 11-11-2020 04:39 AM
Hi kazmi,
in FPGA you have to work with fixed-sized arrays.
You cannot use BuildArray in situations when it changes the array size!
Did you read the FPGA basics?
Btw. comparing boolean values with boolean constants (twice!) just to set a loop condition is considered Rube-Goldberg…
11-11-2020 04:49 AM
I am new at LabVIEW fpga and have little time to complete this task.
Can you recommend something instead of build-array function to form an array.....
11-11-2020 04:53 AM - edited 11-11-2020 04:53 AM