06-26-2019 09:00 AM
Hello,
I would like to extract from a table that contain random values 6 maximum values, also the difference between those values should be 20
if this condition is not verified we check on the table for the next max values on the table and so on. Till we construct a table that contain 6 max values and the difference betweend them it is big than 20
Thank you for your help. Regards
06-26-2019 08:55 AM
Bonjour,
Je voudrais réaliser un petit programme qui va me servir à extraire les 6 valeurs max d'un tableau qui contient des valeurs aléatoire sachant que la différence entre ces valeurs doit etre 20 si ce n'est pas le cas donc on affichera la valeur ensuite .... etc jusqu'a ou on rempli un tableau de 6 valeurs.
Merci de votre aide
06-26-2019 09:08 AM - edited 06-26-2019 09:09 AM
06-26-2019 09:12 AM
place your random values into a 1D array, sort the array, use array subset to get your 6 values.
use array max/min on this subset and determine the range (your condition of range => 20). if not satisfied, get the next value from your source array and repeat.
The LabVIEW CORE fundamentals course work will give you everything you need to accomplish this task given the advice above.
06-26-2019 09:15 AM - edited 06-26-2019 09:17 AM
Seems like poorly define homework.