How would I set the LabVIEW Execution Display.vi to automatically run a sequence from a desktop icon or the Start Menu Launcher.vi

LabVIEW does not support command line arguments. Are there some modifications to the Execution Display.vi that would enable this behavior?

Hi,
This mods is to the LabVIEW OI supplied with TS2.0.1 and labVIEW 6.1
In the TestStand - Runtime Operator Interface.vi, the cmdline is obtained and the full path to the sequence file is stored in a global variable. When the Sequence Display is launched and the case First Time is executed. The cmd line global is checked for an empty string, if its not then the string is concatated with the string 'Open Sequence File - No Prompt|' and put on the message queue. This will result in the sequence file being opened.
The cmd line parsing is pretty basic. the argument is nothing or the full pathname to the sequence file.
If this is what you are after then send your email to [email protected]
I tried to attach the vi's but I am having some problems with thi
s. Probably a size restriction.
Hope this helps.
Ray Farmer
Regards
Ray Farmer

Similar Messages

  • HT1977 How would I find out why a particular app, In-A-Visit, was removed from app Store?

    How would I find out why a particular app, In-A-Visit, was removed from app Store?

    Ask the app developer. Maybe they will tell you why... Apple will not disclose the reason to you unless you are the developer. It's entirely possible that the developer removed it.

  • Is this roughly how the labVIEW Execution Systems work?

    I've not taken a class in OS design, so I don't know the strategies used to implement multitasking, preemptive or cooperative. The description below is a rough guess.
    LabVIEW compiles Vis to execute within its own multitasking execution environment. This execution environment is composed of 6 execution systems. Each execution system has 5 priority queues (say priorities 0->4). Vis are compiled to one or more tasks which are posted for execution in these queues.
    An execution system may either have multiple threads assigned to execute tasks from each priority queue, or may have a single thread executing all tasks from all priority queues. The thread priorities associated with a multithreaded execution system are assigned according to the queue that they service. There are therefore 5 available thread priority levels, one for each of the 5 priority level queues.
    In addition to the execution queues, there are additional queues that are associated with tasks suspended in various wait states. (I don't know whether there are also threads associated with these queues. It seems there is.)
    According to app. note 114, the default execution environment provides 1 execution system with 1 thread having a priority level of 1, and 5 execution systems with 10 prioritized threads, 2 threads per priority queue. NI has titled the single threaded execution system "user interface" and also given names to the other 5. Here they will be called either "user interface" or "other".
    The "user interface" system is responsible for all GUI actions. It monitors the keyboard and mouse, as well as drawing the controls. It is also used to execute non-thread-safe tasks; tasks whose shared objects are not thread mutex protected.
    Vis are composed of a front panel and diagram. The front panel provides an interface between the vi diagram, the user, and the calling vi. The diagram provides programmatic data flow between various nodes and is compiled into one or more machine coded tasks. In addition to it own tasks, a diagram may also call other vis. A vi that calls another vi does not actually programmatically branch to that vi. Rather, in most cases the call to another vi posts the tasks associated with the subvi to the back of one of the labVIEW execution system�s queues.
    If a vi is non-reentrant, its tasks cannot run simultaneously on multiple threads. This implies a mutex like construction around the vi call to insure only one execution system is executing the vi. It doesn�t really matter where or how this happens, but somehow labVIEW has to protect an asynchronous vi from simultaneous execution, somehow that has to be performed without blocking an execution queue, and somehow a mutex suspended vi has to be returned to the execution queue when the mutex is freed. I assume this to be a strictly labVIEW mutex and does not involve the OS. If a vi is reentrant, it can be posted/ran multiple times simultaneously. If a vi is a subroutine, its task (I think there is always only one) will be posted to the front of the caller's queue rather than at the back of the queue (It actually probably never gets posted but is simply mutex tested at the call.) A reentrant-subroutine vi may be directly linked to its caller since it has no restrictions. (Whether in fact labVIEW does this, I don�t know. In any event, it would seem in general vis that can be identified as reentrant should be specified as such to avoid the overhead of mutexing. This would include vis that wrap reentrant dll calls.)
    The execution queue to which a vi's tasks are posted depends upon the vi execution settings and the caller's execution priority. If the caller's execution priority is less than or equal the callee's execution settings, then the callee's tasks are posted to the back of the callee's specified execution queue. If the caller's execution priority is greater than the callee's specifications, then the callee's tasks are posted to the back of the caller's queue. Under most conditions, the vi execution setting is set to "same as caller" in which case the callee�s tasks are always posted to the back of the caller's execution queue. This applies to cases where two vis are set to run either in the other execution systems or two vis are set to run in the user interface execution system. (It�s not clear what happens when one vi is in the �user interface� system and the other is not. If the rule is followed by thread priority, any background tasks in the �other� systems will be moved to the user interface system. Normal task in the �other� systems called by a vi in the �user interface� system will execute in their own systems and vice versa. And �user interface� vis will execute in the caller�s �other� system if the caller has a priority greater than normal.)
    Additionally, certain nodes must execute in the "user interface" execution system because their operations are not thread-safe. While the above generally specifies where a task will begin and end execution, a non-thread safe node can move a task to the �user interface� system. The task will continue to execute there until some unspecified event moves it back to its original execution system. Note, other task associated to the vi will be unaffected and will continue to execute in the original system.
    Normally, tasks associated with a diagram run in one of the �other� execution systems. The tasks associated with drawing the front panel and monitoring user input always execute in the user interface execution system. Changes made by a diagram to it own front panel are buffered (the diagram has its own copy of the data, the front panel has its own copy of the data, and there seems to be some kind of exchange buffer that is mutexed), and the front panel update is posted as a task to the user interface execution system. Front panel objects also have the advanced option of being updated sequentially; presumably this means the diagram task that modifies the front panel will be moved to the user interface execution system as well. What this does to the data exchanged configuration between the front panel and diagram is unclear as presumably both the front panel and diagram are executing in the same thread and the mutex and buffer would seem to be redundant. While the above is true for a control value it is not clear whether this is also true for the control properties. Since a referenced property node can only occur on the local diagram, it is not clear it forces the local diagram to execute in the user interface system or whether they too are buffered and mutexed with the front panel.
    If I were to hazard a guess, I would say that only the control values are buffered and mutexed. The control properties belong exclusively to the front panel and any changes made to them require execution in the �user interface� system. If diagram merely reads them, it probably doesn�t suffer a context switch.
    Other vis can also modify the data structure defining the control appearance and values remotely using un-reference property nodes. These nodes are required to run in the user interface system because the operation is not thread-safe and apparently the diagram-front-panel mutex is specifically between the user interface execution system and the local diagram thread. Relative to the local diagram, remote changes by other vis would appear to be user entries.
    It is not clear how front panels work with reentrant vis. Apparently every instance gets its own copy of the front panel values. If all front panel data structures were unique to an instance, and if I could get a vi reference to an instance of a reentrant vi, I could open multiple front panels, each displaying its own unique data. It might be handy, sort of like opening multiple Word documents, but I don�t think that it�s available.
    A note: It is said that the front panel data is not loaded unless the front panel is opened. Obviously the attributes required to draw an object are not required, nor the buffer that interfaces with the user. This rule doesn�t apply though that if property references are made to front panel objects, and/or local variables are used. In those cases at least part of the front panel data has to be present. Furthermore, since all data is available via a control reference, if used, the control�s entire data structure must be present.
    I use the vi server but haven�t really explored it yet, nor vi reference nodes, but obviously they too make modifications to unique data structures and hence are not thread-safe. And in general, any node that accesses a shared object is required to run in the user interface thread to protect the data associated with the object. LabVIEW, does not generally create OS level thread mutexes to protect objects probably because it becomes to cumbersome... Only a guess...
    Considering the extra overhead of dealing with preemptive threading, I�m wondering if my well-tuned single threaded application in LV4.1 won�t out perform my well-tuned multithreaded application in LV6.0, given a single processor environment�
    Please modify those parts that require it.
    Thanks�
    Kind Regards,
    Eric

    Ben,
    There are two types of memory which would be of concern. There is temporary and persistent. Generally, if a reentrant vi has persistent memory requirements, then it is being used specifically to retain those values at every instance. More generally, reentrant code requires no persistent memory. It is passed all the information it needs to perform its function, and nothing is retained. For this type of reentrant vi, memory concern to which you refer could become important if the vis are using several MBytes of temporary storage for intermediate results. In that case, as you could have several copies executing at once, your temporary storage requirements have multiplied by the number of simultaneous copies executing. Your max memory use is going to rise, and as labview allocates memory rather independently and freely, the memory use of making them reentrant might be a bit of a surprise.
    On the other hand, the whole idea of preemtive threading is to give those tasks which require execution in a timely fashion the ability to do so regardless of what other tasks might be doing. We are, after all, suffering the computational overhead of multithreading to accomplish this. If memory requirements are going to defeat the original objective, then we really are traversing a circle.
    Anyway, as Greg has advised, threads are supposed to be used judiciously. It isn't as though your going to have all 51 threads up at the same time. In general I think, overall coding stategy should be to minimize the number of threads while protecting those tasks that absolutely require timely execution.
    In that sense, it would have been nice if NI had retained two single threaded systems, one for the GUI and one for the GUI interface diagrams. I've noticed that control drawing is somewhat slower under LV6.0 than LV4.1. I cannot, for example, make a spreadsheet scroll smoothly anymore, even using buffered graphics. This makes me wonder how many of my open front panel diagrams are actually running on the GUI thread.
    And, I wonder if threads go to sleep when not in use, for example, on a wait, or wait multiple node. My high priority thread doesn't do a lot of work, but the work that it does is critical. I don't know what it's doing the rest of the time. From some of Greg's comments, my impression is it in some kind of idle mode: waking up and sleeping, waking up and sleeping,..., waking up, doing something and sleeping... etc. I suppose I should try to test this.
    Anyway that's all an aside...
    With regard to memory, your right, there are no free lunches... Thanks for reminding me. If I try this, I might be dismayed by the additional memory use, but I won't be shocked.
    Kind Regards,
    Eric

  • How do i set up a second display for my iMac desktop?  I want to use both displays at the same time.

    how do i set up a second display for my iMac desktop?  I want to use both displays at the same time.  My iMac is the 24" Late 2006 model.  I recall that there is a cord for plugging in a second monitor, but I want to make sure that i can use both monitors side-by-side at the same time.  thank you.

    If the Display supports DVI, then you will need a > Mini-DVI to DVI Adapter and a DVI cable.
    If the Display only supports VGA, then you wiil need a > Mini DVI to VGA Adapter and a VGA cable.
    Noting that the (digital) DVI is far better than the (analog) VGA connection.
    Also see > Using Dual Displays on Mac OS X: The Experience

  • I just bought a new MacBook Air. In my old one, I could go from screen to screen by using three fingers to swipe over the key pad. This one just sits there. It is Yosemite. How do I set up preferences so I can use three fingers to move from screen to

    I just bought a new MacBook Air. In my old one, I could go from screen to screen by using three fingers to swipe over the key pad. This one just sits there. It is Yosemite. How do I set up preferences so I can use three fingers to move from screen to screen?

    Those choices are controlled via System Preferences, Trackpad.

  • How do i get itunes 11 to display my album art while in list mode like it did in the previous version?

    How do i get itunes 11 to display my album art while in list mode like it did in the previous version?

    I think the Sidebar preview image is gone. But found that when I'm playing music either from the entire library or a playlist you can click the tiny thumbnail at the top to open a Artwork based player that is scalable. Reduce (minimize) the main Itunes window and the player is actually Nice.  Hope that helps.

  • How would I set up macbook gestures in about:config to open up a new tab(cmd+t) and word search (cmd+f)?

    I'm trying to re-setup my multitouch gestures on my mac. what values in about:config would i need in to put in to [1] open up a new tab (command+T) for '''browser.gesture.twist.right''' and [2] how would i set up a page search (command+F) for '''browser.gesture.swipe.down'''
    Thanks

    Try <b>cmd_newNavigatorTab</b> and <b>cmd_find</b>

  • HT4759 How do I set up icloud for my ipod shuffle on my new computer windows 8. I downloaded the icloud but it tells me that i don't have the icloud and I cannot add songs to my ipod.

    How do I set up icloud for my ipod shuffle on my new computer windows 8. I downloaded the icloud but it tells me that i don't have the icloud and I cannot add songs to my ipod.

    An iPod Shuffle can't use iCloud.  It can only be used on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a supported Mac or PC. 
    Also you can't create and iCloud acount on your PC (or your iPod Shuffle).  You have to create your account on an iOS device (iPhone, iPad or iPod Touch) running iOS 5 or higher, or on a Mac running OS X Lion (10.7.2) or higher.  After creating the account on one of these devices you can sign into it on your PC.  But this still won't allow you to add songs to your iPod Shuffle as it doesn't support iCloud.

  • Get the ipad to display my photos in file name sequence

    How can I get the ipad to display my photos in file name sequence instead of by time/date stamp? I want to display them in a particular sequence controlled by the filename I gave them. 

    Hey Tex,
    Good idea.  I've found a question that indicates that the ipad sorts by name (https://discussions.apple.com/message/9116248#9116248).  Mine are all sorted by date/time.  How did they do that?
    The app you suggested looks promising, but it sounds like i have to manually rearrange my pictures, and since i have hundreds in each folder, this would be tedious.  Is there an app that will allow me to display them by filename w/o me having to rearrange them myself??
    Thanks.
    WSC

  • Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini

    Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini (late2014)
    im currently useing my Mac mini as a portable computer, I take it to the university and use the iMacs there as a monitor but before I can do that I have to log in to my Mac mini first which means doing it blind
    is there a way to put the IMacs into display mode with out logging into my Mac mini first
    or is there a portable monitor that I can use that will not require me to login first

    This
    Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    says:
    How do I enable TDM?
    Make sure both computers are turned on and awake. 
    Connect a male-to-male Mini DisplayPort or ThunderBolt cable to each computer.
    Press Command-F2 on the keyboard of the iMac being used as a display to enable TDM.
    Note: In Keyboard System Preferences, if the checkbox is enabled for "Use all F1, F2, etc. keys as standard functions keys," the key combination changes to Command-Fn-F2.
    How do I exit TDM?
    To leave TDM, press Command-F2 on the keyboard of the iMac that is in TDM. You can also exit TDM if you shutdown or sleep either computer or detach the cable.
    Can I use a third-party keyboard or older Apple keyboard to enable TDM?
    Some older Apple keyboards and keyboards not made by Apple may not allow Command-F2 to toggle display modes. You should use an aluminum wired or wireless Apple keyboard to toggle TDM on and

  • How do I set up my iPhone 4s to sync automatically to iTunes when connected to my iMac via USB?

        How do I set up my iPhone 4s to sync automatically to iTunes when connected to my iMac via USB?  Currently it only syncs when I manually click on sync.
        Somehow I do have my 5th gen. iPod set up to sync automatically with the same iTunes / computer.  But I do not actually see a checkbox for either device.
        (yes, the 'prevent devices from automatically syncing' is unchecked)
    thank you!

    Turn off mobile data?
    Talk to your carrier about the usage increase.
    Googling provides many tips- https://www.google.com/search?q=reduce+iPhone+data+usage&ie=utf-8&oe=utf-8

  • I bought a used iphone 4 today. how to transfer all my old and important data including apps and email settings from old iphone 3gs to the used iphone 4?

    i bought a used iphone 4 today. how to transfer all my old and important data including apps and email settings from old iphone 3gs to the used iphone 4? that means, making the iphone 4 just like the iphone 3gs?

    Well, you sink everything on your 3GS onto your laptop/computer. Then you reset your iPhone 4. When you are restarting it, add all those apps music (ect)  On to it. It seems difucult but for more info call Apple. I did that and he lead me step by step on how to do it. Well hope this helped~~

  • Ever since I updated my OS, the screen on my Mac will automatically become huge if I keep my mouse on the screen. I can't figure out how to return the screen to a normal size. Any help?

    Ever since I updated my OS, the screen on my Mac will automatically become huge if I keep my mouse on the screen. I can't figure out how to return the screen to a normal size. Any help?

    Hold down the 'ctrl' key and scroll backwards on the mouse.
    Then go to System Preferences > Universal Access > Seeing. Turn off the Zoom feature.
    Similarly in Sys Pref > Mouse uncheck the box for 'Zoom using scroll wheel…'
    If it still occurs after that there may be a corrupt .plist file.

  • When attempting to "save as" a word document and selecting micrsoft word as the "save as type", it no longer will save it in a word icon document, the icon is just a blank document symbol and thus cannot email this document as before.

    when attempting to "save as" a word document and selecting micrsoft word as the "save as type", it no longer will save it in a word icon document, the icon is just a blank document symbol and thus cannot email this document

    Here are my two cents.
    The resources defining the file formats which Pages may import or export are stored in the file :
    Macintosh HD:Applications:iWork '09:Pages.app:Contents:Info.plist
    Assuming that you didn't installed the Developer tools, go to my iDisk (address below)
    Download :
    Pref Setter.app.zip
    Unpack the archive.
    Open the file "Info.plist" with Pref Setter.
    Open the entry entitled :  CFBundleDocumentsTypes
    Open the items 9, 10, 11, 12
    The normal contents is :
    Double check the parameters available for items 9 & 10.
    What you get may be linked to some oddity in these resources.
    Yvan KOENIG (VALLAURIS, France) samedi 1 octobre 2011 18:00:23
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Desktop Icons On The Right. Why?

    What's the reasoning/logic behind having all the desktop icons listed on the RIGHT side of the screen? I read and write in English, and I do that from left to right. So, to me, it would be logical to have my desktop icons on the LEFT side of the screen.
    Why isn't there a desktop option to arrange the icons on either the left or right side of the screen?

    Yes, it is a legacy from when Apple actually consulted and implemented its own Human Interface Guidelines, some of which were based on studies/theories (Fitts' Law) of what is easiest to hit with the mouse for right handers. As I recall, the primo location for "hitablility" was the lower right corner, which was where Apple originally had the Trash (mine is still there, because the theory works). For some entertaining reading on various design bugs, see Bruce Tagnazzini's web site:
    http://www.asktog.com/Bughouse/introduction.html
    He really really hates the Dock--lists it as Bug #3 in worst design bugs.
    Francine
    Francine
    Schwieder

Maybe you are looking for

  • Help me with XSLT 2.0

    I tried to transform from xml to xml using xslt2.0 on oracle 10g r2. Based on the fact that whenever I added xslt 2.0 features such as "xsl:function","xsl:for-each-group" to stylesheet, oracle 10g gives me an error "LPX-00602: Invalid child element '

  • Need border around image specific size

    I'm new to aperture and can't figure out how to do this. It was so easy in other less sophisticated programs on my PC. I'm really disappointed that I cant do this simple task. I have images of my artwork that need to be sent as jpg files at 1920 x 19

  • Modify Payload in SXMB_MONI

    hi all, I want to modify the Payload XML at the first point by stopping the Communicaiton Channel and restarting after the change. What is the correct way to do that. Thanks, FS

  • What's the best spyware/antivirus software for Macbook Pros?

    I have a job that requires some protection from spyware or viruses which I should already have, but never took the time.  Any suggestions?

  • Extracting, or deleting pages to save in a seperate file

    When I go to documents menu I no longer have an option to extract or delete pages to save to a seperate file. This changed when I updated my adobe to adobe reader 8.0. I am trying to figure it out but I am having no luck at all. How do I get the menu