Hi Ivan99,
You can create an acceleration task in Measurement and Automation Explorer (MAX) for your NI 9233 and scale it appropriately
to get your data in Gs. To create the task, open up MAX and right click Data Neighborhood then select Create New » NI DAQmx Task » Acquire Signal» Analog Input » Acceleration. Assuming you are using LabVIEW, you can use an Array Max & Min VI to extract the maximum value in a given data set. When you say you want to save the waveform every time you run your VI, would you like to save your data or the graph itself.
If you have never used DAQmx or LabVIEW to acquire data, I would recommend the
Complete DAQ Tutorial as a starting point. I hope this helps.
Best Regards
Hani R.
Applications Engineer
National Instruments