USB programming newbie - help

Hi,
I am new to USB programming and need advice on which path to follow, writing a USB - enabled application. What API's if any are available for user-space USB programming? e.g. I want to incorporate code in an app I am writing to control a USB PAN-TILT servo for a web cam.
My  thanks in advance.

neok wrote:
Hi,
I am new to USB programming and need advice on which path to follow, writing a USB - enabled application. What API's if any are available for user-space USB programming? e.g. I want to incorporate code in an app I am writing to control a USB PAN-TILT servo for a web cam.
My  thanks in advance.
OK thanks for the tips, looks like libusb is the way to go. The device is a Phidget servo controller but for various reasons I prefer to avoid libphidget21 even  though it did work for me.

Similar Messages

  • Another Programming Newbie Question:

    I have read many of the posts from programming newbies like myself looking for advice as to which language to start their programming journey. While helpful, my situation is slightly different and I would appreciate thoughts from those of you who have been doing this for a while.
    On one level, like the others, I am interested in beginning programming for my own personal interest and hobby. I want to be able to poke around building stuff for my Mac as I see the need. The second driver however, is a professional one; I work as a management consultant within an IT company.
    Much of my work relates to Business strategy and IT alignment. At that level I am expected to bring a business perspective to IT issues and to provide assessments that confirm proposed technology/software solutions are in fact going to add value for the company overall. Basically big picture stuff.
    In this role I am not usually asked to bring the same "technical" perspective that a true business analyst would. However, I would like to better understand the methods, terms and concepts that my colleagues use in developing their software. On occasion I am asked to provide a high level requirements analysis, which draws largely upon my business knowledge, but given that that this information is then presented to my developer colleagues I would like to understand things at a more technical level.
    So my question is whether I am free to choose any language to begin my learning quest or if there is a language that will better lead me to understanding and communicate the technical side of software development.
    Also I know that a lot of the work done in my company is in Java - but there are obviously a wide range include various applications that sit atop various data bases.
    I hope my various questions have been communicated clearly enough. I welcome any thoughts or advice that any of you may be able to share with me.
    Thanks!
    Power Book 12   Mac OS X (10.4.1)  

    The case of the employee wishing to merge his own admirable desire to learn programming with the requirements of his position is an interesting case that shows, perversely (or so it seems at first--it's actually perfectly logical) that corporations do not necessarily benefit from the talents, drive and ambition of individual employees--and this is not a cynical or sinister notion. Etresoft's analysis and advice is spot-on and I only wish to add a footnote to it: Along with the "getting the job done quickly and simply as possible" fallacy, and the at first glance counter-intuitive proposition that the complex, fragile, and massive solutions actually benefits the corporation qua corporation, one must remember that corporations are not and never pretended to be pure meritocracies nor are they conceived of as sets of individual employees in competition with each other for rewards. That is to say, trying to make one's personal interests into job requirements is far too questing and individual a project to succeed in any corporate (in the neutral sense of "aggregate," not in the sense of conformist) environment The corporate nature of the incorporated business is, after all, its defining characteristic. This means solutions by consensus aimed as much at institutional self-perpetuation as at the maximization of profit will be favored over mavericks following instincts, absolutists assimilating all power to themselves, or the efficient yet eccentric (again, in the neurtral sense of the word) initiatives of earnest employees trying to unite where possible the requisites of their given post with their own private interests. The upshot to all this is this: the attempt to use pre-existing corporate structures and processes for the fulfillment of individual growth and personal satisfaction (which may as a by-product, or accident in the Aristotelian sense, generate corporate wealth) is to look past stated categories and definitions and to ignore historically-observed outcomes. Corporations will not appreciate or benefit from individualistic impulses not because individual satisfaction is suspect but because its ways are inimical to corporate ways--the friction of the indivduals trying to redefine mutually-agreed upon positions and outcomes for selfish purposes costs too much to be indulged. From the corporate point of view, it is a threat to be contained, not an asset to be exploited. Robinson Crusoe had to spend 28 years on an island alone in order to adequately enact his individualism as it relates to capitalism.* The adaptable, nimble, individual-identified employee with his productivity tied to his own appetites, cannot, at least in the abstract, help but work against the aggregate needs of the corporation.
    *Excursus: Defoe's 1719 novel is the foundational narrative of capitalist self-production and its major offspring is Max Weber's Protestant Ethic and the Spirit of Capitalism (1920).This is where 18th-century economic theory including Adam Smith, leads us astray today--it was formulated not before the Industrial Revolution--the transition to capitalism took place in the 17th century--but before the aqdvent of the modern corporate structure.

  • Why wont my ipod touch 3G restore, when i try and restore it, it says unknown error, Itunes is fully up-to-date, ive changed ipod charger chords, ive put in different usb drives also (HELP)

    when i try and restore it, it says unknown error, Itunes is fully up-to-date, ive changed ipod charger chords, ive put in different usb drives also (HELP)

    I searched the iPod Touch forum for "iphone in recovery mode" and it appears there are two possible solutions:
    - Place the iPod in DFU mode and then restore it> 
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Use this program to get it out of recovery mode:
    RecBoot: Easy Way to Put iPhone into Recovery Mode | Jaxov

  • Event Handling for free programmed search help bond dynamically in SO

    Dear Expert,
    I met a problem of how to handle an event raised by a free programmed search help - (F4), and this F4 is invoked
    by a field defined in a Selection Option component (WDR_SELECT_OPTIONS) - SO. 
    The scenario is that I would like to update the SO after the user multiple select some entries in the F4. I could tranfer
    back all the value chosen in the F4 to the consumer SO, but I can not update the icon in the SO(e.g  in SO, multiple values will be
    displayed with a green arrow icon), because I could not define a handler in SAP standard component SO, and it looks like there is no chance to catch the event triggered at the end of selection in F4.  (this event belonged to this F4)
    Welcome any suggestions or ideas, Thanks very very much. 
    In Addition, I use this way to enable the F4 for SO
    lo_so_component->create_cmp_usage_group(
         name = 'F4_TRANSPORT'
         used_component = 'ZTRANSPORT').

    thanks all

  • How to created Freely Programmed F4 help in Select Options

    hi,all
       I have a probelm about how to created a Freely Programmed F4 help in Select Options,and put help value into select options field
      Thanks and Best Regards

    Hi Haung,
    You need to use FREE_HELP not the component name.
    Modify you code as below:
       LT_RANGE_TABLE_V = wd_this->m_handler_V->create_range_table( 'ZCYPHDATE' ).
      wd_this->M_HANDLER_V->add_selection_field(
          i_id                         = 'ZCYPHDATE'
          it_result                    = LT_RANGE_TABLE_V
          i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_APPLDEV
          i_value_help_id              = 'FREE_HELP'
          i_no_intervals               = abap_false ).
    Hope this helps you.
    Regards,
    Rama

  • I install windows 8 via boot camp but its corrept so i recover this by the bootable usb which is helping me to install windows 8 but in recovery my osx is formatted automaticly now its become a pc how can i install my mac osx again?

    i install windows 8 via boot camp but its corrupt so i recover this by the windows 8 by the help bootable usb which is helping me to install windows 8 but in recovery my osx is formatted automatically now its become a pc how can i install my mac osx again in my mac mini? please help me

    If you have a Mid 2010 model: Computers that can be upgraded to use OS X Internet Recovery. If later then see below:
    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your newly installed hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    If you have an earlier model:
    Clean Install of Snow Leopard
         1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
             with your computer.  Insert the disc into the optical drive and restart the computer.
             After the chime press and hold down the  "C" key.  Release the key when you see
             a small spinning gear appear below the dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, click on Options button
             and select GUID, click on OK, then set the format type to MacOS Extended
             (Journaled, if supported), then click on the Apply button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. Be sure you configure your initial admin account with the exact same
             username and password that you used on your old drive. After you finish Setup
             Assistant will complete the installation after which you will be running a fresh
             install of OS X.  You can now begin the update process by opening Software
             Update and installing all recommended updates to bring your installation current.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.

  • I downloaded Adobe Acrobat XI Pro - I signed in and now all I get is the Adobe Download Assistant with a prompt to keep downloading the program or help page.

    I downloaded Adobe Acrobat XI Pro - I signed in and now all I get is the Adobe Download Assistant with a prompt to keep downloading the program or help page. How can I launch the actual program and not the Assistant?
    Under the download or application file I only have the Assistant program

    Moving this discussion to the Acrobat Installation & Update Issues forum.
    Isabellasf have you ran the installation files which were downloaded?  By default they are downloaded to the download folder within your User folder.

  • My toshiba satellite e105-s1802 do not recognized my a4tech pocket usb hub pls help me with this?

    my toshiba satellite e105-s1802 do not recognized my a4tech pocket usb hub pls help me with this?

    I AM HAVING THE SAME PROBLEM WITH THE SAME MODEL. I GOT THE SERVICE
    MANUAL AND I'M THINKING TO OPEN IT AND SEE IF THERE'S SOME PHYSICAL BAD CONNECTION
    INSIDE. BUT LIKE YOU SAID.  IT'S ONLY THREE MONTHS OLD.!!! I DON'T WANT TO RUIN THE WARRANTEE.
    BUT THIS IS VERY FRUSTATING. I WANDER IF TOSHIBA DOES THIS ON PURPUSE.!!! KEEP IN TOUCH AND
    IF YOU NEED THE SERVICE MANUAL CONTACT ME AT [email protected]
          THANK YOU.!!!!

  • I have acquired windows office 2011 for my macbook but unable to open it. There are currently 3 files in the folder, 1 of which seems to be the actual program which is a hfs file. iv tried looking for programs to help me open it but failed

    i have acquired windows office 2011 for my macbook but unable to open it. There are currently 3 files in the folder, 1 of which seems to be the actual program which is a hfs file. iv tried looking for programs to help me open it but failed.
    when double clicking on the image it says unable to open and gives me the option to search the app store.
    any help would be much appreciated
    Adam

    Well, first, just make sure it's the Mac version and not the Windows version (which indeed would not run on your Mac). You say "Windows Office" which is why I mention it. I think you probably just mean "Microsoft Office" though.
    Next, is this on a disk (DVD), or did you purchase and download it from the Microsoft site?
    Matt

  • How to add Freely programmed input help in FPM Search UIBB?

    Hi Experts!
    We have a requirement to create search UIBB in which the input field should have a freely programmed input help.
    I see that WD_VALUE_HELP parameter can be set to the component name and it displays the freely programmed help as well in the application.
    However, I am still digging to implement the search help open and close events of the component.
    I have used the Freely programed value help standard demo object  " FREE_VALUE_HELP "  which shows the value in the help popup however, the selected value is not returned in the input field.
    I am also unable to find any Interface as provided for implementing OVS in search UIBB as well...
    Please help.

    Hi Aliaksandr,
    Thanks for your response.
    I have checked this WDA application demo_value_help .... but it is a normal WDA application.
    However, I want use freely programmed search help in Search UIBB using FPM.
    I found that we can provide the component name used as freely programmed search help in the attribute WD_VALUE_HELP of Interface IF_FPM_GUIBB_SEARCH.
    https://help.sap.com/saphelp_nw74/helpdata/en/03/f2474b6d9a49f4b5a3ed6f04decf22/content.htm?frameset=/en/56/d151c3ba7b4b2e82068a084cb991f3/frameset.htm
    And it displays the search help as well when I do F4 on the field of Search UIBB. But, we need to provide event handler for events - VH_WINDOW_CLOSED and VH_WINDOW_OPENED of the search help component (Component which is provided in WD_VALUE_HELP) some where in the Feeder class, in order to get the selecteed data from the search help, which I am unable to do.
    Do you have any idea of such implementation?
    Appreciate your response!

  • My MacBook get's hot really quick and then discharge's quickly without opening any program, please help.

    My MacBook get's hot really quick and then discharge's quickly without opening any program, please help.
    I have checked the cooling fan, and it's working, and I took it to an IT technician and he said my hardware is allright, so is it a problem from the OS it self??
    OS X(10.8.5)

    Restart with the Option key held down and the Mac OS X install disk inserted, provide the firmware password, click on the DVD, press the button with the straight arrow, access the firmware settings, disable the password, and use FireWire Target Disk mode. If you can't do that or it doesn't work, contact Apple.
    (38384)

  • Problem in Select Option Freely programmed F4 Help

    Hi All,
    I had a Component 'A'  where i used select option. I used Freely programmed search help for the select option field.
    If i click F4 in the select option field it will call one component in which i have one more select option in component B.
    In component B select option field if i manually entering value and search and click apply values button the values are comming in the select option field in component A.
    But if i pressing the F4 in Component B and search and click apply values the value are not comming in the Component 'A'.
    If i open again component B and closing it without any action the value is coming in component A.
    If i debugged and see the WDDOMODIFYVIEW of tHE WDR_SELECT_OPTION is not getting called for component A.In which it has Rendering delta method of CL_WDR_SELECT_OPTION.
    Any idea about this.
    Regards,
    Ganesh.

    hi Ganesh,
    i have read your post several time and i am still not able to get hold on your problem. Probably it is to do with your complex approach of nested select_option, i can not judge why you did this way. I would advice you to step back and see it for yourself
    1)if it is need to have nested select_option
    2)check component initialization and destroy
    2)check event subscriptions

  • Help required on Freely Programmed Input help

    Dear all,
    I have developed a component, say comp1, in which i have implemented the interface IWD_VALUE_HELP.
    In the respective view(MAIN) of Comp1 i have a dropdown which contains a list of company codes fetched from T001 table.
    Apart from these two, I have also embedded the Main view into the window WD_VALUE_HELP.
    Now, I have created another component, say Comp2, in which i Used the dynpro component Comp1, and also in the MAIN view of my Comp2. Now in the MAIN view of Comp2 I have created a input field from the node T001 in the context which contains the single attribute BUKRS type String. In the properties of the BUKRS attribute I have also changed the Input help to "Freely Programmed" and linked to the component for the Input help.
    After this, I have created the application for my component Comp2. When i run the application and when i press F4 on the input field i am able to get the window from Comp1 component, and a dropdown with values.
    Now the question is, How can i pass the value selected in that window of Comp1 into the input field of Comp2? we do the same in OVS, when ever a value is selected from the Hitlist, it will be cascaded into the input field, just like that i want to do here.
    Please suggest me how to do this, and also please tell when to go for Freely programmed Input help and its advantages.
    Thank you,
    Shashi.

    You can do as suggested already and use interface nodes and cross component mapping; but that is all really not necessary.  It creates a situation where you calling application is too dependent upon the freely programmed input help.  You want to try to avoid the situation where the calling application needs code or mappings to communicate with the input help.
    That is easy to do because the framework passes all the information you need into the freely programmed input help via the value_help_listener object. 
    Part of the Freeley Programmed Input Help Component should be the component interface IWD_VALUE_HELP.  This comes with a component controller method called SET_VALUE_HELP_LISTENER.  This allows your freely programmed value help to capture this object called listener of type IF_WD_VALUE_HELP_LISTENER. I generally just store it awa into a component controller attribute.
    With this listerner object you have direct access to the context attribute in the calling component. You can query information about the calling UI element and of course set values directly back into it.  The listener is a hugely helpful object and should be the way you interact with the calling component whenever possible.  Here is small example:
      set single attribute
      wd_this->value_help_listener->f4_context_element->set_attribute(
      exporting
        name = wd_this->value_help_listener->f4_attribute_info-name
        value = l_time

  • Freely Programmed Search Help

    Hi there,
    I have a WebDynpro application with two fields.  The first field has Dictionary search Help on it.
    The second field has a Freely Programmed input help.  The problem I am faced with is that the freely programmed search relies on the value of the first field to determine it's own values - i.e The first field is a contract, and the second field is an item on the contract.  So if the contract changes, so should the list of items provided in the Help.
    Now the way that this works is that the user selects a contract, then selects an item, then completes the fields in a PDF document.
    They press the button Save and Clear which saves the data, clears all the fields, and is then ready for the next lot of data.
    Although I can clear out all the fields, I don't know how to trigger the refresh of the Freely Programmed help.  The first time it is used it gets the right data, and after that it always shows the same data, - I just don't know how to trigger a refresh.  Basically I want it to refresh every time it is used!!
    Many thanks
    Jack

    Hello Jack,
    hmm... it should refresh itself, because you determine what goes in and out. Probably, you need to clean up some nodes in your freely programmed search help component as well i.e. upon leaving.
    Best regards,
    Thomas

  • Freely Programmed Value Help

    Hi,
          I am just getting an error in Freely Programmed Value Help and i have created two Component and i am just getting an error in first component as  WD_COMP_CONTROLLER->VALUE_HELP_LISTENER->CLOSE_WINDOW( ). is Unknown. I hope you Understand my Question. Please find me a Solution.
    Regards,
    Sadiq.

    Hi Bhaskar,
                   Thanks for your reply as you told that i have Initialized in Attributes as VALUE_HELP_LISTENER, but i can't resolve it.
    Regards,
    Sadiq.

Maybe you are looking for

  • Which is better?    Two Oracle user in one instance OR  in two instances?

    Which is better? I could not find any benchmark for number of instances per user in the same machine. suppose that you have two major Oracle user, from performance point of view it is better to make separate instances in same machine or keep these tw

  • G4 and BFD drums

    I am currently running ProTools LE 7.0 (Digi002) and recently bought the BFD drum plug in. My G4 can not handle this plug in, keeps stopping my protools session from playing/recording. I have the BFD program on my system drive with the BFD data on my

  • Sliding panels widget button

    I have an issue with the buttons in the Sliding Panels Widget after I implemented it in my page. The first time, I have to click a button twice in order to have it working. Has someone seen this problem before?

  • WHEN I OPEN ANYTHNG THAT USES JAVA FIREFOX CRASHES

    I use Firefox mainly for Tazareo.com. I have 2 screens so I have Taza open for information and adding data into that system. My problem is that I cannot download anything to taza and when I try it crashes and takes firefox with it. I have contacted T

  • Defining partner in trx MBXA.

    Hi, in trx <b>MBXA</b> is possible configuring furthers partners? Can't find the path in customizing. Best regards