12-03-2015 12:54 AM - edited 12-03-2015 12:55 AM
HI
I'm trying to get mouse coordinates from myRIO
but there exist only joystick VI Using this VI i can get mouse's button data but not coordinates data
can i modify joystick VI to get mouse data?
i also tried to communication with ps2 mouse has om02 chip
spi, ic2, uart and serial...
what should i choose the protocol?I don't know communication well
what can i do to solve this problem?
thkanks for reading ^^
12-03-2015 03:36 AM
12-03-2015 03:49 AM - edited 12-03-2015 03:53 AM
Firstly, there is a dedicated forum for the myRIO - here.
Secondly, the myRIO runs a variant of linux so it may be that the support for a USB mouse is already there, you just need to find a way to get that data into LabVIEW - that's pretty much where the extent of my knowledge for this kind of thing runs out - there might be a device node you can read from using the file I/O functions and/or a console command (using system exec) you can run which gives you the mouse position. There are lots of software packages you can install to your myRIO...so there might be a compiled package already available.
I just found this example for reading from a USB Keyboard: https://decibel.ni.com/content/docs/DOC-39006
12-03-2015 04:33 AM
thanks for your kindness
I saw this datasheet already...TT
I can't catch what i need...
Thanks again