Using optical mice as input devices

Hi,
I'm doing a robotics research project, looking at the possibility of using optical mouse-style CMOS sensors for motion tracking. To this end, I'm building a simple machine with LEGO Mindstorms, and I intend to attach two optical mice to this and feed their output into LabView.
Ideally, I'd like to plug both mice into USB ports. Can anyone help me with these two problems?
1. How to get input from two mice simultaneously? i.e. how to differentiate between them.
2. How to have LabView process USB input? I imagine there will be an ActiveX control for them (which leads back to question 1...)
Thanks for your help. Yours,
Gareth.

ghann wrote:
> Hi,
>
> I'm doing a robotics research project, looking at the possibility of
> using optical mouse-style CMOS sensors for motion tracking. To this
> end, I'm building a simple machine with LEGO Mindstorms, and I intend
> to attach two optical mice to this and feed their output into LabView.
>
> Ideally, I'd like to plug both mice into USB ports. Can anyone help me
> with these two problems?
>
> 1. How to get input from two mice simultaneously? i.e. how to
> differentiate between them.
>
> 2. How to have LabView process USB input? I imagine there will be an
> ActiveX control for them (which leads back to question 1...)
>
> Thanks for your help. Yours,
>
> Gareth.
You are going to conflict with the OS mouse driver. The OS will detect
the USB mouse and install a driver for it and you won't be able to get
your arms around that. Why don't you use two PS/2 mice with serial
converter plugs? That way you just use COM ports and the mouse protocol
is well known. If you go USB I think you will spend all of your time
dicking around trying to force it to do something it wasn't designed to
do. The real problem is that there is only one cursor so you won't be
able to differentiate positioning inputs.
Otherwise, hook up two USB mice, glue the right button down on one and
see if you can distiguish button down moves from button up moves
(probably won't work.)

Similar Messages

  • Using more than one input device at the same time

    Is it possible to use more than one input device at the saem time in logic express. For example I have a fire wire input device and a usb input device can I get Express to recognize both of these at once and so have a total of 4 ins which would be great since Im transfering tracks off my ADAT and it would be less track to have to line up.
    Thanks

    Hi,
    yes, it should be possible by creating an aggregate device. Google for it or search this forum. There are many tutorials how to set it up.
    Have fun!
    Fox

  • Using optical S/PDIF input on Digi002

    Hi
    I wanna use the optical in on my Digi002 for my CD player, but can't get it to work. I use Logic pro 8.01

    Found a thread here.
    http://www.gearslutz.com/board/showthread.php?s=9cf0ae9b492f8e40ff794d55c2392267 &t=61431&page=2
    Looks like others are having success. Try trashing the file ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist
    And restart. See if that fixes anything.

  • Using more than one USB input device with Logic

    I have 2 USB mic's that I would like to record to separate tracks in Logic Express. The research I've done seems to indicate that this is not possible because an audio interface is required for more than one input device of any kind. Is there any way around buying a $150 audio interface? If so, I'll complicate things further, the mics are SAMSON CU10's and logic does not recognize them unless you set them up with the Aggregate device editor. Another configuration I would like to use in a Line6 USB guitar interface on one track and a Samson USB mic on another. Any options or do I need to buy an audio interface?

    The line 6 is an interface. Try setting up the mic & the Line 6 as an aggregate device-I'm not sure if you can couple two ag's together or not. Barring that, Lexicon's Alpha has dropped to $80.oo, I'm getting set to but one today.
    -d

  • Dv6-LT069av has a input connector for mic or other input devices, to connect a LP player

    Pavillion dv6 has an input connector for mic or other input devices next to headphones connector on left side, to connect a LP player or other device thru the mic connector, what kind of cable is required? I used an RCA to male cord but no input on the notebook. And how to make it record from that mic input connector? Any settings need to be changed in Win7 to make it work? Thanks in advance.

    Get one of these ...
    http://www.amazon.com/Audiovox-Corporation-CRF907-​RCA-Modulator/dp/B0014KKV7W/ref=dp_cp_ob_e_title_0 
    Connect the RF (Coax) output of the STB to the Coax-in on the modulator
    Connect the Coax-out on the modulator to the TV
    Connect the Video-out and Audio-out RCA jacks on the DVD/VCR to the Video-in and Audio-in on the modulator.
    The STB signal will flow thru the modulator and allow you to watch TV as normal.
    When you turn the DVD/VCR on, the modulator will sense the signal coming from the device and override the signal and inject it onto the coax (converting it to RF first) so that it shows up on the TV instead of the STB output.   When you're done and turn the DVD/VCR off, the signal from the STB will automatically return to the TV.

  • How do I use optical input for recording in Garageband 9?

    Hi,
    I'm trying to use the Optical Line Input on my G5 for recording in Garageband, using a MOTU 828. I have the 828 optical output connected to the optical audio input on the G5, and I have Digital In (Optical digital-in port) selected in system preferences/sound. But in Garageband preferences, optical or digital input is not among my choices. If I select system setting or built-in audio 2, I get no signal. If I select MOTU 828, it defaults to the analog master outputs on the 828.
    I am a Logic 8 user, and I'm able to select the optical input in Logic with no problem. I have my MOTU audio setup set so that the optical output is the default output, but Garageband still seems to use the analog output. I can tell by the record level, which is considerably louder for analog than for optical.
    Any suggestions?
    Thanks!

    create a new fla, add btn and add the code i suggested.  test.
    var count:int;
    var imageArray:Array=["1.jpg","2.jpg","3.jpg","4.jpg","5.jpg","6.jpg","7. jpg",
    "8.jpg","9.jpg","10.jpg","11.jpg","12.jpg","13.jpg"];
    var ldr0:Loader=new Loader();
    ldr0.contentLoaderInfo.addEventListener(Event.COMPLETE,loadCompleteF);
    var ldr1:Loader=new Loader();
    ldr1.contentLoaderInfo.addEventListener(Event.COMPLETE,loadCompleteF);
    btn.addEventListener(MouseEvent.CLICK,clickF);
    function clickF(e:MouseEvent):void{
    // initialize count
    count=0;
    // call loadF
    loadF();
    function loadF():void{
    // add one of the loaders to the top of the displaylist and load the next image
    addChild(this["ldr"+count%2])
    this["ldr"+count%2].load(new URLRequest(imageArray[count]));
    function loadCompleteF(e:Event):void{
    // increment count
    count++;
    // check if the last has loaded
    if(count<imageArray.length){
    // if not clear the content out of the next loader.
    if(this["ldr"+count%2].content){
    this["ldr"+count%2].unloadAndStop();
    // and call loadF so the next loader can load the next image in the array
    loadF();
    } else {
    // if the last has loaded.
    // last load completed

  • Can I use a MIDI keyboard as an input device for a software instrument?

    I have a Casio CTK-2100 that I am currently playing around with in Logic Pro 9. It can record and playback the different instruments fine using MIDI tracks. But I was wondering if it is possible to use the keyboard as an input device for a software instrument instead of the "Step Input Keyboard".
    Is it? If so, how do I set it up?

    Yes, the terminology can be a bear, many, many years ago when I started using Logic the manuals were written completely by the programmers, while they were quite humorous in places the were also really hard to understand so I learned/realized.. you can't really do anything so wrong it's going to destroy your computer so why not go ahead and experiment. I learned the basics of Logic without a manual, months later when I went back to find some some details I could figure out the manual made a lot more sense.
    Logic has been somewhat Appleized but it's not really an Apple program, it was purchased almost as developed as it is now... a lot of the additions a fluff to make it easier to understand for new users while at the same time there are some real improvements.
    This is personal opinion: With all of the forums/online tutorials...etc...etc. It seems users are learning (but not understanding) the same things, plus everyone wants to use it right away so nobody takes a deep breath and investigates on their own. Logic is a deep, deep program, while learning don't be afraid to go off on a tangent and explore the program without any other input, it can actually be inspirational. One other thing good about the manual or "Online Help", in looking up a function you will invariably come across a related concept that will provide further insight.
    And..... have fun.

  • I have a macmini on order, I wonder if I can pair the wireless apple keyboard and magic touchpad without using any other input devices, especially, since everything is brand new and not yet paired.

    I have a macmini on order, I wonder if I can pair the wireless apple keyboard and magic touchpad without using any other input devices, especially, since everything is brand new and not yet paired.

    You may just want to save yourself any possible issues
    by just hooking up a wired keyboard and mouse on first
    start up.  Any USB keyboard and mouse should work.
    There have been many that have had problems on first boot
    using the Bluetooth devices. 

  • On my previous macbook when using an input device, i.e. external memory or CD etc. an icon would appear on the desktop,have recently bout an imac and this does not happen, wondering if there is a way to put input devices to appear on the desktop?

    on my previous macbook when using an input device, i.e. external memory or CD etc. an icon would appear on the desktop,have recently bout an imac and this does not happen, wondering if there is a way to put input devices to appear on the desktop?

    Hello, check Finder Preferences>General, & then the Sidebar tab also.

  • Considering a Macbook pro 13".  want to use garage band - how do i run line in from my guitar.  There is not a mic/line input that I can see in specs.

    Considering buying a Macbook pro 13".  Want to use garage band - how do i run line in from my guitar.  There is not a mic/line input that I can see in specs.

    Simple. GarageBand question, GarageBand forum where all those users are jacked into their Macs and can tell you how. Also look to the right of your post to the column, "More Like This."---------------------------------------------->
    https://discussions.apple.com/community/ilife/garageband

  • HT3625 audio input device is not ready to use

    My audio input device is not ready to use. Any idea? I have one macbook pro 13".
    Thank you for your help.

    MacBook Pro 13" Mid 2012. – And as the link you provided says, the products affected are all pre 2012. After that (or at least in my mac from mid 2012) there is no "'Use audio for:' menu selection" to choose anything from.
    Message was edited by: Aarnipuu

  • My old Intel-Based iMac is no longer recognizing USB wired input devices; it only recognizes Bluetooth.  What happened?

    My friend's old Intel-Based iMac is no longer recognizing USB-wired input devices (Kensington TrackBall, Logitech Mouse) plugged into any USB slot at the back of the computer.
    They were working before and for many years.
    All of a sudden, A pop up window came up. IT said no Bluetooth mice could be found.  We don't know what set off that window to pop up and look for a WL mouse. It never has before in the 5 or more years my friend has been using this computer.
    I supplied a wireless Apple mouse and his is back running again.
    But want to know why his USB-input devices (Except his keyboard) are not being recognized. He would prefer to use his  Trackpad (Wired), but can't find anything in SYstem PReferences to allow that.  The computer only seems to want a Bluetooth input device.
    Anyone have an idea what happened and if this can be reversed?
    I think he is still running Mac OS X 10.5.8.

    Hi Carol, lets try this...
    reset FW bus, same goes for USB reset...
    Reset the Firewire bus
    If your Firewire or USB isn't recognizing any device.  A solution which has worked for some whose hard drive became invisible in 10.4 was simply to follow these four steps to reset the Firewire/USB bus:
    1. Shut the machine down.
    2. UNPLUG the power lead to the computer and any firewire/USB drive/devices.
    3. leave it for 10 minutes.
    4. Connect back up and reboot.
    http://www.macmaps.com/firewirebug2.html

  • Macbook won't detect USB input devices

    Hi everyone!
    I'm desperately browsing the forum threads here for some help but after resetting everything resetable and after all recommended software updates, I still can't get my USB ports to recognize my external mouse/keyboard (Logitech S530 Desktop). Of course, I have also tried several other mice (also wired) but it didn't work either. Though, external HDs and IPod work fine. I quite doubt that it's a hardware problem because after formatting and reinstalling the OS, the ports were working again until I have carried out all the software updates (firmware and so on...). Could it be a driver conflict? Is there someone with the same problem?
    I'd really appreciate your help!!!
    MacBook (Black)   Mac OS X (10.4.7)  

    I have had a problem that is a little similar. After leaving my computer on and not using it for a few hours I return to find my input devices (keyboard and mouse) not responding. the computer is still perfectly functional, but the USB devices do not work. I have to restart to get them to work again.
    Any ideas? It's happened 3-4 times in the past few weeks since I got it. I thought it was just being iffy, but this is a little worrying.
    thanks!

  • Multiple input device recording/mixing help in Audition 5.5

    I'm presently evaluating Audition 5.5 and haven't been able to find any information pertaining to what others MUST do everyday.
    I'd like to use Audition to record simultaneous tracks from different sources (microphones).  I'm using several USB sound card dongles (each with a single 3.5mm stereo microphone input and headphone/speaker output) as quick and convenient method of creating an array of microphone inputs.  Each dongle appears as a discrete audio device with a corresponding input and output.
    Fine so far.
    Where I'm struggling is in trying to map each microphone to discrete mixer channel.  I choose Edit->Preferences->Audio Channel Mapping, but it seems that only channels from any one particular sound device may be mapped to mixer channels at any time.  If I assign the microphone from sound card A to Track 1, I can't assing the microphone from sound card B to Track 2.  When I try, it alters the hardware device selection and negates any prior channels I've mapped that aren't part of the same device.  I hope I've explained the situation clearly.
    I'd like to map the microphone from sound device (dongle) A to Track 1, the microphone from device B to Track 2, C to 3 and so forth.  But I cant' seem to figure out how to make Audition simultaneously recognize more than any one sound device at any particular time.
    Is there a way to do what I'm trying to achieve?  Does Audition not support simultaneous mixing/recording from multiple hardware devices?  If not, do other products exist that DO support the configuration I'm trying to create which I can use as a front-end - to later mix-down in Audition?
    I'd greatly appreciate any helpful insight, guidance, suggestions or recommendations.
    Thanks!

    remford wrote:
    I'm not having any SYNC problems that I'm aware of...
    Of course you're not - that's because the system prevents you having them by limiting the physical sources you can use!
    Here is a brief explanation of the sync problem - I hope it makes sense:
    When an input device digitises a signal, it has to provide a clock source for its A-D device. Normally this clock is locally derived, and the device outputs a digital stream at that rate. But if you have two devices (let's say that they were two external USB ones) both trying to be the input device, then their clocks won't be synchronised - inevitably. Audition, and all other software come to that, can only record at one rate, and if another device provides an input that isn't exactly at the same rate and phase as the one providing the master clock, then fairly soon, you get to a point where the data being inputted won't coincide with the main clock any more, and a bloody great click occurs. On older systems where you could use multiple devices, some allowed for the clock sources to be externally synchronised, and a lot of pro gear still does - it helps a lot when you are using digital mixers and external digital preamps if you can feed everything from a master clock, rather than daisy-chaining it.
    When it comes to ASIO, Steinberg made the relatively easy decision not even to try to implement it for multiple devices. Instead, they suggest that you use a single device which is capable of supporting as many inputs as your PC can manage. As an example of how this works, my MOTU device that I mentioned above has eight analogue inputs, and also an 8-channel ADAT input. So, without too much trouble I can connect an external 8-channel digital preamp to it and have 16 inputs in total. It uses an optical connection for the ADAT, but to use it I either have to provide sync from the MOTU to the preamp, or use the preamp as the sync source for both itself and the MOTU, replacing the internal clock. With the only digital preamp I have it's this latter option that makes sense, as there isn't an easy way to get sync from the MOTU back to the preamp. (I should perhaps explain that the preamp has got a sync input, but the only sync output from the MOTU comes from its ADAT output, and that isn't easy to feed back in).
    Yes, until you get used to it the concept of syncing devices takes a bit of getting used to - Steinberg's idea was to keep it as simple as possible, even though on the face of it, it's rather frustrating.

  • 10.4.10 Update kills most USB audio input devices for iChatAV

    I have a Logitech Quickcam 5000 Pro that has a built in Mic. The UVC compliant camera still works, but under 10.4.9 the mic worked also; however, it no no longer shows up as an audio input device.
    Intel Mac Mini 2GB RAM / MacBook   Mac OS X (10.4.10)  

    Add another to the pile, slightly different: No audio support for my FIREWIRE based audio interface.
    Running 10.4.10, software update installed.
    OSX recognizes it, at any sample rate I want to use it at.
    Sound setup, everything else (my whole entire studio) recognizes it.
    iChat AV, when I go to the video tab to select "microphone" will give me default of none and then my device name (mLAN audio network). As soon as I select my device, the microphone option disappears completely. The only way to get the selection option back is to restart iChat, upon which the problem repeats itself.

Maybe you are looking for

  • Opening MS Word documents in Pages 5.0

    I just tired to open a MS Word Doc in Pages 5.0 and it says it can't open it this is going to set me back.  I can still launch Pages 4.3 and open it then save it then open it in Pages 5.0 but I have a lot of documents in MS Word. Anyone have any sugg

  • Question re using toolbar on mutiple computers cannot be removed

    A dialog box containing the question "do u use the yahoo on multuple computers ?" appears and cannot be answered, hidden or cancelled. nor can I select the "learn more" function

  • Ipod photo won't turn off

    I can't turn it off. The backlight will go out, then as soon as I lift my finger, it lights up again. I imagine it will turn off when the battery dies, but I'd like to figure this out. I can't reset because I can't turn it off.

  • Adobe 7.X DNG converter won't display "action buttons" at botton

    Hello, I have a new camera and upgraded to Adobe Digital negative converter ver. 7.3 to support it.  Oddest thing.  It cuts off the bottom.  The "action buttons" [about DNG converter] [extract] [convert] or [exit] buttons at the bottom soI cant execu

  • Discoverer 3.1.x Install on NT with Oracle Personal  edition 8.0.4.0.0

    I can't install discoverer 3.1.38 on a NT OS. I have got this message: "an error occured during the move data process: -115 component: WINNT4.0 File Group: DISCOVERER3138_WINNT File: C:\orant_rq\NET80\NLF.MSB" Thanks for any clarity on this situation