LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI to control VISA device polling rate

I'm using a laser gaming mouse as a VISA USB device to collect interrupt data. The mouse has software made by the manufacturer that lets you manipulate polling rate, CPI, acceleration, and a ton of other stuff. However, to make it a VISA-recognized device, I need to wipe the other drivers from the OS and install VISA drivers for the device, erasing any kind of customizability that was possible before. Is there any custom VI that allows me to manipulate polling rate for VISA instruments? Even better would be one that also let me change the CPI for mice, specifically.

 

Thanks!

0 Kudos
Message 1 of 4
(2,710 Views)
Why don't you want to use the existing driver from the vendor? The only way to change the parameters for the mouse is by getting the low level protocol from the vendor or using their driver. I don't understand the purpose of using the VISA Wizard.
0 Kudos
Message 2 of 4
(2,701 Views)

Ultimately, I want to use the mouse to measure the movement of something else—I collect this movement through the displacement data of USB Interrupt events. I don't want to use this mouse to manipulate my screen's cursor or anything like that; it's strictly for purposes of gathering interrupt data.

 

If there's a way to preserve the vendor's drivers while also removing the normal functions of the mouse (i.e. interfacing with the OS) AND still being able to gather interrupt data in LabVIEW, that'd be great. Is there such a thing?

0 Kudos
Message 3 of 4
(2,694 Views)

Hi kwanlab

 

I am not sure if you can remove normal functions of the mouse, I am going to check that.

 

In the mean time here is an example that might be usefull:

Re: measure calibrated magnitude of 2 mouse displacement 2 determine axis of rotation - Discussion Forums
http://forums.ni.com/t5/LabVIEW/measure-calibrated-magnitude-of-2-mouse-displacement-2-determine/m-p...

 

Regards, 

Carolina

 

0 Kudos
Message 4 of 4
(2,636 Views)