In LV, using TS API, how do I specify the VI module for a Pass/Fail step?

I am writing a LabView VI which will let a user write a TestStand sequence. Each step in the seq is the same type, a Pass/Fail test. I need to specify for each step the LabView VI module location, and an input buffer. I am having difficulty finding out how to specify the module for the step using the TestStand API in LabView. How to do this????

Hi Drew,
I think Dennis might have come at this from the wrong angle.
Have a look at the example that ships with TestStand under
\Examples\SequenceBuilderTool\LabVIEW
This might give some clues, but I'd suggest posting this question over to the TestStand discussion Forum as suggested by Dennis.
There'll be a few more people there who can help a bit more in-depth
My personal suggestion is to create a custom step type that calls the .vi's and then you can create the steps in a new sequence file using your tool easily. This could be cumbersome for you if you already have a lot of steps setup.
Better then to create a resource to get the steps out of to clone them by creating a sequence file which is full of your steps. When you have a handl
e to a cloned step, you can change properties about it in memory, before putting it into the sequence (i.e. change it's name and stuff)
Otherwise you need to get the type and create a new step of this type.
If all you're stugling with is the module to call, then for the step you have a handle to, change the
you can either change the "Step.TS.SData.ViPath" as a string (TestStand set property value String with a reference to the sequence_context) or if you wanted to bring up the specify module dialog, if you have a handle to the step itself, call the method SpecifyModule.
Hope that helps
Sacha.
// it takes almost no time to rate an answer

Similar Messages

  • How do I specify the Startup VI for a LLB in LV 8.5.1 Full?

    Hi,
    I recently upgraded to LabVIEW 8.5.1 from LabVIEW 7.1.1.  I entered the project Build Specifications and compiled my code into a LV .llb file called "my_program.llb".  I also specified the top level vi (called "main.vi") inside my_program.llb.  Now I want to make "main.vi" automatically open and execute whenever the user double clicks on my_program.llb from within Windows Explorer. How can I do this in LV 8.5.1 Full?
    Right now when the user double clicks on my_program.llb, the LLB Manager window opens, but "main.vi" doesn't automatically launch like it used to do back when I was using LabVIEW 7.1.1 Full.
    I know it is possible to specify the Startup VI using the Professional version, but is this possible to do in the Full version?
    Thanks,
    Richard
    Solved!
    Go to Solution.

    Check out this KB
    Managing LabVIEW Library Files in Windows Explorer & the LLB Manager
    LabVIEW 8.5 and beyond
    In LabVIEW 8.5, the
    option to open LLB files in Windows Explorer has been removed. However,
    if you have a previous version of LabVIEW installed along with 8.5,
    LLBs can still be opened through Windows Explorer if you follow the
    procedure below. If you are not using another version of Labview along
    with 8.5, you can change the default behavior so that an LLB that is
    opened from Windows will open the top-level VI instead of the LLB in
    the LLB Manager.

  • EText Outbound using API - How do I specify the XSL file?

    I apologize in advance if this is documented somewhere and I am being lazy. But I cannot find the the documentation and would appreciate someone pointing me in the right direction. Or by helping with this code.
    Compiles but dies in execution
    package xmlp;
    import java.io.BufferedOutputStream;
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.FileOutputStream;
    import java.io.IOException;
    import java.io.DataOutputStream;
    import oracle.apps.xdo.XDORuntimeException;
    import oracle.apps.xdo.template.EFTGeneratorProcessor;
    public class etext_out_sample {
    public etext_out_sample() {
    public static void main(String[] args) {
    try
    DataOutputStream myout = new DataOutputStream(new BufferedOutputStream(new FileOutputStream(new File("c:\\temp\\xmltest\\ach.txt"))));
    EFTGeneratorProcessor processor = new EFTGeneratorProcessor();
    processor.loadXML("c:\\temp\\xmltest\\ach.xml");
    processor.loadXSL("c:\\temp\\xmltest\\ach.rtf");
    processor.process(myout);
    myout.writeChars(myout.toString());
    myout.flush();
    myout.close();
    FileInputStream fiS = new FileInputStream("c:\\temp\\xmltest\\ach.rtf");
    EFTProcessor etfP = new EFTProcessor(fiS);
    etfP.setOutput("c:\\temp\\xmltest\\ach.xsl");
    etfP.process();
    EFTProcessor processor = new EFTProcessor();
    processor.setData(xmlInput);
    processor.setTemplate(template);
    processor.setXSL(xslInput);
    processor.setDebugMode(debug); processor.setSequence(sequenceName, sequenceValue);
    catch (FileNotFoundException ex)
    ex.printStackTrace();
    catch (XDORuntimeException ex)
    ex.printStackTrace();
    catch (IOException ex)
    ex.printStackTrace();
    ---------EOF---------------------

    You should use EFTProcessor.
    EFTProcessor processor = new EFTProcessor();
    processor.setData(xmlInput);
    processor.setTemplate(template);
    processor.setXSL(xslPath); // this is a path to a temp file required by EFT
    // processor to save a temporary xsl file
    processor.setOutput(filePath); // specify an output file name
    processor.process();
    Thanks,
    Shinji

  • How can I specify the default tab in a CHM Output?

    My company uses CHM-based help for some of its products. We build the CHM files from RoboHelp 9, and while these CHM files don't really have a full Index attached to them, the Index tab shows up in the output anyway. Unfortunately, we are suddenly seeing that when the CHM file is launched from our program, the Index tab is displayed by default. We'd rather have the Contents tab be the default look, especially considering that the Index does not exist.
    I have poked around into how you can specify a default tab for a CHM file, and the only information I have found suggests that using a CHM file creates a file (HH.dat) that specifies which tab should be displayed on a user-by-user basis, and that the last tab displayed when you close the CHM should be the first one displayed when you re-open it. While this is true if you open the CHM independent from the product, when you launch it from our program, it's all Index, all the time.
    So, my question is: How can I specify the default tab for a CHM file? Or, failing that, how can I excise the Index tab from my CHM output.

    Hi there
    This will be something up to your application developer to resolve. When s/he issues the call to open the CHM, there are parameters that may be used to always open with the desired tab "in front".
    Point your developer to the link below and advise that s/he is most likely interested in the section titled: Programming Tips.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Can I set up a new Mac Pro late 2013 using a Wacom Cintique 13HD tablet as the default monitor? How would I install the driver software for the tablet?

    Can I set up a new Mac Pro late 2013 using a Wacom Cintique 13HD tablet as the default monitor? How would I install the driver software for the tablet?

    The wacom site will have the drivers for you.
    http://us.wacom.com/en/support/drivers

  • How do I specify the JRE i wish to use to Run an Application.

    Hi Everyone;
    Please bear with me if you read this before.
    I have installed java 1.3.1 and java 1.4.1 in that order.
    The JRE used by default is java 1.4.1
    How do I specify the JRE I wish to use to Run an Application from a command prompt.
    Example:
    Java -something org.jboss.Main
    help ??
    Stephen

    I was a lil embarrassed. I told my supervisor that the installation of java overwrites the JRE and that's that.
    My supervisor took 10 minutes and went through it and found java.exe in the System32 file.
    The java.exe file is found in guess where "C:/WINNT/System32/" folder how nice. C:/WINNT/System32/ is in the path. Not only that it's the first entry in the path. So when I execute java it is not using java.exe any one of the java files that I got from the java website.
    So I don't have any control over the version.
    Oh well;
    That's life. That's 1 for my supervisor.
    Stephen

  • I would like to send pics from my windows computer to my iPhone using bluetooth. I had it paired but somehow it cannot the download the software and is asking to usa a disk instead. Where or how can I download the software available for that, please reply

    I would like to send pics from my windows computer to my iPhone using bluetooth. I had it paired but somehow it cannot the download the software and is asking me to usa a disk instead. Where or how can I download the software available for that, please reply... thaks. (",)

    Bluetooth file transfer has never been supported with iOS devices.

  • HT201269 I have lost my iPhone 3GS. It was backed up to my computer using iTunes. I now have a new iPhone 4 series from a friend. How can I restore the backup information for my previous phone to the new phone?

    I have lost my iphone 3GS. It was backed up to my macbook pro using itunes. I now have a new iphone series 4 (china model). How can I access the backup information for my old phone and put it on my new one?

    Thank you again for all of your help!! I really appreciate it!
    I think I am following -- I was able to upload to my iPhoto and all photos and videos are there that is a plus! I tried to create an Event in my iPhoto and put all of my photos in that event but for some reason, now my iTunes it not recognizing that Event in my iPhoto. It is not allowing me to import just that event at the moment but I may be doing something wrong. At least all of my pics and vids are in iPhoto so that is a plus and I know they are at least saved somewhere. Just for some reason, my iTunes it not locating the event that I created with only those photos.
    Thank you for letting me know about my contacts! How do I know if I have the contacts app?
    Also, I had no clue that my iCloud could be backed up via cellular data! However, is this a new feature with the most updated iOS?? Unforutnatly I am like 2 iOS updates behind because I don't have enough storage on my phone. I still get the notification that my phone needs to be plugged in and connected to wifi in order to back up to the cloud :-(
    How can I sync using USB? Right now when i click on the info tab for my iPhone in my iTunes this is the answer that I get -- I am a little unclear as to what it means.
    Sync Contacts:
    Your contacts are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone
    Sync Calendars:
    Your calendars are being synced with you iPhone over the air from iCloud. Over-the-air sync settings can be changed on you iPhone

  • I use 2 monitors how can I lock the dock to keep it from sliding over to next monitor?

    I use 2 monitors how can I lock the dock to keep it from sliding over to next monitor?

    I found the answer in the "more like this" area.  Thanks for helping.

  • My music app icon is missing from my home screen and I have to go through the search to find and use it. How do I get the icon back on my home screen

    (IOS 7 update trouble) My music app icon is missing from my home screen and I have to go through the search to find and use it. How do I get the icon back on my home screen

    Find which screen, folder it was moved to, and hold down the icon until the icons start shaking. Then drag it to the left or right edge of the screen, and it will allow you to move it to which ever screen you want it. When you have it there, tap the Home button to stop the icons form shaking.
    Or do what hannahsage said above.

  • Hello i would like to stop using outlook (office 2011) and use instead "mail": how can i transfer the database?

    hello i would like to stop using outlook (office 2011) and use instead "mail": how can i transfer the database?

    Hello Sylviefrombuenosaires, here is a link from macworld that can solve your question. Try reading this.
    http://www.macworld.com/article/158112/2011/02/export_outlook_ical.html
    Carlos

  • I use Aperture 3 how can I have the tool bar colored?

    I use Aperture 3, how can I have the tool bar colored?

    Thanks for your help, for the time beeng i will follow your suggestion: "learn to love the new look."
    In any case I strongly recomend Apple to correct the Aperture 3 software.
    Have a nice day
    Sergio

  • I down loaded iBank on a trial basis and have decided not to use it.  How do I delete the program from my Mac

    I down loaded iBank to my computer but have decided not to use it.  How do I delete it from my Mac

    If the application came with an uninstaller, use it. You can also check the developers site for instructions.
    But for the most part, just drag the application to the trash. Some applications come with uninstallers under "options" on the installer.
    The reason for this is that in Mac OS X most associated files are kept in the application package itself. If you choose any app then "control-click" on it, you can choose "Show package contents" from the contextual menu and you will see all the associated items.
    You can also do a Finder or Spotlight search for any other items but they will probably only be prefs which will do no harm and don't take up much room.
    These are ususally just plist files in Users/yourname/Library/Preferences . Also some apps will install files in Users/yourname/Library/Application Support. (To reveal this hidden Library go to your Finder "Go" menu hold the option key to choose "Library"
    Note: Some apps may also put a file in /Library/Startup Items or SystemPreferences >> Users & Groups >> Login items. (So, it worth a look here too)
    EDIT: Snapped by Paul and RD!

  • Crrystal Reports using ADO.  How do you Change the Isolation Level?

    Post Author: jmetaxas
    CA Forum: Data Connectivity and SQL
    Crrystal Reports using ADO.  How do you Change the Isolation Level?  I found a knowledge base article that allows you to change it for ODBC.   But nothing on ADO.  I kicked around changing the reports to ODBC but even then the keys described in the article do no exist.  Any suggestions?
    Thanks,
    John Metaxas

    T-Bob wrote:
    I want to make sure that points 2&3 are at the same level, so I can just move the envelope region between them up and down to change the volume. Any quick way to do this to speed up my process?
    Specifically to address this point: if you mouse over the audio levels' rubber band segment BETWEEN your points 2) and 3) until the cursor changes to an up/down adjustment arrow ⬍, and move it up/down, it will adjust BOTH the levels at 2) and 3), maintaining the relative difference between them (or, if points 2) and 3) start at the same level, this adjustment will keep them equal as you drag them both up/down together in one action.)
    As usual, much easier to DO it, rather than describe it!

  • How can I get the shutter count for my Canon 7D Mark II using Windows XP?

    How can I get the shutter count for my Canon 7D Mark II using Windows XP? I've been looking lots of places and doing some file uploads, but I can't seem to find anything. I'm wary of downloading software I know nothing about. Any help is greatly appreciated.
    Solved!
    Go to Solution.

    Nevermind, just, sort of answered my own question. Doesn't work on XP, but using a Win 7 'puter I was able to use Shutter Count, which now works w/ the 7D Mark II.

Maybe you are looking for

  • Error while doing asset acquisition

    Hi Friends I am tryin to post an asset acquisition but gettin the following error- Contact your system administrator (table error) Message no. AA824 Diagnosis No accounts have been entered for depreciation area 01 for account allocation 11000 (chart

  • Safari 6.0.5 share to Twitter

    Since the latest update to OS X 10.8.4 and Safari 6.0.5, the Share to Twitter & Facebook icons just play an exclamation sound at me! Below the browser chrome it goes semi transparent as though the overlay is loading up, but the entry dialogue doesnt

  • CLDC + MIDP

    Hello, I receive an error message (2 actually) that I don't understand. It occurs after preverifying a class file. (I followed the exact instructions from J. Muchows book: Core J2ME) compiling goed fine... preverify results in: Error preverifying cla

  • Why is FlashPlyer crashing?

    For goodness sake ????? 48 hours and flash is still crashing everytime I try to play a game of Facebook.  NOT good enough!!!!! Using Chrome,  have done all the checks and am told by Adobe test that I have the latest and greatest,  yet it stopped work

  • Removing / cropping black space after stabilizing

    i am so new to this that i should read more but i am anxious to see this video stabilized. is there an easy way to 'stabilize' the vid i.e removing the black space created after stabilizing or is this a frame by frame crop?