currently I'm writing a VI for continous acceleration measurement. Herefore I'm using a PXIe-4480 and a ADXL001-70.
I want to monitor the acceleration continously and write the data of acceleration changes. My idea is to implement a trigger which checks the acceleration.
The Trigger should check the acceleration continously and pause the "Write file" if the sensor is in neutral position.
It's my first VI and my first experience with LabVIEW.
Aktuell werden alle Messdaten aufgezeichnet.
Mein Ziel ist es einen Trigger zu haben, der prüft ob es eine Beschleunigungsänderung gibt und dann nur diese Daten speichert.
Ich habe einen Ansatz geschrieben, komme aber nicht weiter...
Ich hoffe, dass ihr mir dabei helfen könnt. Das VI ist im Anhang zu finden.
Solved! Go to Solution.
I would suggest that you continuously acquire data, then use a Producer/Consumer design to process the data in a consumer loop.
This loop can check if the data is greater than some threshold, and if so, either directly log the data, or pass it to another loop (becoming then a producer as well as a consumer) to log it there.
thank you for your help, cbutcher.
I solved the problem with a simple for-loop.
thanks for your help. A very elegant solution, but this doesn't work for me. I need data out of the range (for example: all data bigger than 5 and lower than -5). Is there also a function for it?
(sorry for the double post... Bad internet connection)
thanks for your help. A very elegant solution, but this doesn't work for me. I need the data out of the range (for example: all data bigger than 5 and lower than -5). Is there also a function for it?