Controlling Nvidea 3D vision at different time points

We have Nvidea 3D vision 2 glasses and are looking to use it in our experiments. Essentially we would like to control the glasses (make the glasses on and off) at particular instants in time. I have basic programming knowledge so any advise would be appreciated!