Recording acceleration while moving

Hi all, I'm new.

I am trying to use an accelerometer to record acceleration while a robot is moving. Is it possible to have the Arduino send commands and receive data from the accelerometer at the same time?

Thanks!

It should work, give it a try.