le 07-07-2017 02:35 AM
Hi jwscs 🙂
You can try with this file, it will will work on Labview 2015.
You will succeed to open the project and see my code but you will not manage to execute it because your personnal laptop is not connected to my radar.
Also, you have to copy the Agilent ESA PSA Series file in Program filesx86/National Instruments/Labview 2015/instr.lib before trying to open the project.
I remind that my problem is to find a way to catch the pic max of my signal every time the radar send me new measures.
Thank for help
thank for your help.
07-07-2017 03:37 AM - modifié 07-07-2017 03:39 AM
sorry, this is just too much code
for your peak detection, have a google https://encrypted.google.com/search?q=peaks+in+data+algorithm
the stack-overflow link has a smoothed z-score algorithm and several example implementations (none in labview)
le 07-07-2017 04:07 AM
Ok thanks for help.
Have you an idea on how to call a matlab code in labview , i think that if i write a matlab code to detect my pics , i can call it in labview so that it will do what i expect
le 07-07-2017 04:20 AM
never used this, but there seems a way to execute a matlab script from labview on an installed matlab instance
http://zone.ni.com/reference/en-XX/help/371361N-01/gmath/matlab_script_node/
le 07-07-2017 04:22 AM
ok thanks for help
le 07-07-2017 05:25 AM
mhh searching the vi palette should have come to me (/you) earlier
le 07-07-2017 07:23 AM
Oh good ,
but i have another problem, i want my program to run without stop so i click on the loop button on labview but i remark that after a certain time (like 3 or 4 hours) , it stops i don't know why ,
do you have a solution to run my code infinitely because i have to take measures from radar for like one year and if it stops at any time , my calculations will not be exact
Thanks for help
le 07-07-2017 08:00 AM
using the auto-restart button is only a debugging tool, don't use it.
normally you would wrap your code in a loop, that you stop when you want to finish.
but that is basic labview knowledge, which you should already have with such a large project.
if not, read up on the programming guides and tutorials.
for starters you can have a look at the top of the labview forum.
if you have a valid SSP go through the self-paced learning courses.
regards
le 07-07-2017 08:45 AM
After one hour of running my programm, it stopped and give me this report.
le 07-07-2017 08:50 AM
Aurais tu une idée de comment faire tourner mon code sans qu'il ne soit interrompu par le message (regarder pièce jointe) ci dessous.
EN effet, j'ai cliqué sur le bouton d'éxécution continue sans arrêt car je dois récupérer les données du radar sans interrruption pendant une année et si celà est interrompu , celà fausse mes calculs.
Je ne comprends pas bien comment corriger l'erreur ?