Is it possible to adjust a servo's position thru RS232 using a slider (multiple servos simultaneously)?

Hi everyone,
I need to control 4 servos using RS232 and a controller board (COM1 only).  One of the first things to do is to position each servo manually with a slider control.  Therefore I have 4 slider controls to position each servo.  I would like to move from slider1 to slider2, 3 and 4 at any time without causing any communication issues (COM1) by openning and closing this port as many times as required.
One way could be to set focus at each slider to allow me to change the position when mouse is over the slider control, then quit and close the port when mouse is away from this control.  Then repeat the same process for the rest of the servos.  Is this approach feasible?  I am not familiar with events and I will really appreacite any guidelines, ideas or sample code.  I am using LV 7.1.  Thanks,
Frank
PS. I have attached a simple vi that shows some aspects of this idea.
Attachments:
Positioning a servo with a slider.vi ‏67 KB

Here's what I mean...
However, it only sends one command at a time. You didn't say if your servo controller requires all 4 commands at once. If so, then you can remove the case structures and concatenate all 4 slider values into one string.
Message Edited by LabViewGuruWannabe on 11-15-2007 01:05 PM
Attachments:
SliderEvents-FP.PNG ‏31 KB
SliderEvents.vi ‏36 KB
SliderEvents-BD.PNG ‏63 KB

Similar Messages

  • Why is the number "1" when setting up the dial fat thickness did not change the font? Is it possible to adjust the font in the thick klavioture typing?

    Why is the number "1" when setting up the dial fat thickness did not change the font? Is it possible to adjust the font in the thick klavioture typing?

    paulcb wrote:
    Using the Bold Text Accessibility option does make the keypad numbers a little bolder.
    Yep - I was only looking at Text Size.
    But still, not sure what the deal is. The "1" is just as readable as any other number on the keyboard regardless.

  • It is possible to adjust videos on Aperture?

    I have imported some videos on Aperture. I can not aply any adjustments. The message is Audio/Video (adjustment disabled) clicking "P" the message change in "quick preview on (adjustments disabled)". My question is: it is possible to adjust videos on Aperture

    There is not much what you can do with videos in Aperture. You can trim them, when you press the gear icon in the video controls, and if you add them to a slideshow you can add black-and-white effects. But other than that, you will have to fall back on an external video editor.
    I use iMovie to do basic preprocessing, since iMovie comes free with any new Mac, and has nice features like  stabilization, blue screen, picture in picture, or use or QuickTime 7 Pro for all effects, that QuickTime supports directly.

  • Is it possible to adjust the size of an inputText to the column size ..?

    Is it possible to adjust the size of an inputText that it correspond to the column size in a af:table.
    Thanks

    I don't need 30% ... i just need that me tree as a mininal width
    Here is my page :
    <af:panelBorder>
    <f:facet name="top">
    <af:panelHeader text="#{res['classification.repository.entryList.panelHeader.title']}"/>
    </f:facet>
    <f:facet name="left">
    <af:panelGroup layout="vertical">
    <af:panelHeader text="#{res['classification.repository.entryList.list.panelHeader.title']}">
    <af:tree value="#{bindings.ClassificationEntryListclassificationEntry.treeModel}"
    var="node">
    <f:facet name="nodeStamp">
    <h:panelGroup>
    <af:commandLink text="#{node.classificationEntryCategoryCode} #{node.classificationEntryCode}"
    shortDesc="#{res['classification.repository.entryList.tree.commandLink.shortDesc.textPart1']} #{node.classificationEntryStatus} #{res['classification.repository.entryList.tree.commandLink.shortDesc.textPart2']}#{node.classificationEntryCodeFullPath}">
    <f:param name="selectedIdentification"
    value="#{node.classificationEntryIdentification}"/>
    </af:commandLink>
    </h:panelGroup>
    </f:facet>
    </af:tree>
    </af:panelHeader>
    </af:panelGroup>
    </f:facet>
    <af:panelGroup layout="vertical">
    <af:panelHeader text="#{res['classification.repository.entryList.node.panelHeader.title']}"
    binding="#{backingRepositoryEntryList.entryNodePanelHeader}">
    <af:showDetailHeader text="#{res['classification.repository.entryList.base.panelHeader.title']}">
    <af:panelForm>
    <af:inputText value="#{bindings.classificationEntryCategoryCode.inputValue}"
    label="#{bindings.classificationEntryCategoryCode.label}"
    required="#{bindings.classificationEntryCategoryCode.mandatory}"
    columns="#{bindings.classificationEntryCategoryCode.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryCategoryCode.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.classificationEntryCode.inputValue}"
    label="#{bindings.classificationEntryCode.label}"
    required="#{bindings.classificationEntryCode.mandatory}"
    columns="#{bindings.classificationEntryCode.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryCode.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.classificationEntryCodeFullPath.inputValue}"
    label="#{bindings.classificationEntryCodeFullPath.label}"
    required="#{bindings.classificationEntryCodeFullPath.mandatory}"
    columns="#{bindings.classificationEntryCodeFullPath.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryCodeFullPath.validator}"/>
    </af:inputText>
    <af:inputText value="#{bindings.classificationEntryIdentification.inputValue}"
    label="#{bindings.classificationEntryIdentification.label}"
    required="#{bindings.classificationEntryIdentification.mandatory}"
    columns="#{bindings.classificationEntryIdentification.displayWidth}">
    <af:validator binding="#{bindings.classificationEntryIdentification.validator}"/>
    </af:inputText>
    </af:panelForm>
    </af:showDetailHeader>
    <af:showDetailHeader text="#{res['classification.repository.entryList.mainTitle.panelHeader.title']}">
    <af:table value="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.collectionModel}"
    var="row"
    rows="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.rangeSize}"
    first="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.rangeStart}"
    emptyText="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.collectionModel.selectedRow}"
    selectionListener="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.collectionModel.makeCurrent}"
    width="100%">
    <af:column sortProperty="language" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.labels.language}"
    width="20%">
    <af:inputText value="#{row.language}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrDefs.language.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrHints.language.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <af:column sortProperty="content" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.labels.content}">
    <af:inputText value="#{row.content}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrDefs.content.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryMainTitle.attrHints.content.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne text="Select and">
    <af:commandButton text="Submit"/>
    </af:tableSelectOne>
    </f:facet>
    </af:table>
    </af:showDetailHeader>
    <af:showDetailHeader text="#{res['classification.repository.entryList.complementaryTitle.panelHeader.title']}">
    <af:table value="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.collectionModel}"
    var="row"
    rows="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.rangeSize}"
    first="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.rangeStart}"
    emptyText="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.viewable ? 'No rows yet.' : 'Access Denied.'}"
    selectionState="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.collectionModel.selectedRow}"
    selectionListener="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.collectionModel.makeCurrent}"
    width="100%">
    <af:column sortProperty="content" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.labels.content}"
    width="20%">
    <af:inputText value="#{row.content}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrDefs.content.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrHints.content.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <af:column sortProperty="language" sortable="true"
    headerText="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.labels.language}">
    <af:inputText value="#{row.language}" simple="true"
    required="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrDefs.language.mandatory}"
    columns="#{bindings.ClassificationEntryTitleclassificationEntryComplementaryTitle.attrHints.language.displayWidth}"
    inlineStyle="width: 100%"/>
    </af:column>
    <f:facet name="selection">
    <af:tableSelectOne text="Select and">
    <af:commandButton text="Submit"/>
    </af:tableSelectOne>
    </f:facet>
    </af:table>
    </af:showDetailHeader>
    </af:panelHeader>
    </af:panelGroup>
    </af:panelBorder>

  • Is it possible to adjust the size of the columnes when send alv by mail  ?

    is it possible to adjust the size of the columns when send alv by mail  ?
    i send alv ( list ) by mail  , work fine but all the columns are small and in the
    same size , can i adjust it in the mail   ?
    how to do it in regular alv i know it  .
    LS_FCAT-OUTPUTLEN = 29 .

    is it possible to adjust the size of the columns when send alv by mail  ?
    i send alv ( list ) by mail  , work fine but all the columns are small and in the
    same size , can i adjust it in the mail   ?
    how to do it in regular alv i know it  .
    LS_FCAT-OUTPUTLEN = 29 .

  • How is it possible to adjust the background images and the text in Mail?

    How is it possible to adjust the background images and the text in Mail?

    Here's the solution I used to solve the same problem. If you're not comfortable editing the source files, this might be more than you want to take on--but I've done it to several files with no ill effects. You can follow the instructions on this page and the referenced original post from (he includes a link on the page). Good luck! He's got some great tips on some of his other pages.
    http://photo.rwboyer.com/2010/03/15/aperture-3-book-theme-trick/
    A warning about editing the Master pages--it only edits them in that book--it doesn't update the theme. So if you go to create another book with those same layouts, you'll have to duplicate the book and replace all the images. An alternative would be to create a "clean" book with no photos in it and then just use that as a starting point each time.

  • Is it possible to share an aperture library with different users using osx server.

    is it possible to share an aperture library with different users using osx server.

    Not really.  You should not be sharing an Aperture library over a network.  It's not designed for that and you'll likely corrupt your library at some point.

  • Possible to call a transaction from a planning book using a macro button?

    Hi All,
    Is it somehow possible to call a transaction using a macro button in the planning book? Also, the current selection should be passed as input parameters to the transaction.
    In my example, I am trying to run the transaction /SAPAPO/MC90 - Release to Supply Network Planning from the Demand Planning  Planning Book/Data View. This way if planners need to change forecasts mid month for specific selections, they can easily transfer to SNP without having to go out of interactive planning.
    Thank you,
    Maria

    Hello Maria,
              It's possible to call a transaction from a planning book using a macro button.
    What you can do is ..... Create a function module and inside it use the command "Call Transaction Tcode"  (ABAPer can do this) to call ur specific transaction. And this module can in turn be called from your macro. Please find the below link which explanis how to call a function module from a macro. Do let me know if you need more information on this.
    Calling a function module from APO Macro
    Regards,
    Siva.

  • I have an iphone 3gs, i bought it with the carrier Orange in Mauritius and i would like to know if it is possible to unlock the iphone so that i can use another carrier.

    i have an iphone 3gs, i bought it with the carrier Orange in Mauritius and i would like to know if it is possible to unlock the iphone so that i can use another carrier. thanks

    Only the carrier can authorise unlocking. You need to contact them.

  • Is it possible to extract the contents of any PDF file using Adobe PDF SDK?

    Is it possible to extract the contents of any PDF file using Adobe PDF SDK?
    For Example: There is one pdf file. Let us say xxx.pdf with 32 pages. I am interested in only in a topic present at 10th page. Can I extract this information and save it into another pdf file (means new pdf file)?

    Thanks Irosenth,
    I am actually interested in extract the page and create a new PDF with that page. But still there is a catch that on which basis the page needs to extract either on PAGE number OR on Bookmark basis.
    But here in this scenario assume I am looking for the PDF file, now I want to save only page 5. How can I extract page 5 automatically/programmatuically? Or in simple word how can I get the reference link of page 5?
    Here I am not getting clear picture that Do I need both SDK Adobe & Acrobat to achieve this requirement. And more over you have mentioned that SDK itself is free. But on Adobe side it is mentioned that it is available by license only with this I have another doubt: To work my desktop/system application with Adobe PDF library, this library needs to distribute with the application. So in this case will it be chargeable for each and every deployment.
    Could you please provide me the link from where I can download the SDK? So that I can do some excerise with SDK to figure out the exact flow of functionality to work with my application.

  • Is there any possible way of deleting BBM5.0 when one's using OS5.0?

    Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
    I hate BBM in general because it's always on. I don't want install an older version.
    If anyone can help me, thanks in advance.
    Solved!
    Go to Solution.

    lusilveira wrote:
    Is there any possible way of deleting BBM5.0 when one's using OS5.0? I tried to use DM6.0 but BBM is marked as a core component impossible to delete.
    I hate BBM in general because it's always on. I don't want install an older version.
    If anyone can help me, thanks in advance.
    with some 5.0.X.X OSes, the BBm is a core application and cannot be removed.
    BUT other 5.0.X.X OSes, the BBm has become an addon application and can be removed. (i.e. 5.0.0.436 and on 5.0.0.462)
    if you have the first category OS, I suggest you try and install BBm for example using AppWorld. Maybe by upgrading BBm, it will become an addon.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • If Firefox 20 is in Private Browsing mode then a possible persona is disabled and the default theme is used - oh god, no - what can I do to keep both?

    Cor-el answered on the 4.4.13: " If Firefox 20 is in Private Browsing mode then a possible persona is disabled and the default theme is used. So you will have to make a choice."
    Can I go back to an older version of FF? I really do not want to choose. Will that problem be fixed in FF 21? I really love Firefox, it has always been my favorite browser - but giving up the Personas will be hard and I don't understand why I have to...
    How do I reinstall an older version of FF? Is there another solution?

    Remember to use the per window Private Browsing when you are doing banking or other confidential / financial work.
    One option is now
    * '''Firefox Button -> New Private Browsing Window'''
    * (Linux / xp File -> New Private Browsing Window)
    * see [[Private Browsing - Browse the web without saving information about the sites you visit]]
    You may even benefit from saving your History.It improves the functionality of the location bar / ''awesome-bar ''
    *[[Awesome Bar - Find your bookmarks, history and tabs when you type in the address bar]]

  • Is it possible to send songs from, for example a samsung  using Bluetooth. If not, does anyone know a free app or something were i can download fre music. Ps exuse My english hope you'll understand����

    Is it possible to send songs from, for example a samsung  using Bluetooth. If not, does anyone know a free app or something were i can download free music.
    Ps exuse My english hope you'll understand 

    The only way to get songs on an iPhone is by synching the songs from your iTunes library, or purchasing them from the iTunes store on your phone.
    You can search yourself for sites that offer free music.

  • Sorry I can't create my account in my App store, because i am not in that region. I live in Cambodia. Can u fix it as soon as possible? Now there are many citizen in Cambodia use a lot if Apple products.

    Sorry I can't create my account in my App store, because i am not in that region. I live in Cambodia. Can u fix it as soon as possible? Now there are many citizen in Cambodia use a lot if Apple products.

    Go to http://www.apple.com/asia/support/mac/app-store/ , click on 'iTunes Store Account and Billing' then 'Billing Enquiries' to get a link to email them. Ask them whether there is a way you can purchase Apps, perhaps by nominating one of the listed countries (Vietnam, for example).

  • If I bought the iPhone 5 in Japan and have the documents, it is possible to change my iphone to not need to use gevey?

    If I bought the iPhone 5 in Japan and have the documents, it is possible to change my iphone to not need to use gevey?

    If you had purchased a HTC One it would have been the same thing.
    If you had purchased a Nokia runing Windows it would have been the same thing.
    This is a huge bad point about cell phones, not iPhones.

Maybe you are looking for

  • Vague problem description, looking for hints

    Hello, I am maintaining several Swing based apps, written by a number of different people (different generations, skills and knowledge) of which most of them are gone already. There's this user reported bug which clearly describes his problem, but as

  • Persistent connections on Cisco ACE

    Hello Team, Currently I have the below persistence settings for the vips and they are set as cookie based which would match where a session cookie is used.The cookie is set for "browser-expire" . So, this will allow the clients browser to expire the

  • Reinstalling student edition cs4 without serial number

    im having trouble reinstalling my student edition of adobe cs4, bought back in 2009.... it asks for a serial number i dont have. i have given customer service a coupon number and case number but they still cannot assist me with proof of purchase... w

  • Strange keyword issue

    I have a problem with keywords not being recognised and not being erased, or applied. Specifically, the word in question is 'Portrait'. In the past I used what is now referred to as a legacy IPTC field : Portrait (Image Type). I would put 'Portrait'

  • Distcc inside a chroot to another machine inside a chroot

    Is this possible?  I have two x86_64 boxes both of which have 32-bit chroots for compiling.  I'm trying to get distcc to work INSIDE the chroots such that they can share processors.  I'm failing :) I have distccd running on each and makepkg.conf prop