Why does vi execute in HIGHLIGHT mode only? Does not RUN from front panel

This is extraordinarily puzzling to me...
The attached vi sends a serial command to a motor controller.  Command has the form /1V5500P0R, where the /1 means "motor 1",   5500 is the velocity, and the P0  means "rotate positive direction" and R means RUN (do the command).
When I run the VI from the front panel, the motor does not respond.  The correct command string appears in the String indicator box, but, the motor does not turn on.  HOWEVER, when I use either HIGHLIGHT EXECUTION, or I SINGLE STEP through the block diagram, the vi works perfectly.  It issues the correct command the motor runs properly after stepping over VISA WRITE to VISA CLOSE...  The VI accepts any velocity command I want to put in the NUMERIC control on the front panel.
I tried putting the code into a WHILE loop to see if that made any difference...and it does not.
What is happening?
Thanks,
Dave
Attachments:
Simple VISA speed controller forum nov 20.vi ‏12 KB

Hello Angelica,
Your suggestion about use of the WAIT VISA function works, however, I am reluctant to use it because I do not want to slow down the application.  The application accepts two inputs and creates the one serial output, and the faster it does this, the better for my application.
I had no problem running these VI's on my old PC in Labview 2011.  The new PC requires this WAIT function.  There is software provided by the hardware manufacturer to manually send the SERIAL commands, and it works fine on both PCs.
New PC is Intel(R) core(TM) i3-2230 CPU @ 2.2GHz, 3G RAM 64 bit processor and  Labview 2012
Old PC is Intel (R) Pentium (R) M Processor 1.73GHz, .99G RAM, 32 bit processor and Labview 2011
Understand that in the attached VI, only a single serial command is being sent, so, is it possible that backlogging or overloading of the device can occur from a single serial command?  This does not happen with the manufacturer's interface.  The attached vi works with the 10ms wait time. This VI is one of a family of VI's that I wrote and operated in Labview 2011 on the old PC, and all of the worked fine without the WAIT function.  Now, none of them will run in either Labview 2011 or Labview 2012 without the WAIT in the VISA as shown in the attached VI.
Do you really think that the command is being sent too quickly?  The device communicates over the RS485 bus at 9600 baud, 1 Stop bit, No Parity, No flow control.  How can a single string be sent too quickly?
Thank you,
David
Attachments:
Simple VISA speed controller WAIT.vi ‏14 KB

Similar Messages

  • Server does not support remote front panels

    hello
    I'm about to command the front of my labview program remotely. I followed all the steps that I found on the NI website. when I do the test on my Intenet Explorer browser it gives me the following mesage: "Server does not support remote front panels".
    I await your propostion and solutions. Sincerely

    Hi,
    This KB might help.
    Christian

  • The slide show runs in "live mode" but will not run from the browser.

    Here is the link to the web page http://www.williamshomesteadranch.com/welldone.html
    This is the first time that I've tried to use a widget and it looks good, but will not run fromthe browser.

    The answer to the problem is very simple, the main images cannot be found. Please have a look at the following markup starting with line 305 or thereabouts:
          <ul id="ImageSlideShow" title="Jesse the Border Collie">
            <li><a href=Spry-UI-1.7/jackandjesse/jacksjesse251x270.jpg src="Spry-UI-1.7/jackandjesse/jacksjesse251x270.jpg" title="Jesse"><img src="Spry-UI-1.7/jackandjesse/jacksjessethumbnail.jpg" alt="photos-1.jpg" /></a></li>
            <li><a href=Spry-UI-1.7/jackandjesse/jackandjesseonbeach257x381.jpg src="Spry-UI-1.7/jackandjesse/jackandjesseonbeach257x381.jpg" title="Jesse and his Friend"><img src="Spry-UI-1.7/jackandjesse/jackandjesseonbeachthumbnail.jpg" alt="photos-2.jpg" /></a></li>
            <li><a href=Spry-UI-1.7/jackandjesse/jackjessesoccer251x378.jpg src="Spry-UI-1.7/jackandjesse/jackjessesoccer251x378.jpg" title="Jesse playing soccer with his friend"><img src="Spry-UI-1.7/jackandjesse/jackjessesoccerthumbnail.jpg" alt="photos-3.jpg" /></a></li>
            <li><a href=Spry-UI-1.7/jackandjesse/jackjesserestbeach365x246.jpg src="Spry-UI-1.7/jackandjesse/jackjesserestbeach365x246.jpg" title="Jesse and his Friend resting"><img src="Spry-UI-1.7/jackandjesse/jackjesserestbeachthumbnail.jpg" alt="photos-4.jpg" /></a></li>
            <li><a href=Spry-UI-1.7/jackandjesse/jackjessedwnbeach250x350.jpg src="Spry-UI-1.7/jackandjesse/jackjessedwnbeach250x350.jpg" title="A Walk down the Beach"><img src="Spry-UI-1.7/jackandjesse/jackjessedwnbeachthumbnail.jpg" alt="photos-5.jpg" /></a></li>
          </ul>
    Now take a closer look at the first image.
    The thumbnail is jacksjessethumbnail.jpg and, according to the markup, can be found at http://www.williamshomesteadranch.com/Spry-UI-1.7/jackandjesse/jacksjessethumbnail.jpg. Bless me, the thumnail is there. No problem here.
    The main image is jacksjesse251x270.jpg and, according to the markup, can be found at http://www.williamshomesteadranch.com/Spry-UI-1.7/jackandjesse/jacksjesse251x270.jpg. Lo and behold, the image cannot be found. The problem must be here.
    We can do the same analysis for each of the remaining images with the same result. This means that the main images have not been uploaded to the correct folder or that the path to the main image is incorrect.
    Assuming that the path to the main image is correct, using DW, have a look in your local folder as follows
    Then 1. single left click on the jackandjesse folder to highlight it, 2. click on the symchronise button, 3. make sure you have the correct selections in the Synchronize Files dialog and click on preview.
    Then click on OK as per
    and the files should be uploaded to the correct remote folder.
    Gramps

  • Mdt 2012 sp1 command line does not run from task sequence

    Hi,
    I am hoping I can explain this correctly.  I am using MDT 2012 and having an issue with running command lines, powershell and batch files that I setup.
    The task sequence is set to use an account called "MDTService".  it has rights to join the domain but is not in the local admin group of the reference image.  a domain GPO renames the local admin account CoAdmin.
    when running a command line to, for example, run xcopy a folder and subdirectories to the "program Files x86" directory, it does not copy.
    When I log on to the system and use an admin account to manually run the command I do not have an issue.  if I log onto the system with the MDTService user and run it, it fails.
    How do I get the commands to run from the MDT task sequence?  I do not want to make the MDTService user an admin.  I have tried the run as option in the task sequence but that did not work.  maybe is set it wrong.  I used a domain\Admin
    account which did not work.
    what can I clarify or logs can I post to provide more details.
    Thanks in advance.

    Any account that needs to add files under %ProgramFilesx86% must be granted administrative privileges.
    Keith Garner - keithga.wordpress.com

  • Report does not run from Reports Server 6.0

    When running a report via the Reports Server (6.0)
    the report is not executed.
    When checking the queue with rwrqv60 it says that
    status is enqueued.
    No other jobs exists in the queue. No changes has been
    done in the servers config-file (rep60_test.ora).
    Why isn't the job run?
    Anyone got any clues?
    Regards,
    Lars-Eric
    null

    hiya!
    this sounds a bit like you might be having a generalised problem with the sound card, or drivers on the PC (given that nothing is making any noise at the moment).
    let's quickly check up on something. go to your "Sounds and Audio Devices" control panel, and click the audio tab.
    is the correct default device showing up in "Sound playback"?
    love, b

  • Does not run from My Documents

    I tried putting SQL Developer into My Documents so I can run it from any PC I am logged onto. Unfortunately is starts and quickly disappears without any error.
    The My Documents folder is on a network drive that is always available when I log onto a PC. It is not always mapped to specific drive letter.
    I have successfully ran it from a network drive that I map to each PC.
    Any ideas on how to make it work from My Documents?

    I also have my SQL Dev installed on a network drive and have a space in my path and it starts fine for me. However, I always have a drive letter assigned to the network path.
    If you don't always have a drive letter, I assume you have a UNC based shortcut (such as \\server\<sqldev path>\sqldeveloper.exe). One of my colleagues had problems with using this sort of shortcut, but not when using a drive letter based shortcut.
    Not that this will help you if you can't get a consistent drive mapping from all PCs you might use, but it might explain where the problem is coming from.

  • AutoPlay does not run when inserting disk

    System: dv7-1285dx
    Vista Home Premium 64 bit SP1
    When inserting a disk into the dvd drive AutoPlay does not run.
    The information on the disk can be accessed through windows explorer by right clicking on the drive letter and choosing
    open.  The contents of the disk are displayed and can be accessed but windows does not recognise whether the disk
    is video or data.
    AutoPlay does not run from Windows Explorer.
    In control panel > autoplay the "Use AutoPlay for all media and devices" is checked, all media have options other than
    "take no action".
    The driver for the DVD player has been unistalled and reinstalled with no effect.
    Disks burned with the drive behave normally on other computers.
    AutoPlay runs properly for any device plugged into a USB port.
    Any ideas of what to try next?
    Thanks
    Bo

    Hi,
    Please check the following steps:
       http://windows.microsoft.com/en-AU/windows-vista/T​roubleshoot-AutoPlay-problems
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • TS2516 Why does text disappear from some of the pages?  No matter what I do, to include reviewing spelling, the text will disappear in preview mode.

    Why does text disappear from the pages in my iPhoto book project?  When I try to buy the book, it comes up with spelling errors (which are names that the dictionary doesn't recognize), but even after clicking "ignore", the text disappears when I preview the book.  Even this is inconsistent because the same words appear on other pages.  There is text on other pages that disappear for no apparent reason.  This has become very frustrating and time consuming.

    Are you previewing using this method?  http://support.apple.com/kb/PH2486
    LN

  • Why does not Apple allows iPhone to be sync by two different computers ?

    I have a pc at home and one in office. But I can only sync it with my home pc. Why does not apple allow iPhones to be sync by atleats two pcs as having different pc for work and home is very general.

    It is possible to sync from multiple libraries manually on other devices (iPads & iPods) so blanket statements that 'it's DRM' don't really make sense to me.
    If it is the only reason why can't non DRM'd content be copied?
    Manage content manually on your iPhone, iPad, and iPod - Apple Support
    See step 6, iPods & iPads have fewer restrictions compared to iPhones.
    Perhaps we would have a better idea if it wasn't all wrapped up in thousands of words spread between the multiple terms & conditions agreements.
    https://www.apple.com/legal/internet-services/itunes/
    https://www.apple.com/legal/internet-services/icloud/ww/
    You will need to read those terms & get legal help if you can't work it out titan_sifu, good luck.

  • Why does Notes close every time I open it?   I can't access my notes...

    Why does Notes close every time I open it?   I can't access my notes;
    there don't appear to be any.    Help!
    When I check in Settings, Notes has disappeared from the list of Apps
    On my iPhone, yet I didn't delete it.    I had dozens of notes, lots
    of necessary information stored therein. 
    Thanks for any help....

    I was having this issue also. I found this thread and disabling Exchange Notes did the trick. Obviously, this is the solution only if you were using Exchange to begin with.
    If you want to continue to use Exchange notes or perhaps try this to see if it works in general, I found a fix on this site. All works well now.
    1. Delete your exchange account from the Mail, Contacts & Calendars pane in System Preferences.
    2. Go to Finder, click "Go" in the menu bar, click "Go to Folder" and type in "~/Library" (without the quotes) in the box. This will take you to your user Library folder.
    3. Use the search box in the finder and type in "com.apple.notes" and click "Library" in the search bar that appears. This should now find several folders and files related to the Notes app. Rename or delete everything except the help files (with the lifesaver icons on them).
    4. Restart your Mac. Put your exchange account back into System Preferences, you can go ahead and activate the Notes sync service.
    5. Open Notes and it should be working now!

  • The first row behind the words,Why does not be displayed?

    The first row behind the words,Why does not be displayed?
    The first line of why will automatically fill?
    The File(IDcs6) [Link to know attack page removed by moderator]
    Message was edited by: Peter Spier

    Filedown has a nasty reputation in English-speaking countries - plenty of antivirus/antimalware apps block everything there by default, which is what Peter has done. It doesn't mean that your link is malicious, only that it's hosted somewhere that has been used to host malware in the past.
    I'm pretty sure, Peter, that there aren't any nonbreaking spaces there, because I'd wager that there aren't any spaces there at all. It's justified text, and the reasons why it will or will not break are sometimes obscure when using composers that aren't the J composer. Chinese text is usually entirely free of spaces, except in certain circumstances, usually involving European language inserted into Chinese text. Sometimes, for reasons I don't understand, InDesign will simply treat Chinese as if it were English, and only break at spots permissible in Euro languages. That's not the case here - it obviously breaks between two Chinese glyphs, so something else is up here.
    Which version of InDesign are you using? Are you keying the text directly into InDesign, or are you placing, or copying/pasting?
    If you're using an English version of InDesign, I would suggest trying to save your Chinese text as raw text or RTF and File -> Place that. If you choose RTF, try to mark it with Chinese language in your RTF editor (Word?) if possible.
    Is No Break applied anywhere in your text? You can check in the Story editor (Control/Command Y) to see what styles and formatting are applied.

  • Why does not Adobe flash player for iPad ,This is a very big problem

    Why does not Adobe flash player for iPad ,This is a very big problem ,I do not know why Apple is so Popular

    but Adobe is, in fact, continuing to update Flash for Android.
    Only essential bug and security fixes. No new feature updates have been released for 2 years.
    Of course we have those who wish fervently that the lack of Flash supprt will damage Apple severely and obsess about it all the time.
    I thought they'd realised it was a lost cause ages ago... they mostly seem to have disappeared from this forum, at least...

  • HT204291 Airplay intermittent problem, why does not airplay work well anylonger?

    Airplay intermittent problem, why does not airplay work well anylonger. Suddenly it drops out. Now this function has gone from great to ****.
    Trying to view streamed content from the ipad to the Apple TV? Nah forget about it. Sooo dissapointing.

    Restart your wifi router

  • Why does not the text "Powered by Adobe Forms Central" fästän man has paid form

    Why does not the text "Powered by Adobe Forms Central" fästän man has paid form
    [email protected]

    These forms are not embedded correctly. I'm surprised they even work. You need to go to the distribute tab, click Embed button, copy the embed code provided and then paste that into your HTML. This FAQ explains in more detail and some of the issues you may encounter while embedding: http://forums.adobe.com/docs/DOC-1991
    Randy

  • Why does not the scroll on tbody in new versions of Firefox and how it can solve the problem?

    why does not the scroll on tbody in new versions of Firefox and how it can solve the problem?

    scrolling overflow on tbody is no longer supported because that is not allowed in CSS 2.1 specification.
    See [https://developer.mozilla.org/en/CSS/overflow notes for overflow]

Maybe you are looking for

  • SOAPFault received from Integration Server. ErrorCode/Category: XIServer/IN

    Hello All, I work on PI 7.1 and needed to create an interface using a simple File-to-File scenario. I created this without using any IR/ESR Objects as per a technical article on the website saptechnical dot com /Tutorials/XI/File2File/Demo1.htm This

  • Error compiling ejb-jar.xml. Help!!

    I do not know why this xml file is giving me the errors displayed below. Thank you in advance. Here is my xml file: <?xml version="1.0"?> <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://www.java.sun.com/

  • HP Photosmart C6380 won't print entire page

    My HP Photosmart C6380 won't print entire pages.  Some lines near to the end of the page aren't printed.  Once in a while it prints the entire page. This question was solved. View Solution.

  • Packet Writer Failure Error

    Hi All: I have been using Discoverer for one week when I experienced a problem of not being able to login to Discoverer Admin/User Editions. The message is : "Failed to Connect to Database - ORA-12571: TNS: Packet Writer Failure." On Friday, I was no

  • My Time Machine Strategy for both iMac and MacBook...

    1) Get 1TB external drive, format as HFS+ (including the Gizmodo hint about reformatting Fat32 drives properly by setting GUID Partition table) 2) Attach external drive to MacBook directly-run Time Machine overnight for initial full backup 3) Attach