Jump to content
curiouspuya

Making a mouse driver using Labview

Recommended Posts

Hi there,

I would like to make my own mouse using my own hardware from scratch. Does anyone know how to make a driver for such a device using LV only?

Thanks

P

Share this post


Link to post
Share on other sites

Does anyone know how to make a driver for such a device using LV only?

Assuming you mean a traditional Windows driver, you can't.

You'll nee to use the Windows Device Development Kit and it uses some version of Visual Studio and write it C or C++, I forget which.

On the other hand, if you make it with a USB interface and HID compliant you won't need to make a device driver. Windows (and just about every other modern OS) will recognize it and use a built in driver for it.

There are many microcontroller products/projects out there that ship with a USB interface and HID compliant stack.

Share this post


Link to post
Share on other sites

Assuming you mean a traditional Windows driver, you can't.

You'll nee to use the Windows Device Development Kit and it uses some version of Visual Studio and write it C or C++, I forget which.

On the other hand, if you make it with a USB interface and HID compliant you won't need to make a device driver. Windows (and just about every other modern OS) will recognize it and use a built in driver for it.

There are many microcontroller products/projects out there that ship with a USB interface and HID compliant stack.

You can't exactly create a LV driver, but you can use NI-VISA as the driver for a USB device, and then use VISA functions in LV to send USB-RAW communication to the endpoints. This would allow (very) low-level control of the device from LV, even though LV isn't technically the driver.

Search VISA and USB-RAW for more info or see here or here to start.

Share this post


Link to post
Share on other sites

Assuming you mean a traditional Windows driver, you can't.

You'll nee to use the Windows Device Development Kit and it uses some version of Visual Studio and write it C or C++, I forget which.

On the other hand, if you make it with a USB interface and HID compliant you won't need to make a device driver. Windows (and just about every other modern OS) will recognize it and use a built in driver for it.

There are many microcontroller products/projects out there that ship with a USB interface and HID compliant stack.

Thanks. That would mean I would have to first program the output of the device according to some mouse standards for generic USB interface.

Share this post


Link to post
Share on other sites

You can't exactly create a LV driver, but you can use NI-VISA as the driver for a USB device, and then use VISA functions in LV to send USB-RAW communication to the endpoints. This would allow (very) low-level control of the device from LV, even though LV isn't technically the driver.

Search VISA and USB-RAW for more info or see here or here to start.

Thanks for that Jarrod

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.