How do I find the path to a TestStand sequence file using LabVIEW

My LabVIEW application launches a bunch of teststand sequences, provided it has the complete path to each of them. I want to make it more flexible by providing it just the name of the TestStand sequence so that it will go and find the path to the sequence by searching a directory structure. TestStand has a neat FindFile() function that can do this, but I need to do this from within LabVIEW. Is there a way to do it?

There are a few ways to do this depending on how you are getting the sequence files.  If you are calling the GetSequenceFileEx method, you can just pass the GetSeqFile_FindFile (0x20) flag in the SequenceFileFlags property.  If you are using the ApplicationMgr.OpenSequenceFile method, this is automatically done for you.
If you want to use the FindFile function in general, you can use the Engine.FindFile method.
Allen P.
NI

Similar Messages

  • How do I find the path (source) of a document in mavericks?

    how do I find the path (source) of a document in mavericks?

    See if you can find the file using this program
    EasyFind – Spotlight Replacement

  • In Mountain Lion, how do I find the location of an open Preview File?  The file "properties" tab is no longer available.

    I typically have several open Preview files at any one time and often forget where, sometimes if, I saved them.  In Mountain Lion, how do I find the location of an open Preview File?  Tried holding option + command in spotlight but I don't see a path name appear anywhere. 

    Yes, cmd-option on a file you choose in Spotlight and the path will appear at the bottom of the Preview window.
    EDIT: Also, if it is bookmarked the path is in Bookmarks.

  • How to Run teststand sequence file using the LabVIEW

    Hi
    I want the execute the Teststand Sequence file using the LabVIEW .Net containers.I didnt find out the Execution Parameter in the .Net Container.Do you any suggestion regarding this question.Please let me know.
    Jayavel

    TestStand comes with loads of Operator Interface examples some simple, some full fledged. You can find it in teststand public folder win7 path here:C:\Users\Public\Documents\National Instruments\TestStand 2010 SP1\UserInterfaces
    You can take these examples or use ideas from here, also read the teststand reference manual. It has a section about Operator Interfaces.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • How do you find the number of lines in a file?

    I need to count how many lines there are in a file, I am using a BufferedReader to read in the data, but how can I find the number of lines?
    Thanks

    That depends. How do you define a line? Is it a specific number of
    characters, a String that's terminated by a newline character or some
    combination thereof?

  • How do I find the path to a pdf file I have found in Spotlight?

    I downloaded a pdf file, and a few days later couldn't remember where I put it on my HD.I found it easily using spotlight, but that brings up the file as a full pdf in Preview, and I can't see any way of finding the patrent folder, or the path to it, so I can find it again or move it. How do I do that?
    Thanks,
    Richard

    I just found the answer myself - https://discussions.apple.com/message/17196624#17196624 .
    I agree with the comments in that thread - not at all intuitive!
    Richard

  • Finder - Shared: How do I find the path that is mounted?

    Hi,
    I have recently upgrade to Lion (and I am not happy, but that is another story...)
    I have a file server that support the AFS protocol and others.  It also allows a chunk of space to be allocated for Time Machine.  The iMac's Time Machine backups are done to this.
    My iMac's Finder shows three shared under "Shared" for this device:
    FileServer (CIFS)
    FileServer (AFP)
    FileServer
    When I select either of the first two, they show me all shares known to the file server - which is two mirrored disks plus some named shares which are directories on those disks. This is what I expect - I have done a Go To "address of FileServer" and I have mounted its top-level shareable directory.
    The third one fails to mount.  I just get "Connection Failed'.  I am trying to work out what it is trying to share, but I cannot find any visible information about what it is tryng to mount.  Get Info reveals absolutely nothing - in fact Get Info seems to tell us nothing about shares whatsoever.  For all shares, it reports one thing under "General" - which is "Kind - Mac" which is correct in some cases - the Macbook and the Mini, but wrong for the CIFS mount for FileServer.
    What I would really like to do is delete this thing, but I cannot do that either - There is no Delete option in the context menu, and the Delete key does nothing.
    So I have three questions:
    How can I find out what it thinks it is trying to mount?
    How can I delete it?
    What OS do I use when Apple finally completes the process of dumbing down the OS to the point where my 86-year-old mother can't stand to use it because it is too patronizing?  (And no, not Linux.  I have been keeping an eye on it for 10 years and it will be ready for prime time long after I'm dead, at the current rate of progress.)
    Thank you for your help
    PG

    Thank you, I have just found that the sound effects for the Alarm is located in the
    Library
    Audio
    Apple Loops
    Apple
    iLife Sound Effects
    Foley
    I can not have her install the sounds onto her iPad. She is in love with the Bell Tower, my wife also is in love with the sound. We find it a very soothing sound to be waken up to.
    thank you.

  • How can I find the path of an external hard drive?

    I am using Virtual Box to install linux to an external usb flash drive. It gives me a list of drives:/ dev/sda, /dev/sda2 (type: ext 4), /dev/sda5 (type: swap). Which one is my external flash drive. This is very import and so I don't write per my current operating system, so please be certain. How can I find out which one is my external flash drive? Thank you!

    Open the Disk Utility in the /Applications/Utilities/ folder, click on the partition, choose Info, and look at the disk identifier.
    (113804)

  • How do I find the creation date of a pdf file when the user did not enter one (doesn't show up in properties)?

    I can't find the stamp in properties, etc.. does not show up. I do not know how to otherwise get the date. This is Version 1.4  (Acrobat 5.x) DPE build 5095

    The data is not there at all. My mention of hidden metadata (perhaps confusing) is to emphasise that there IS NO hidden metadata, because that would be a Bad Thing.

  • How do I find the range of a bunch of #'s using for loops?

    I have a program that gets 13 numbers from the user and I nned to find the range of them. How do I do this with for loops?

    This is what I have so far
    if (one > two && one > three && one > four && one > five && one > six && one > seven && one > eight && one > nine && one > ten && one > eleven && one > twelve && one > thirteen)
                   big = one;
              else if (two > one && two > three && two > four && two > five && two > six && two > seven && two > eight && two > nine && two > ten && two > eleven && two > twelve && two > thirteen)
                   big = two;
              else if (three > two && three > one && three > four && three > five && three > six && three > seven && three > eight && three > nine && three > ten && three > eleven && three > twelve && three > thirteen)
                   big = three;
              else if (four > two && four > three && four > one && four > five && four > six && four > seven && four > eight && four > nine && four > ten && four > eleven && four > twelve && four > thirteen)
                   big = four;
              else if (five > two && five > three && five > four && five > one && five > six && five > seven && five > eight && five > nine && five > ten && five > eleven && five > twelve && five > thirteen)
                   big = five;
              else if (six > two && six > three && six > four && six > five && six > one && six > seven && six > eight && six > nine && six > ten && six > eleven && six > twelve && six > thirteen)
                   big = six;
              else if (seven > two && seven > three && seven > four && seven > five && seven > six && seven > one && seven > eight && seven > nine && seven > ten && seven > eleven && seven > twelve && seven > thirteen)
                   big = seven;
              else if (eight > two && eight > three && eight > four && eight > five && eight > six && eight > seven && eight > one && eight > nine && eight > ten && eight > eleven && eight > twelve && eight > thirteen)
                   big = eight;
              else if (nine > two && nine > three && nine > four && nine > five && nine > six && nine > seven && nine > eight && nine > one && nine > ten && nine > eleven && nine > twelve && nine > thirteen)
                   big = nine;
              else if (ten > two && ten > three && ten > four && ten > five && ten > six && ten > seven && ten > eight && ten > nine && ten > one && ten > eleven && ten > twelve && ten > thirteen)
                   big = ten;
              else if (eleven > two && eleven > three && eleven > four && eleven > five && eleven > six && eleven > seven && eleven > eight && eleven > nine && eleven > ten && eleven > one && eleven > twelve && eleven > thirteen)
                   big = eleven;
              else if (twelve > two && twelve > three && twelve > four && twelve > five && twelve > six && twelve > seven && twelve > eight && twelve > nine && twelve > ten && twelve > eleven && twelve > one && twelve > thirteen)
                   big = twelve;
              else if (thirteen > two && thirteen > three && thirteen > four && thirteen > five && thirteen > six && thirteen > seven && thirteen > eight && thirteen > nine && thirteen > ten && thirteen > eleven && thirteen > twelve && thirteen > one)
                   big = thirteen;
              if (one < two && one < three && one < four && one < five && one < six && one < seven && one < eight && one < nine && one < ten && one < eleven && one < twelve && one < thirteen)
                   little = one;
              else if (two < one && two < three && two < four && two < five && two < six && two < seven && two < eight && two < nine && two < ten && two < eleven && two < twelve && two < thirteen)
                   little = two;
              else if (three < two && three < one && three < four && three < five && three < six && three < seven && three < eight && three < nine && three < ten && three < eleven && three < twelve && three < thirteen)
                   little = three;
              else if (four < two && four < three && four < one && four < five && four < six && four < seven && four < eight && four < nine && four < ten && four < eleven && four < twelve && four < thirteen)
                   little = four;
              else if (five < two && five < three && five < four && five < one && five < six && five < seven && five < eight && five < nine && five < ten && five < eleven && five < twelve && five < thirteen)
                   little = five;
              else if (six < two && six < three && six < four && six < five && six < one && six < seven && six < eight && six < nine && six < ten && six < eleven && six < twelve && six < thirteen)
                   little = six;
              else if (seven < two && seven < three && seven < four && seven < five && seven < six && seven < one && seven < eight && seven < nine && seven < ten && seven < eleven && seven < twelve && seven < thirteen)
                   little = seven;
              else if (eight < two && eight < three && eight < four && eight < five && eight < six && eight < seven && eight < one && eight < nine && eight < ten && eight < eleven && eight < twelve && eight < thirteen)
                   little = eight;
              else if (nine < two && nine < three && nine < four && nine < five && nine < six && nine < seven && nine < eight && nine < one && nine < ten && nine < eleven && nine < twelve && nine < thirteen)
                   little = nine;
              else if (ten < two && ten < three && ten < four && ten < five && ten < six && ten < seven && ten < eight && ten < nine && ten < one && ten < eleven && ten < twelve && ten < thirteen)
                   little = ten;
              else if (eleven < two && eleven < three && eleven < four && eleven < five && eleven < six && eleven < seven && eleven < eight && eleven < nine && eleven < ten && eleven < one && eleven < twelve && eleven < thirteen)
                   little = eleven;
              else if (twelve < two && twelve < three && twelve < four && twelve < five && twelve < six && twelve < seven && twelve < eight && twelve < nine && twelve < ten && twelve < eleven && twelve < one && twelve < thirteen)
                   little = twelve;
              else if (thirteen < two && thirteen < three && thirteen < four && thirteen < five && thirteen < six && thirteen < seven && thirteen < eight && thirteen < nine && thirteen < ten && thirteen < eleven && thirteen < twelve && thirteen < one)
                   little = thirteen;
    I'm trying to fix this so it's not so confusing with for loops

  • How do I find the pull down bar that shows File-View-Bookmarks-History etc on FF 3.6.6

    Downloaded FF 3.6.6 However I don't see the pull down task bar that shows File-View-Bookmarks-Tools etc. How do I find this?

    Hit the '''Alt''' key to show the Menu bar, then open View > Toolbars and select Menu bar, so it has a check-mark.

  • How do I find the image type of an image file

    This was posted on the LabView forum in error yesterday,  Please excuse the dual post.
    I am trying to open a JPEG image.  If I do not know the image type (8U, 16I, GrayscaleSingle, ... etc)... is there a way to find out that information?
    If you open the file using IMAQ ReadFile...you have to supply a Create Image input to allocate space...the input specifies a type to read...but if the type of the stored data is not the type specified in the read file you either read the file as the type specified, or the file does not produce any values...(and no error is produced).
    Examples:
    Store a JPEG as a Single Percision Floating point image.
    Use a Creat File to specify that the file is read with the following types...with the following results
    Type Specified        Type Read         Resulting image
    U8                               U8                     8 bit image appears
    16I                               16I
    Solved!
    Go to Solution.

    Hummer1,
    There are two methods to accomplish this:
    1) IMAQ GetFileInfo, which has quite a few outputs involving the image details.
    2) Read JPEG File, which you can unbundle the image data output to get the image depth, or other attributes.
    I would reccomend the IMAQ function, due to it being more detailed.
    Hope this helps
    Chris Van Horn
    Applications Engineer

  • Finding the name of my teststand sequence in the process model

    I would like to be able to find the file path and name of a teststand sequence in the process model. I have created a simple vi which will display this information when run in a sequence. If i insert the vi into the process model, the file path and name returned is that of the process model and not the sequence under exectution. Is there a way of extracting this information in the process model?

    Davepar -
    If you are executing in the process model you can use the following as a lookup string if you are in the root context "RunState.ProcessModelClient.Path" or "RunState.Root.RunState.ProcessModelClient.Path" if you are not in the root context.
    Scott Richardson (NI)
    Scott Richardson
    National Instruments

  • Going nuts.. How do I find the path for my cd/dvd rom drive ?

    Ok.. I'm not too savy on things but I'm using Wine and I can not get any windows progams to detect my cd/dvd drive until I tell it the file path.. I've looked all over the net and found some commands in terminal that tell me it is located in something called /dev/disk6... What the heck is that? I can not find it anywhere? Please help

    No one? Please?

  • How do I find the 'name' of a photo I've used in iWeb project?

    I've built an iWeb project.  I've used a certain photo as a background.  I've got three versions of that photo, almost identical, in my 'photos' folder.  I want to find out which was the exact one used.  Is there a way IN iWeb, while working on a project, to get the names of the various elements being used, specifically the photos?
    All ears,
    Ben

    In iMovie 9, look in your iMovie Events and iMovie Projects folders.
    In iMovie 10, look in your .imovielibrary package (right click & select "Show package contents")
    The default location of these is in your Users / ,user name> / Movies folder.
    Geoff.

Maybe you are looking for

  • How do I access *load paragraph styles* from the styles pallet menu?

    Adobe help informs me that I can bring styles from other documents into an existing document by doing this: "To copy paragraph styles from one publication to another choose Load Paragraph Styles from the Paragraph Styles panel menu." I do not see any

  • Goods movement failures.

    Dear Freinds, All my movements are getting failed during the goods movement through CO11N transaction (movements w.r.t production order). These are appearing in transaction COGI. It is giving the error saying that "No stock posting possible for this

  • What will happen if I install Lion on my macbook pro core duo??

    What will happen if I install Lion on my macbook pro core duo? I have one of the first Intel MacBook Pro's with a Core Duo processer, I'm having hard drive problems so want to format it and re-install my OS. I can't find my Snow Leopard disk so the e

  • Changing Certain Node Icons

    I can't seem to figure out how to change certain node icons in a JTree due to a 3 letter string. For example 2 nodes one saying "Intro" the other say "Edit - SEC" - the one with SEC has a different icon to "Intro" MyRenderer class, here the code whic

  • File Cannot be opened error in Numbers

    I tried to open a file I had stored in the cloud in numbers.  I got a message that the two versions did not sync.   When I selected one, I got an error stating that the file cannot be opened.  Same problem on my iPad