Serial command not working in Labview, but it works in docklight

I am trying to run a RGA via labview.
I can control the RGA via docklight (see attachment), but when I try to give the same command to labview, I do not get a responce. What is going wrong?
What do I mis in the VI?
Best regards,
Rens
Solved!
Go to Solution.
Attachments:
docklight.jpg ‏85 KB
Read EV voltage.vi ‏17 KB

Your code is sending a string which represents the decimal values.  You need to convert to Hex string first.  See code snippet below.
(I'm sure there is a better way of doing this, but I did it quickly - might be a Rube Goldberg candidate   )
(wow.  lot's of people posted while I was busy with work rleated stuff..  )
Here goes anyway..  You could have added the code below to convert to Hex equivalent string, or simply write the Hex values in the string directly (probably better).
Message Edited by Ray.R on 04-15-2010 09:01 AM
Attachments:
convertHexDecimal.png ‏18 KB

Similar Messages

  • Why is my BDC_CURSOR command not working to position the cursor?

    Why is my BDC_CURSOR command not working to position the cursor?  Here are the details regarding my issue.
    I am writing a BDC to mass delete routing material assignments using transaction CA02.  I am OK to navigate through the initial screen to go to the Header screen and from here I am OK to navigate to the Material Assignments screen.  But once here, I cannot get the BDC_CURSOR command to take me into the list.  Here are the commands I am using.  Please let me know what I may try differently.
    CA02 Material Assignment - Set position  <-- this resets list of materials to correct position
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'   '=ENT1'.
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.
    CA02 Material Assignment - Delete
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'MAPL-MATNR(01)'.    <-- this is not working to set the cursor into the list
      PERFORM bdc_field       USING 'BDC_OKCODE'  '=LOE'.             " trash can
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.
    CA02 Material Assignment - Green Check OK
      PERFORM bdc_dynpro      USING 'SAPLCZDI'   '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'  'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'   '=BACK'.            " check mark
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'  c_position.

    Thank you for your reply.
    I had used SM35 to record.  However, I was not aware of the "create program" feature.  I had commented out a section from my previous post which I have now added back (latest code below).  But it still did not resolve the issue.
    When I execute with dismode = 'N', I get back error message "No batch input data for screen SAPLCZDI 1010".
    When I execute with dismode = 'E' (only show dynpros when error), it stops at the material selection screen without placing my cursor in the list.  I can then MANUALLY click to set the cursor position in the list, MANUALLY click the trashcan, it then uses my BDC command to respond to the popup asking "Do you want to delete", still leaving me at the material selection screen.  I can then MANUALLY click the green check (or enter), then it continues with the BDC to go back to the previous screen, and saves.  But it still will not place my cursor in the material selection list (SAPLCZDI screen 1010).
    Here is code used.  It is the second section of code labeled "CA02 Material Assignment - Delete" that is not working.
    CA02 Material Assignment - Set position
    this code functions to position the desired material to first in screen list
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ENT1'.
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.
    CA02 Material Assignment - Delete
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR' 
                                    'MAPL-MATNR(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=LOE'.             " trash can
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.
    Acknowledge Pop-Up Screen
      PERFORM bdc_dynpro      USING 'SAPLSPO1' '0100'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=YES'.
    CA02 Material Assignment - Green Check OK
      PERFORM bdc_dynpro      USING 'SAPLCZDI' '1010'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RC27X-ENTRY_ACT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BACK'.            " check mark
      PERFORM bdc_field       USING 'RC27X-ENTRY_ACT'
                                     c_position.

  • Odi os command not working with agentservice agent.

    dear all,
    odi os command not working with agentservice agent but with local agent it work fine.. and user is administrator.
    kindly solve it
    Regards
    Naseer

    Hi,
    you referred to oscommand, so are you executing a .bat fille? if yes, where exactly does the .bat file reside, local machine or on network share?
    Also, follow these couple of documents, they may be helpful to you.
    859215.1 and 424703.1
    Regards
    Srikanth

  • Illustrator Short Commands Not Working

    Hi Team,
    My illustrator CS6 short commands have stopped working.
    Any time I try to use any CMD + Key, illustrator will not react.
    This has been on going for a few months, I have tried resetting preferences but nothing has changed.
    If someone could please help.
    Thanks,
    Brandon

    Hi Jacob,
    I have tried resetting preferences and few other options.
    Anytime I press the CMD key the option at the bottom just changes from selection to direct selection, if that helps.
    Should I uninstall and reinstall illustrator?
    I no longer have my access key.
    Thanks,
    Brandon
    Date: Wed, 8 Jan 2014 15:39:58 -0800
    From: [email protected]
    To: [email protected]
    Subject: Illustrator Short Commands Not Working
        Re: Illustrator Short Commands Not Working
        created by Jacob Bugge in Illustrator - View the full discussion
    THS,
    You may try the following (you have tried/done some of them already) and see whether it helps (the following is a general list of things you may try when the issue is not in a specific file; 3) and 4) are specifically aimed at possibly corrupt preferences):
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press CtrlAltShift/CmdOptionShift during startup (easy but irreversible);
    4) Move the folder Other options (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
      http://www.adobe.com/support/contact/cscleanertool.html
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5994475#5994475
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5994475#5994475
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5994475#5994475. In the Actions box on the right, click the Stop Email Notifications link.
               Start a new discussion in Illustrator at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • Alt ctrl c shortcut command not working in photoshop cc, it is opening Internet explorer (IE)

    In Photoshop CC 2014  Alt + Ctrl + C ( to open for canvas size dialog box ) command not working, it is opening Internet Explorer (IE)

    What version of windows are you using?
    See if the Internet Explorer shortcut has that keyboard shortcut assigned to it.

  • Bash commands not working after upgrade to Lion

    After upgrade, many BASH commands not working. For example, such a fundamental thing as "ls". 
    iMac20:bin a$ ls
    Launch of "ls" failed: the PowerPC architecture is no longer supported.
    What does it have to do with PowerPC? My computer is 2.66 GHz Inter Core Duo

    Linc,
    iMac20:~ a$ which ls
    /sw/bin/ls
    Also, I managed to look (using tcsh's ls-F command) into the contents of /usr/. Here's what I see there:
    [iMac20:/bin] a% ls-F
    [*          csh*        echo*       ksh*        mkdir*      rcp*        stty*       wait4path*
    bash*       date*       ed*         launchctl*  mv*         rm*         sync*       zsh*
    cat*        dd*         expr*       link*       pax*        rmdir*      tcsh*      
    chmod*      df*         hostname*   ln*         ps*         sh*         test*      
    cp*         domainname* kill*       ls*         pwd*        sleep*      unlink*    

  • Why is  my serial number not working, it says it is invalid.  I have checked and it is correct

    why is  my serial number not working, it says it is invalid.  I have checked and it is correct

    The most likely explanation is that you downloaded the Creative Cloud version of Lightroom instead of the standalone version of Lightroom (which you can download from here).
    If that doesn't work, you'd need to provide a lot more details, including version of Lightroom, operating system, and exactly what you are doing that doesn't work.

  • Crontab reboot command not working

    Crontab reboot command not working
    Greetings
    I am new at this so excuse any ignorant mistakes I might be making.
    I have a server (MM X.4.9) that I would like to restart every day in order to make sure no programmes are hanging etc. If a program is hanging is should force quit it. Using terminal I have entered the following command:
    sudo nano /etc/crontab
    Entered password
    Than I entered using tab between each sequence:
    15 13 1 1 * root reboot
    This was a test run and it did not reboot.
    Entering
    cat /etc/crontab
    I got:
    # The periodic and atrun jobs have moved to launchd jobs
    # See /System/Library/LaunchDaemons
    # minute hour mday month wday who command
    15 13 1 1 * root reboot
    What have I done wrong?
    Thanks

    Hehe, there you are experimenting with a "reboot" cron command and you are surprised it quit so fast. You are not going to find a "graceful" solution to shutdown dialogs.
    MSWord is a Java app, so it is especially important for the command to work that it doesn't get hung up on outer layers of the system. Especially stupid apps that use Java which is not well integrated. I believe Word has a 5 minute autosave, so you should be able to recover most of your document.
    This reboot command should be running around 2AM, when the average webserver has minimum traffic. If you feel the need to reboot during busier times of the day, I'd suggest you look at what's causing your applications to crash.

  • Where can I download - Creative Suite 4.0 Design Standard ME version (in the normal version located at the download page the serial is not working)

    where can I download - Creative Suite 4.0 Design Standard ME version (in the normal version located at the download page the serial is not working - Download CS4 products.

    Hi there,
    Please download the installer from here - Download Adobe CS4 and CS3 Free Trials Here (incl. After Effects) | ProDesignTools
    ^Ani

  • Serial number not work

    Hi, I have a new computer now. I had Photoshop on my old computer and I do not deactivate it. My serial number not work on my new computer and old computer is unavailable. What have I do to activate Photoshop? Thanks.

    The license is for two copies of Photoshop by one user on two different computers that can not be used at the same time.Contact Adobe customer service by phone.  Only they can help you.
    They will deactivate both copies of Photoshop.

  • Why does default keyboard shortcut for show/hide baseline grid (opt+command+') not work?

    Why does default keyboard shortcut for show/hide baseline grid (opt+command+') not work?

    Here's where you need to change the settings: System Preferences > Keyboard > Keyboard Shortcuts:

  • CS3 asked serial number suddenly and the box-set serial number not work.

    CS3 asked serial number suddenly, and the box-set serial number not work.

    Elton Adobe which web browser are you utilizing?  Are you signed into http://www.adobe.com/ when you attempt to contact our support team directly at Contact Customer Care.
    I would recommend utilizing a different web browser and contacting our support team directly as suggested by KGlad in message #6.

  • Suddenly won't boot, start up commands not working... am I out of luck?

    Funny, this is my first mac being a hardcore and longtime PC user as my "test" mac... everything works perfectly... of course until 12 days after my warranty is up...
    This morning on waking up my mac to turn on some music in iTunes, i click on the iTunes window to bring it into focus. It suddenly closes and dissapears, on returning to the shortcut bar (the tray at the bottom for programs, i don't know what mac users call it) and click on iTunes ot relaunch it after its crash/dissapearance, the task tray then decides to suddenly dissapear/crash (don't know which, it's like a crash but best described as a vanishing act as it doesn't lag or churn before dying, just vanishes).
    Possibly related to this issue, not long ago my iChat stopped working, whenever i launched it, it would stay open for a couple seconds and automatically closed. I could sit there all day clicking it, it would open, 2 seconds later, close. I gave up on that. I gave up on that a week ago.
    Shortly after my iTunes dissapeared/crash and then after the program tray also dissapearing. my mac mini reboots. Except it's stuck on the screen with the mac apple in the middle of the screen with the moving (yes it's moving) pinwheel on the bottom center of the screen. I let it sit there for a long while... 15 minutes pass nothing happens.
    I try rebooting... same thing happens.
    I'm go on my PC (Which i'm now typing from) and start searching for solutions. apple support pages suggest I try safe mode with shift.
    SAFE MODE: Won't work. I tried pushing both shift buttons on my keyboard at different times (before the start up tone, immediately after the beggining of the start up tone, and after the start up tone finishes) all that happens is, I get the same pinwheel/apple screen that is "loading" (according to the pinwheel) forever.
    I went to forums, read up on other different commands like holding down "X" or option command P+R.... X does the same as the not-working safe mode... option command P+R continually reboots the computer.
    And in the end I'm still at square one. thouroughly frustrated. wishing my mac mini was a PC (as i've never had a PC problem I can't fix) Ironic experience... PCs, break often, easily fixed, no support needed.... Macs: rarely break, when they do, support needed, but support from apple expires 12 days ago, not easily fixed... and now I think i'm screwed out of the 700$+ i payed for this POS and I've lost my whole iTunes library, all the CDs i've loaded onto it, and all the music and TV shows i've purchased from the apple music store. Good game, apple takes a bunch of money, refuses to support my product which is now dead (had a similar situation with an iPod I had bought for my girlfriend).
    My only hope is... I know mac users have a happy helpful community and always band together to help fellow mac users, something the PC world doesn't as-cohsively have. So...
    Help me Obi-Wan Kenobi... you guys are my last and only hope.
    Thanks in advance.
    -John

    Hi, John. Welcome to the Discussions.
    1. You wrote: "I get the same pinwheel/apple screen that is "loading" (according to the pinwheel) forever"The "pinwheel" is known as a "spinning gear progress indicator."
    This, combined with the other issues you've reported, sounds like problems with the hard drive. I suggest you begin troubleshooting using the Procedure specified in my "Resolving Disk, Permission, and Cache Corruption" FAQ. Perform the steps therein in the order specified.
    2. You wrote: "...the shortcut bar (the tray at the bottom for programs, i don't know what mac users call it)"It's called the Dock. See "Mac OS X: About the Dock."
    3. You wrote: "...this is my first mac..."My "Learning About Mac OS X" FAQ has a number of resources that you will find helpful including books, online training, and more.
    4. You wrote: "...Macs: rarely break, when they do, support needed, but support from apple expires 12 days ago, not easily fixed..."You should have bought the AppleCare Protection Plan (ACPP) before your warranty expired. The ACPP provides a two-year extension on the warranty and three years of telephone support.
    PS: Word to the Wise: watch the language. I appreciate your frustration, but don't let it into your posts. These forums are "family friendly" and a good way to get banned from them is to rant, use profanity (including profane abbreviations), etc. What passes for "acceptable behavior" on most PC/Windows forums is not tolerated here.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • Design Standard CS 5.5 serial number not working for Photoshop

    I am trying to install the Design Standard CS 5.5 but am having trouble with Photoshop.  All of the programs installed and open correctly except for Photoshop.  When I try to launch it, the Adobe Application Manager comes up saying that the serial number is "not valid for this product."  The serial seemed to work during the install and both InDesign and Illustrator launch without any problems.  I have also tryed uninstalling and then reinstalling Photoshop, but I still have the same problem.  I am running Mac OS X 10.6.8.

    Are you definitely installing Design Premium CS5, not a similar sounding Creative Suite? And not CS5.5?

  • Adobe eLearning suite 6.1 extended trial for Partners - Serial Number not working

    Greetings from Greece,
    We are new Adobe Certified Resellers. I was informed that via the Adobe Partner Connection portal I can install an NFR extended trial copy of Adobe eLearning suite 6.1 for demo and training purposes. So I downloaded this software (version 6.1 WIN) from the website above but the serial number provided on the same page is not working with the message "The serial number you entered is invalid. Please try again. If the problem persists contact support".I am sure that I am typing the correct one (as I find it on the web page), tried several times, also tried copy-paste to be sure.
    Please advise. Thank you in advance.

    Hi Maria,
    I would request to email your concern and details at : [email protected] and they will be able to help you with this.
    Regards,
    Mayank

Maybe you are looking for

  • Line item not appearing in PGI accounting document

    Hi after complete sales process Sales order---Delivery -PGI-----Billing, when i chked the pgi & click on the Accountiong tab in pgi document only twoo line items appearing instead of three in the document << Moderator message - Everyone's problem is

  • SSRS 2008 R2 - Separate report for Each record?

    Hi, How do I create new pdf reports for each records from a table? The pdf files should be named as customerid.pdf and needs to be delivered in email or share path?  Each record has enough content for 5 page of pdf report. How do we achieve this? Tha

  • O/R mapping tool with WebLogic

    Hi What is the most popular O/R mapping tool used with WebLogic - TopLink? CocoBase? Anything else? Also, does anyone have market share numbers for this tool, e.g. out of the total number of O/R tools used with WebLogic, XYZ's share is 75%. Thanks in

  • HTML/javascript interaction with swf content - can I call swf functions from JS?

    Hi, I've created an AIR application where the intialWindow.content is a HTML page / JavaScript application. On this HTML page I want to include some SWF content as a plugin (a Flex 3 app), so I have an object tag. From my SWF I can call out to JavaSc

  • Volume control in video chat?

    is there serious no way to control the volume in a video chat?