11-12-2020 02:46 PM - edited 11-12-2020 02:48 PM
Hardware:
Software:
1. LabVIEW 2017
My issues are broken up into two parts, as well as a tertiary component.
Part 1:
I pulled a solution from NI on how to do digital triggering and used that as a basis for making an analog triggering system. Ideally, it would trigger on a positive slope and then record N samples before automatically stopping. The first part of this function works great, but it fails to end after N samples. The end result is that I have to have do a bit of a choreographed dance to get the data (the optimal amount of data acquistion is around 1s). Frankly, I'm not sure why the logic case block isn't stopping the data collection. Note that there are no errors that are coming up from this.
Part 2:
The second, more involved problem involves data collection from the VI. Again, my VI runs without errors, but the .xls file that comes out is definitely not correct, and I would like the data to be presented in columns. I based my solution off of this video, but I think the reason why it doesn't work is because that example only involved the reading of a single channel to a .xls file.
Part 3 (bonus):
The last part I would like to try to figure out would be plotting a vertical line on the resulting waveforms - vertical lines at the natural frequencies which I am expecting to get out of the system from our model of a flat plate with free boundary conditions. Ideally, it would be something like the xline command on MATLAB. I saw this answer on the site, but frankly I don't know how to implement this answer with the plots that I have.
Any help is greatly appreciated, and please let me know if there's anything that I can do to improve my question.