02-28-2008 06:13 AM
02-28-2008 08:26 AM
Don't understand what you are tyring to do. You can't control the power of a USB port, so your USB mouse is always going to be powered.
You mention a serial port. That's not the same thing at all as a USB port. If you have a serial mouse, you can connect that to a serial port. A regular mouse cannot be connected to a serial port because the logic levels are wrong. If you wanted to experiment, I suppose you could try connecting a mouse to a parallel port and try that. There's a shipping example with LabVIEW that shows one way to control the parallel port.
02-29-2008 09:25 AM
Hi Mathan,
To find the examples that Dennis mentioned, open LabVIEW and navigate to Help >> Find Examples. Then search for "parallel", and you will find two examples: Parallel Port Read and Write Loop.vi and Parallel Port Additional Data Register Inputs.vi. Also, in the Connectivity >> Input Device Control function palette, you will find some functions to control a mouse.
Regards,
Rima