Hopefully easy question...

I am new to TestStand and have a couple of (hopefully) easy questions.  I am using TestStand 3.5.
1)  I have written a couple of sub-sequences in another file that we use for common tasks.  Some of the parameters we pass will always be the same variable name.  Is there a way I can get that default parameter name to show up when I write the program to call this sub-sequence so I wont have to enter it each time?
2)  When I run a program that calls a sub-sequence in the above file, the first time I run it, I get an error saying the resource already exists...  If I open the sub-sequence file in TestStand, and then close it, it is fine after that.
Thanks for your help!

With TestStand the answer is usually 'yes' it is just a matter of which way is best for you.
1)
TestStand has a full application interface so that you can pragmatically read parameter names and types, and populate calling programs with the right stuff.  This takes some learning.  There may be an easier way depending on what you are doing.
I'm not sure what you mean when you say you write a program to call the subsequence.   In  TestStand 4.0 ( don't have 3.5 installed) you can create a Sequence Call template step that can be used in new sequences that you program.  That is, I can open a new sequence, drop a generic Sequence Call step and rename it, configure it to call your subsequence by choosing the right path, sequence file, values/expressions to be passed to the subsequence, and then I can save this step as a template (drag to the Step section of the template window).  Then, when I have a brand new sequence, I can drop an instance of this template step into my sequence, with the parameter values preconfigured.  Assuming all the expressions are valid, you're ready to go. 
2)
Without more information I can't help with this one.  Perhaps the sequence file that contains the called subsequence is not in one of your search directories (see Configure>>Search Directories) and therefore it can't be found until you open, identify and save the calling sequence file. What error code are you getting?

Similar Messages

  • Hopefully easy question: the number keypad stopped working!

    OK, this is a super-minor problem, but I'm hoping that means it's an easy one to fix!
    I normally rely on quickkeys or keyboard shortcuts, like in Logic when you just hit the "0" on the number keypad which takes you back to the beginning of the piece. Problem: it stopped working! Now when I hit the 0 I just get the penalty beep. I did trash my preferences earlier today, because I was having problems with a 3rd-party plugin. But I can't find a place in Preferences to enable the number keypad keys.
    Help!
    Kirby

    If you trash your prefs you automatically delete your Keycommands with it so you should save/export them first before trashing the prefs. Now open the Key command menue, enter "stop" in the little Spotlight menue and reassign the "0" to the command stop.

  • Quick (hopefully easy) question about rotating video...

    I'm going to be shooting some video soon that I will later be editing with FCP. I'm going to shoot the video on a Canon Vixia HF10 (AVCHD) camcorder.
    In the situation I'll be shooting, with the mount I'll be using, it would be much easier for me to shoot this video with the camera fully upside-down.
    If I shoot the video fully upside down, can I easily rotate it 180 degrees in FCP with no loss of quality?
    Thanks!

    An interesting thing about video that is shot upside down is the ballistics of the camera movement can be weirdly disconcerting. For instance, if it's a helmet- or wing-style mount, pans and tilts just feel odd.
    As Eric suggests, flipping the image 180 degrees is easy but practice and evaluate.
    bogiesan

  • OEM Grid Control Newbie ... hopefully easy question

    I am trying to setup a simple "SQL script" corrective action and want to pass in the object being monitored to the script. For example, in my tablespace %used metric I have defined a corrective action that calls a SQL script on the local host. I want to be able to pass in the tablespace name that raised the alert to the script. When I place the %key_value_name% in the parameters section the corrective action does not work. It doesn't permit me to choose %key_value% as would appear to be the most suitable target property. I am trying to avoid hard-coding the name of the tablespace upon which to take corrective action in the CA script. I feel like I am missing something very simple here.

    Just verified and it appears to work out of the box.
    Fix it job I put on a broken job metric:
    WHENEVER SQLERROR EXIT FAILURE;
    spool /tmp/mylogfile
    set feedback on
    set heading on
    set echo on
    select sysdate from dual;
    select '%metric%' from dual;
    select '%metric_value%' from dual;
    spool off
    The details of the alert job firing:
    Output Log
    SQL*Plus: Release 10.2.0.2.0 - Production on Wed May 2 11:58:24 2007
    Copyright (c) 1982, 2005, Oracle. All Rights Reserved.
    SQL> SQL> SQL> SQL> Connected.
    SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL> SQL>
    SYSDATE
    02-MAY-07
    1 row selected.
    SQL>
    'BROKENJOBCOUNT'
    Broken Job Count
    1 row selected.
    SQL>
    '1'
    1
    1 row selected.
    SQL> SQL> SQL> SQL> Disconnected from Oracle Database 10g Release 10.2.0.2.0 - Production
    And the spool file as well:
    $ more mylogfile.lst
    SQL> set feedback on
    SQL> set heading on
    SQL> set echo on
    SQL> select sysdate from dual;
    SYSDATE
    02-MAY-07
    1 row selected.
    SQL> select 'Broken Job Count' from dual;
    'BROKENJOBCOUNT'
    Broken Job Count
    1 row selected.
    SQL> select '1' from dual;
    '1'
    1
    1 row selected.
    SQL> spool off

  • Hopefully easy question that I can't for the life of me figure out

    I accidentally removed the ethernet pane in the network panel of system prefs.
    Now, when I click the button to add it back, it gives me the option for "ethernet 2," implying the first one is still…something.
    How to I just get that default panel back?
    More specifically, is there a way I can just reset my network prefs to default?
    thanks, hope to hear.
    -Griffin Wade

    Create it as Ethernet 2, then rename it via the action button next to the plus & minus signs.

  • I have what is hopefully a quick and easy question. I kno...

    I have what is hopefully a quick and easy question. I know almost nothing about this stuff so go easy on me . All I need to do is find out if my DHCP is enabled. I'm having problems with my Xbox 360 and one of the possible problems is this DHCP thing. However I have no idea how to find the settings for my router on my computer. If it helps I have a Wirless model BEFW11S4. Thanks in advance for any help.

    You need to access your router to check if the DHCP is on.  To access the router open your browser and type in http://192.168.1.1 into the address field and hit enter.  That should open the routers log on screen and by default the user is left blank (some routers it is admin) and the password is abmin.  If you changed your routers password as you should for security reasons then use that password.  That will bring you to your routers user interface and on the main set up page should be your DHCP.
    Richard Aichner (Ikester)

  • Easy question hopefully.....

    I have an easy question but am having a mental block. How can I assign the value of 0.05 to restock? What I need to do is return a 5% restocking value added onto the item. Make sense?
    //Type.java
    public class Type extends Office // Start of public subclass Itemtype that stores office items color.
    private String color; //get string name
    private float restock; //get float value of restock
    private float item; //get float value of total items
    public Type(String color,float restock, float item)
    {  // constructor to initialize the fields
    this.color = color;
    this.restock = restock;
    this.item = item;
    public float getRestock()
    return (this.item * this.restock) + (this.item);
    } //end public subclass Type

    Don't crosspost. Too late this time, but don't do it again.

  • Easy Question: Illegal Start of Expression

    This is a ridiculously easy question... but I am having trouble with it...
    Anyway, here is the line of code that is giving me trouble:
    jButtons = {{jButton1, jButton5, jButton9, jButton13},
    {jButton2, jButton6, jButton10, jButton14},
    {jButton3, jButton7, jButton11, jButton15},
    {jButton4, jButton8, jButton12, jButton16}};
            That's it. jButton1 through jButton16 are all jButton objects (for a GUI). jButtons is an array (4 by 4) of jButton. All are global variables, the buttons are all initilized (in fact, that was the problem I had before, and why I need to put this here: otherwise I get a null pointer exception).
    Surprisingly, such a simple line of code causes TONS of errors to occur. To save space, {...} * 2 means that the exception occurs twice in a row, errors are separated by comma's.
    { Illegal Start of Expression, {Not a statement, ; required} * 2} * 4, Empty statement
    A similar statement (int[] test = {{1,2,3},{4,5,6}};) works perfectly fine.
    Please help, doing this will reduce the size of my code to about a third of the size of the code. And then I can laugh in the faces of those people who say that I write long, and in-efficient code! MWHAHAHAHAHAHA!!
    However, I will keep at it, and Murphy's Law states I will find a solution 10 seconds after posting. If I do, I will edit this post, and tell you guys the answer ;)
    [Edit]In case you are wondering... all my other code is correct. Here is the adjacent 3 methods:
    private void jButton16ActionPerformed(java.awt.event.ActionEvent evt) {
        ButtonClick(3,3);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton10;
        private javax.swing.JButton jButton11;
        private javax.swing.JButton jButton12;
        private javax.swing.JButton jButton13;
        private javax.swing.JButton jButton14;
        private javax.swing.JButton jButton15;
        private javax.swing.JButton jButton16;
        private javax.swing.JButton jButton17;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton3;
        private javax.swing.JButton jButton4;
        private javax.swing.JButton jButton5;
        private javax.swing.JButton jButton6;
        private javax.swing.JButton jButton7;
        private javax.swing.JButton jButton8;
        private javax.swing.JButton jButton9;
        private javax.swing.JLabel jLabel1;
        // End of variables declaration
         * @param args the command line arguments
        public static void main(String args[])
            jButtons = {{jButton1, jButton5, jButton9, jButton13},
    {jButton2, jButton6, jButton10, jButton14},
    {jButton3, jButton7, jButton11, jButton15},
    {jButton4, jButton8, jButton12, jButton16}};
            int[][] test = {{1,2,3},{4,5,6}};
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new GameWindow().setVisible(true);               
        String[] row1 = {"1", "5", "9", "13"};
        String[] row2 = {"2", "6", "10", "14"};
        String[] row3 = {"3", "7", "11", "15"};
        String[] row4 = {"4", "8", "12", ""};
        String[][] labels = {row1, row2, row3, row4};
        int blankX = 3;
        int blankY = 3;
        static javax.swing.JButton[][] jButtons;
        private void DisableAll()
            for (int looperX = 0; looperX < 4; looperX++)
                for (int looperY = 0; looperY < 4; looperY++)
                    jButtons[looperX][looperY].setEnabled(false); 
        Edited by: circularSquare on Oct 13, 2008 5:49 PM
    Edited by: circularSquare on Oct 13, 2008 5:52 PM

    You can only initialise an array like that when you declare it at the same time. Otherwise you have to do as suggested above.
    int[] numbers = {1,2,3,4}; //ok
    int[] numbers;
    numbers = {1,2,3,4}; // not ok

  • Easy question - how to increase number of recent files in menu?

    This is for CS5 if it matters.
    I'm an infrequent Illustrator user (at best) but I have what I hope is an easy question: I want to increase number of recent files showing in the menu.
    I can't find a preferece to set such as in PS and almost every other application on the face of the earth. I've tried to reset the preferences file (start Illustrator with ctrl-alt-shift held down) but I'm stuck at 4 files, which I assume is the anemic default option.
    Is there an easy way to do this that Adobe has hidded somewhere? As expected, it can't be found in the help, I can't find it on the forums, or even on the net, but I do know it can be done because I can see other installs showing lots of files in the list.
    thanks for any help.

    This might be because of a new feature that you can turn off for each object, and alltogether. When you create a new document at the bottom, make sure 'Align New Objects to Pixel Grid' is unchecked.  After you have created a new file, you can still go into the 'TRANSFORM' palette (SHIFT+8), use the little right top menu, and make sure 'Align New Objects to Pixel Grid' is unchecked. And if you want to get fancy with each object; you can select an object, and look at the 'TRANSFORM' palette at the bottom is a place to uncheck the 'Align to Pixel Grid' at your disposall.
    Before I found this, it ruined my week.
    http://www.kenwells.com

  • Easy question I'm sure. imac hard full (500gb) mostly from iphoto. no capacity left. what are my options? I've thought of an external drive of 1tb and then a 2nd external drive of 3tb to back up both???? please help.

    easy question I'm sure. imac hard full (500gb) mostly from iphoto. no capacity left. what are my options? I've thought of an external drive of 1tb and then a 2nd external drive of 3tb to back up both???? please help.

    Those are the options - more space is more space.
    Moving the iPhoto Library is simple:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Easy question about Reformatting

    Hello all,
    I am trying to reformat my HD after I have deleted Windows XP off of a partition. The reason for this is an upgrade to Vista and a larger allotment of HD space. My question is:
    I am using Backup v3.1.1. (v369) and I have FULL backup files of my Home folder, and my Music folder (as backup for my backup) for all my iTunes libraries. These are located on a portable HD. Are these the correct files to have backed up in order to have my MAC the way it was before I started the process? If so, then once the reformatting is complete, how do I get it all back onto my MAC permanently? Will all my apps and tweaks work as before?
    I am sure this is a simple question, however, I have never had to do this with a MAC, and I want to make sure I have all bases covered before I begin this. Any other comments or advice would be greatly appreciated.
    Thanks All!

    You call this an easy question ???
    Just messin with ya
    Your home folder is the most important folder containing your music, documents, preferences etc. but a lot is also stored in the system folder and library folder outside your home folder, if you want to be ensured of an exact copy of your current system the best way to go at this is to clone your system partition.
    The app i use for this is carbonCopyCloner
    http://www.bombich.com/software/ccc.html
    To add to this.. i've heard there is software for the mac that allows you to make adjustments to the size of your partitions without having to format the drive, i don't know the names of these products but i do know that it's very risky to use them, if you decide to use an app like that make sure you have proper backups of everything just in case it goes wrong.
    Message was edited by: Pr0digy V.

  • Easy question for the MODS

    Unlike more difficult questions like CRC problems, ps problems, etc, this is rather an easy question.
    The KT4V manual (page 3-8) lists the onboard NIC as a "boot device" option.  This "feature" is available in Bios 1.1, 1.2 but not available in Bios 1.4 and later.  
    Any reason why this feature was mutilated and not available anymore in the later bioses?
    Are there two different bioses for KT4V and KT4V-L?  If yes where can one find the bios for KT4V-L?
    I know this feature is not very popular with the majority of users, and I'm not trying to bust anyone's balls for removing un-popular features, but the "boot from NIC"  was one of the features/reasons why I got this mb, and I would rather use a much newer bios than 1.2 (for known reasons).
    Also, while on this topic, boot-from-usb (especially thumb drives) feature would also be greatly appreciated - I think it is also listed in the manual.
    TIA

    Hi,
    Quote
    Please suggest him to update the BIOS Ver1.9 which can support Boot from LAN and boot from USB devices.
    AMI BIOS can boot from the devices which support BIOS Boot specifications (BBS, you can refer to the attached file for the information).
    Email me, so I can send you the BIOS PDF.

  • Easy question array

    Hello experts,
    i have an easy question. I need to store data in a 1D array so that the first data is written in the place of index 1 the second in index 2 aso.  I've tried it but somehow either i only had the last data in all indexes or only the last data in the last index. I am posting you a vi. I know where i should change it but i need a small idea oder change in the vi.
    Thank u for your help.

    Attachments:
    array_shift.vi ‏7 KB

    Please save your VI in ver 8.2 and then paste it on the forum so that i may help in making it into what you want. Without seeing the VI i am guessing that you have elements or 1-D arrays that you want to append into a single array.
    Its simple whether its the elements that you want to build into 1-d array or arrays that you want to make into a single array. Just use the build array function. Connect the input wires to the element and you'll have your 1-D array, provided you havent unchecked Concatenate Inputs in which case you will have a higher order array instead.
    Anyways kindly paste it in changed format so that i may help.
    Regards
    Asad Tirmizi
    Design Engineer
    Institute of Avionics and Aeronautics
    " Its never too late to be, what u want to be"
    Using LabVIEW 8.2

  • Profit center field in Material MD - Easy question

    Hi Experts,
    I have an easy question..
    The material master data screen have a  tab 'General Plan', and there is  the field 'Profit Center'.  
    a) Is this field is filled, which is the impact in the system? 
    b) is this value (profit center) used in other area or calculation?
    c) What happend if this field is empty? 
    Thank you in advance!

    Hi,
    The path told in above reply is correct but making profit centre mandatory for only two plants is not possible.
    You can make it mandatory for specified Material Type or you can make it mandatory while doing selected Transaction Like MM01 or MM02 etc
    Regards,
    Amol

  • Easy Question: How to split concatenated string into multiple rows?

    Hi folks,
    this might be an easy question.
    How can I split a concatenated string into multiple rows using SQL query?
    INPUT:
    select 'AAA,BBB,CC,DDDD' as data from dualDelimiter = ','
    Expected output:
    data
    AAA
    BBB
    CCC
    DDDDI'm looking for something kind of "an opposite for 'sys_connect_by_path'" function.
    Thanks,
    Tomas

    Here is the SUBSTR/INSTR version of the solution:
    SQL> WITH test_data AS
      2  (
      3          SELECT ',' || 'AAA,BBB,CC,DDDD' || ',' AS DATA FROM DUAL
      4  )
      5  SELECT  SUBSTR
      6          (
      7                  DATA
      8          ,       INSTR
      9                  (
    10                          DATA
    11                  ,       ','
    12                  ,       1
    13                  ,       LEVEL
    14                  ) + 1
    15          ,       INSTR
    16                  (
    17                          DATA
    18                  ,       ','
    19                  ,       1
    20                  ,       LEVEL + 1
    21                  ) -
    22                  INSTR
    23                  (
    24                          DATA
    25                  ,       ','
    26                  ,       1
    27                  ,       LEVEL
    28                  ) - 1
    29          )       AS NEW_STRING
    30  FROM    test_data
    31  CONNECT BY LEVEL <= LENGTH(REGEXP_REPLACE(DATA,'[^,]','')) - 1
    32  /
    NEW_STRING
    AAA
    BBB
    CC
    DDDD

Maybe you are looking for

  • Finder repeatedly beachballs in Mavericks on 2009 iMac.

    I have a 3.06 GHz Core 2 Duo iMac with 8gb ram running Mavericks. In both 10.9.2 and 10.9.4 it will beachball for 15-30 seconds every time I try to do anything in finder. Force Quit Applications will show Finder (not responding) while this is happeni

  • RAM confusion.

    Looking at upgrading one of my Macs. New RAM but can't get a definitive on what's best so any opinions greatly received. Read on.... Going to get Kingston and all the ones I've seen meet the specs but have some differences I'm not sure of; In additio

  • The context has expired and can no longer be used

    I am running across a repeatable error when accessing a specific Site Collection. EVERY TIME the SC is loaded we receive the error 'The context has expired and can no longer be used'. I have already validated the SharePoint servers' time zones are al

  • Getting Process Instance Information and Task Properties in a process

    Iam using WebLogic8.1 Integration BPM feature. I've designed a Worklist based application. In the business process, i've to call a java class method from the business process which takes the process instance and task related properties (viz. the task

  • Every email becomes a new contact--STOP?

    Ever since I upgraded my Outlook on my computer every email I get now shows up as a new contact on my phone. I get a million emails and this is a nightmare. Anyone know how to stop this? Thanks.