In adition to the vi, it would be interesting to know how you are reducing the 115 VAC to a level that is compatible with the PXI-4472.
Got it working.
It was my sampling settings that was wrong and how I put my code together.
For reducing 115vac i used resistors (ATTENUATOR 20:1).
OLD vi. code
New vi. code