Controlling an Arduino with the computer

I am going to purchase an arduino uno and a 2relay board to but I was wondering if I could have the Arduino change the relays with a signal from the PC?

We will be using Lab View to write a testing software and need basically to write a program that will have both relays on till I receives a signal, then change to the next configuration.

One way:

And, of course, you can run Processing on the PC and interface to the Arduino:
http://www.tinkerkit.com/processing/

https://learn.sparkfun.com/tutorials/connecting-arduino-to-processing/all
http://www.varesano.net/blog/fabio/serial-communication-arduino-and-processing-simple-examples-and-arduino-based-gamepad-int
and many more Internet references via Google.

Ray

Thank you Ray!
That should work with ease!