Is there somehing similar to #define (in C) in TestStand

HI,
Many times I need to specify numeric (or string) values in globals. I was wondering if there something similar to #define so you can enter a "name" isstead of a number.
Thanks
Rafi

You can use either a Sequence File Global or a Station Global. If you don't ever change the value, it will be like a constant. Sequence File Globals are global to the sequence file opened and all sub sequences in it. To create one, on the sequence file window, click the down arrow next to Main Sequence. Select Sequence File Globals. On right hand pane, right click and select Insert Global, then Numer or String or whatever type you desire. Then double click on the newly created global and a window pops up that allows you to assign the value. The value remains constant unless you re-assign it. You can access the global by using FileGlobals.XXX, where XXX is the name of your global.
Station Globals are global to all sequence files on that station. Create by going to the menu bar and clicking on View - Station Globals. Again right click on the right hand pane to create one. Assign a value in the same manner as above. Access it by using StationGlobals.XXX. Once a global is assigned a value, and the sequence file is saved, the next time you open the file, that global will retain the value assigned. No need to assign again.
- tbob
Inventor of the WORM Global

Similar Messages

  • Is there anything similar to  ''write:  UNDER heading ''   in  sapscript

    hi,
    is there anything similar to 
    WRITE:/ MATNR UNDER  'MATNR'
    in sapscripts so that  u can print something exactly under its heading.

    HI,
    Define tabs in the paragraph formats and use those.It will print below the heading.You cannot use UNDER in SAP Scripts.
    TO use tabs use ,, between 2 variables.
    Reward if helpful.
    Thanks,
    Dishant

  • Is there a similar 'setkeycodes' utility in Solaris?

    I'm currently working on using an LK461-A2 keyboard for Solaris on x86. There are 6 keys not working. I was able to get them working on Linux by using the setkeycodes utility to map the scan code to an appropriate key code.
    Keyboard Key      Key Scan code     Key Code Mapped
    F13     E03D     189
    F14     E03E     190
    Help     E03F     191
    Do     E040     192
    F17     E041     193
    Is there a similar utility in solaris that can be used to map scancodes to keycodes?
    I would greatly appreciate a possible solution.
    Thank you.

    Tom_RH wrote:
    I am just starting a project in Java (my first java project). I am wondering whether there is a concept in java that similar to the structure in C or C++.In C++ a struct and a class is exactly the same (apart from two minor differences).
    The C++ concept of a struct/class is supplied in Java by three language elements with different properties, namely the class, the interface and the enum.
    In my c++ projects, I used to define all my structures in a single file (say structures.cpp) and included the file in other files wherever I need. Is there a way to do similar thing in Java?How classes are distributed on files is not a Java language issue. It's a question for your development system. Most development system allow you to have one public class on each .java file only. So I suggest you nest the "structs" like this,
    public class Struct {
       public static class One {
       public static class Two {
       public static class Three {
       // etcetera
    }The above can be kept on a single .java file and you just import it whenever you need any of the Struct classes.
    The nested "structs" will behave like ordinary Javav classes apart from their naming. Their names must be qualified with the name of the outer class like Struct.One, Struct.Two, etcetera.

  • Is there something similar to a MenuDimmerCallback?

    Planning to use menu functions in LV and not having used them till now, I need some conceptual help.
    In CVI you can define a MenuDimmeCallback function: a function executed only when the user clicks on the menu bar. In that function you can test program condition and dim some menu items not available or executable in the situation you are. This is particularly useful in that you don't need to update the menu structure every time your program conditions change, but you have to evaluate the actual situation when and only the user shows menus.
    Is there something similar in LV?
    Roberto
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

    I haven't worked with CVI but given your explanation, I would say that LabVIEW handles menus a little differently. Under the application control>>menu palette there is a function called "Get Menu Selection". This can be placed in a loop to monitor if a menu item has been selected. Timeout will be false when it has and then you process the selection.
    However, this would be too late to use as a trigger to change menu dim because the selection has already been made. What you are asking is when the menu has been selected and no item clicked. In LabVIEW, you can modify the look of the menu any time you wish using the other functions in the menu palette. You don?t have to wait for the menu to be selected.
    I hope this helps?
    Michael Aivaliotis
    Michael Aivaliotis
    VI Shots LLC

  • How can I open multiple "non-merged" firefox windows? With IE, I would use the "-nomerge" option. Is there something similar for Firefox?

    I use a website in my daily work activities that I need to have multiple sessions of the website open at any given time. Natively, I cannot have multiple sessions open in a single browser (separated tabs or separate windows) without one session taking over the other. Internet Explorer has a command line option (-nomerge) that will allow me to accomplish what I need. The target line of the IE shortcut properties would look like this:
    "C:\Program Files\Internet Explorer\iexplore.exe" -nomerge
    Is there a similar solution for Firefox?
    I am running Windows 7, IE11 and Firefox 26
    Thank you in advance,
    Robert

    Hello rpvincent, try
    * firefox.exe -new-window <url>
    (the url is without < >)
    see also : http://kb.mozillazine.org/Command_line_arguments
    thank you

  • Is there a way to define a layer for dynamic objects?

    Hi all. Basically, I'm creating a number of dynamic text field objects in my Actionscript, but it looks like its being rendered on the wrong layer. I've written the actionscript in the first frame of my 3rd layer (which is masked), but the objects that are rendered dont appear to be affected by the masking effect (that does work with static objects). Is there a way to define programatically which layer an object is rendered in? Something like layerNo.stage.addChild(object)?

    first, you have the command 'addChildAt(child, index)'
    thought i'm not sure if that would solve your problem.  in order to mask dynamic text you have to embed its fond, by setting the textfield's property 'embedFonts' to true.

  • Is Apple providing any karaoke service such as selling karaoke software, whole set of karaoke hardware or even karaoke store? If yes, please give me information on this; If no, let me know if there are similar karaoke services providing in the future.

    Is Apple providing any karaoke service such as selling karaoke software, whole set of karaoke hardware or even karaoke store? If yes, please give me information on this; If no, let me know if there are similar karaoke services providing in the future.

    No, Apple does not. What other companies might provide what you're looking for I don't know. Try searching the web for "karaoke software" or something similar.
    Regards.

  • Hi on my old windows pc I could use a program call RECUVVA to recover deleted picturs and files. Is there any similar program for my Imac

    On my old windows pc I used a program called recuvva to when things like picture were inadvertantly deleted. Is there a similar program that i can use on my Mavericks Mac.

    Data Rescue 3 http://www.prosofteng.com/products/data_rescue.php works well and has a free trial.

  • As in R/3 field EKPO-BSTAE is there any similar field in SRM

    As in R/3 field BSTAE is there any similar field in SRM

    I had not found the button for choosing the last hierarcy in the infopackage..

  • Is there any similar field in 4.6??

    hi all,
    i am working for upgrade.
    in 4.7 there is a field named 'EXCLASS' in table DD02V. but this is not there in 4.6 is there any similar field in 4.6??
    pls let me know...
    regards,
    sri.

    I setup logdir,datadir and envdir into different directories with
    the functions set_data_dir and set_log_dir.I created two directories
    under the datadir and created more than 100 sub-directories
    respectively for the two dir, where the 2000 databases located.By the way, even though it doesn't seem likely to be the cause of the
    memory leak, you should still fix this illegal usage of subdirectories
    before we get much further investigating. We might as well eliminate
    any possible source of problem, no matter how unlikely it seems.
    Also, just as an experiment, I would be very tempted to try running
    again without using any separate directories. In other words, don't
    call set_data_dir or set_log_dir at all, and just let everything be
    put into the one single directory. If that changes the results, that
    will be a big clue to help us know where to look for the problem.
    I'am writting a demo , but it take time.
    i will reply later .Thank you. Take your time -- we'll be here.
    Alan Bram
    Oracle

  • Is there a similar function in Edge Animate that is similar to the draw path function in After Effects?

    Is there a similar function in Edge Animate that is similar to the draw path function in After Effects?

    No, I'm afraid not.  However, you can drop a clip from in to out into the timeline and the hit CMD+R and grab the end, changing the length of the clip to fit in the space that you need by speeding up the clip.
    Hope that helps.
    Andy

  • Is there any Similar between Class.forName() and new operator ???

    Plz tel me is there any Similar between Class.forName() and new operator ??? i have been asked this ques in interview

    You probably should have used the other thread:
    http://forum.java.sun.com/thread.jspa?threadID=792678
    To add a little confusion to the matter...Class objects are in fact objects. They're objects representing classes. So, in a sense, I guess, you could say they're similar -- in each you get an object. But in practice Class objects and all other objects should be considered semantically different unless you're doing some pretty unusual stuff. Also Class.forName is more of a factory method than a constructor.

  • Why there is need to define processing code (we41/we42) in Idocs?

    Hi All,
      Why there is need to define the processing codes when we already have defined the processing function for the IDOC type & message type combinations via we57.

    Hi,
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b804043d711d1893e0000e8323c4f/content.htm
    The inbound function module needs to be linked to the message type and the mess type needs to b linked to the appropriate process code at the partner oprofile level before  any scenario is enabled.
    Regards,
    Gayathri

  • Is there a similar file to windows\ssytem32\drivers\etc\hosts in OS X

    Hi,
    I am running a Windows 2003 Server with several websites. I would like to view my websites from my new Imac, however I keep getting prompted for the user name and password for the router.
    In windows on my old computer I could edit the file C:\Windows\System32\Drivers\etc\hosts with the IP address and URL of the site and it would open. Is there a similar file in the Mac OS X 10.5.7 software.
    Many Thanks in anticipation

    {quote:title=Herr Lazaro wrote: > So if /etc/hosts works reliably I'll probably switch to it}{quote}
    Adding host records by editing the /etc/hosts file is not entirely reliably. Since Leopard, some people have reported issues of the added host records "mysteriously" disappearing, or Apache not being able to properly resolve the added hosts. The bigger issue is that the modifications in the /etc/hosts file can create unwanted side effects in the normal functioning of services like the mail server and others.
    Since Leopard, there has been an alternate way to add host records using the dscl utility. In fact, by many, it is considered the better, more reliable, and safer method.
    You can read this recent article to see how its done:
    http://tomafro.net/2009/07/dscl-the-easy-way-to-add-hosts-on-osx
    There are a number of additional articles on the web about using dscl for adding host records to OS X.
    The choice, of course, is yours. If you are using the /etc/hosts file without issue, then it might be safe to continue doing so. But, if your system starts experiencing domain name resolution issues or problems with services such as the mail server, you should consider switching to and using the dslocal database to manage your host records.

  • Is there anything similar to DB13 in a JAVA only stack?

    If I have an isntance that is not ABAP, and only JAVA, is there anything similar to DB13 that I can run?

    No - but you can connect an ABAP system with DBACOCKPIT to the Java instance.
    Markus

Maybe you are looking for

  • Bridge CC constantly re-caching some folders (again).

    My new Bridge CC on Win 7 is repeatedly re-caching thumbnails on some folders. Not all folders, just some, and that is my mystery. I have been doing extensive tests and yet can't determine what it is about some folders or their contents that cause a

  • Known issues running SJSWS 7.0 and WebLogic 10.0

    BEA WebLogic Server on Solaris 10 supports Sun Java System Web Server 6.1. However, it does not appear to support Sun Java System Web Server 7.0. Supported Web Servers, Browsers, and Firewalls: [http://edocs.bea.com/platform/suppconfigs/configs100/10

  • ATTN: Murray (or Al, or Gary) on hover issues...

    (Sorry, that other thread went sour...) I finally have an online version better demonstrating the all-css mouseover effects I've been trying to accomplish. http://www.vilverset.com/test1.html Now you will see 4 columns of identical text (3 on 1 row,

  • 32-digit file names

    A few months ago, iWeb saved a page as "3FB47E52-CFED-4B53-BA68-C76A1D0F4BBC" That was NOT the name I gave it. When I send the link to some folks, they say they have problems with it. (The latest page I did was NOT saved as a 32-digit name). I know I

  • Reinstalling upgrade version of Elements on a new laptop.

    I have version 7 followed by upgrades to version 8 then an upgrade to version 9. Do I need to reinstall all of these od just the upgrade to version 9? Thanks Dave