I am Vasileios and I have a question for you!
I want to take ten voltage measurements with a DAQ assistant and between them to have a delay of one second. And afterwards out of these ten volage measurements to find the average between a maximum and a minimum value. In the end I want to save the final value.
I would appreciate your help!
Regards from France,
Do a finite sampling with 10 samples at a 1Hz frequency. From there, use the Array Max & Min to get your maximum and minimum values. Add them and divide by 2.
Thank you for yuor reply. nonetheless I would like to solve my problem creating an array out of these 10 measurements (putting the daq assistant inside a for loop for ten) and then after I do the addition of the ten measurements I deivide with ten in order to find the average.... But to be honnest that is my initial plan and I face a lot of difficulties... 😞
Can you give me another solution???
Your method sounds like it will work too.
Have you tried coding this up? Care to share any code you have done?
Hey again and thanks for your reply,
Although I haven't done a lot of progress I could say , I am attaching you the vi.. Actually I am still concerned which array functions I should use since I cannot figure out how to make an array of ten measurements...
Feel free to make any changes!
Additionally from the same daq assistant I have two channels and i want to do the same thing for both channels... but I maybe think about it in a later stage..
Something like this?
Can you please share with me (and all the others) your VI?
I will try to see if I will have the expected results 🙂
Thank you for your replies. Finally after spending sometime discovering new things in labview I made out the below selection 🙂
Try to avoid the use of local variables. They are additional copies of your data and they break data flow. LabVIEW is a data flow language. Use wires whenever possible.