Hello kawaiicat,
Thank you for contacting National Instruments. I ran your vi with a simulated device and it appeared to work correctly, even without separating the waveform. If you enable the simulated device and then run the program, you should see that the vi correctly calculates the RMS value of the simulated signal.

To answer your question about how the sampling rate affects the RMS value, as long as the sampling rate is significantly above the Niquist Frequency (2x the frequency of the signal), it should not affect the RMS value. In other words, as long as the signal appears as it should on the graph, the RMS value should reflect the RMS value of the signal.
If you could take several screenshots showing the signal and the RMS value, both with the simulated device and your signal, that might help with troubleshooting.
Neal M.
NIC AE
www.ni.com/support
SR#: 1028611
Message Edited by Neal M on 09-28-2007 11:31 AM
Neal M.
Applications Engineering National Instruments www.ni.com/support