Labview Teststand to UIMessage

Hello community,

I made a post in the section of Labview which is also be for Teststand.

I am confused on how to configure the Module ActiveX/COM.

Would you visit this post and help if you can.

http://forums.NI.com/T5/LabVIEW/UIMessage-from-LabVIEW-to-TestStand/m-p/3285436#M960082

Thank you

I think that the best way would be to put a variable in your code that handles the Message in the user interface.  In the image below, I put a random number to StationGlobals.DemoNumber.  You could do this with a string.

Just as a note, I try to avoid to have the information sent to TestStand UI.  It is much more reliable to have TestStand handle this so that you do not have to take into account the execution of different code if you are in the user interface or in the environment of TestStand.

Pulido Technologies LLC

Tags: NI Software

Similar Questions

  • What is the best way to open close, then send instrument labview teststand model handles parallel?

    I have a number of test systems that use a parallel model with labview. We have a number of instruments (PXI).

    What is the preferred method to open, close and passing instrument handles with labview teststand?

    Hello

    A few ways

    1 package return the session as a U32 handle, there are a few VI TestStand i of the palette of TestStand that you can use to make conversation.

    2 through a LabVIEWIOControl. TestStand handles these.

    3 do something fance as the use of LVGOOP and leave the handle as an object property and leave in memory. for example, do not pass it back at all.

    One thing, you'll have to monitor multiple executions trying to talk to the same instrument, use some lock/unlock or synchronization to avoid thi.

    Concerning

    Ray Farmer

  • benefits of on LabVIEW TestStand?

    What are the benefits of on LabVIEW TestStand, why use TestStand? Is LabVIEW alone is sufficient to develop the test sequence?

    TestStand is a SEQUENCER on shelf to create, debug, and run test on the units under test routines.

    LabVIEW is a graphical programming language.

    Essentially, you can write a sequencer customized by using LabVIEW (or other programming languages), but TestStand is already with a lot of flexibility.

    hope this helps,

    Norbert

  • Monitor changes in the value of a variable in a module of code labview TestStand?

    Hi all

    A code in Labview module called from an action step has a particular variable that changes its value when running vi. Is it possible to monitor these changes through for example a local variable in TestStand and display different values on UI in real time via UIMessages?

    Thank you very much!

    You must post a UIMessage during execution of your VI.  As the following picture below, you can ignore the SequenceErrorMessage string and use the value of your variable as the numericDataParam.   I guess the trick is to determine where to display the user interface of Message, in your case, the variable updated at certain times or it he constantly updated?  I'm not sure of the performance LAG if at all times you post a UIMessage say every 100ms.

    On the other end, you will need in your interface user create a reminder of the Interface to manage the UIMessage.  See the following link for more details.

    http://www.NI.com/white-paper/4532/en

    Enjoy,

    PH

  • LabVIEW / TestStand ignores license server settings

    Hello

    I see a rather odd behavior on my computer. We received a new license file to our license server. Once it has been imported, TestStand and LabVIEW used of temporary licenses... I ignored it for a day, but became suspicious.

    The Manager of License tool on my computer detects only the license server and properly displays the access rights for my Suite of Dev (incl. Automated test). LabVIEW and TestSTand can check a property...

    Instead, I get the error message

    LabVIEW development system

    License attempt 1:
    All the available licenses on 'xxx' are currently extracted. (NILM13)
    If you have any questions, contact your license administrator.

    Shows available licenses however License Manager. I already tried to reinstall software of NOR (took awhile...) manually remove, add license server information. I'm getting a little desperate / annoyed.

    Any ideas?

    See you soon

    Oli

    Fixed a problem.

    After the stop & a few reboots of license server, my license works again.

    Seems, it was a "personal matter" between me a license, since only my license server refused to work...

    Enjoy the weekend!

    Oli

  • Convert a name cluster Labview Teststand container name

    Hi all

    I realized that day that there is no way to convert a Labview

    cluster in a container of Teststand and vice versa. So I'm currently

    work on a cluster/container recursive parser that would be

    rebuild the structure of mirroring in variant/PropertyObject

    tree. For this I use the following table:

    http://zone.NI.com/reference/en-XX/help/370052N-01/tsref/infotopics/labview_data_types/

    The problam I am now facing is to convert the name of each

    ELEMENT by its name to stay compatible with the

    the structure of mirroring. That's why no space or special characters

    to follow the naming convention Teststand. You can

    See what happens when you create a custom data Teststand

    Type a connector for Labview.

    So, is there a VI that do the trick, or am I still pruposed to do

    Everything by hand? Thanks for your comments. Even the one who

    will not make me happy.

    David Koch

    Abandoned project, topic closed:

    http://forums.NI.com/T5/NI-TestStand/enqueue-TestStand-cluster-to-LabVIEW-return-a-cluster-by/m-p/30...

    David Koch

  • How to send a variable for Labview TestStand?

    Hello

    32-bit Teststand 2014

    32-bit Labview 2015

    Not sure if a matter of Labview and Teststand.

    I created a simple labview VI that has an indicator of success/failure.

    I created a simple teststand when having a success/failure of test with the labview VI as the file.

    I have a labview GUI that runs the teststand sequence and indicates if the sequence whole success or failure as a popup message.

    I have disabled reporting teststand.

    On the labview GUI, how can I show an indicator that my test pass/fail success or failure after the step of the sequence is over?

    If this can be done during the execution of the sequence, then how to display an indicator that my test pass/fail success or failure after the entire sequence ends?

    For example,.

    If I run two digital tests in my sequence. 24VDC testing and other tests of 3.3Vdc. After the execution of my order, I invite myself just at the end if the two tests either success or failure. However, if a test fails I will not be able to know the man who. I want to be able to tell which test failed with an indicator on my labview GUI and not a teststand generate report.

    I'm not sure if it's something to teststand I need installation with local variables or elsewhere in labview. I don't have a whole test report, I want to just the user to see an indicator that a particular functionality test adopted during the teststand sequence.

    Any help would be greatly appreciated.

    Thank you


  • Enqueue cluster for Labview Teststand, return a cluster by notification

    Hi all

    I get very very frustrated that I can't find a way to spend

    an asynchronous VI with a cluster of Teststand reflecting a LV

    cluster using a queue.

    This works if wire you the cluster Teststand for the VI is there

    an order appropriate to link to. Yet, the VI has no

    Connector, he expects that a cluster in queue, read of the

    PropertyObject by 'GetValVariant', do some magic

    and is supposed to return another cluster using Teststand

    a notification

    I can read singular elements of the cluster in queue, but cannot

    Run in a cluster of LV with, say, the good old 'VariantToData '.

    which indeed works great inside LV

    Same thing happens when I try to regain a Teststand cluster

    using 'SetValVariant' even if both the Teststand cluster

    and the cluster of LabView are the same format and structure.

    The 'Wait' Teststand notifier action is linked to the right cluster

    property, but Labview fails at the "SetValVariant", because not of

    the right type, even if I have sunk the variant data.

    I wonder if I do wrong or Teststand and Labview

    are simply not designed to work together seamlessly.

    Here's the example I'm putting in place, but the reading of the

    cluster fails, while the alternative 'False' works (123.00)

    Defining the notifier cluster fails too, but its definition the

    elements indivualy also fails because Labview is

    What are 'Compliance' and 'Comments' in

    the 'True' alternative, although I tried all

    hierarchy tree.

    You might have figured out, but I really really need to

    get this working, and I can't understand where the

    default is (next between the Chair and the keyboard) because

    the principle works in LabView.

    David Koch

    Okay guys, I give up all hope, that I had to do this work.

    This is a WIP Teststand container/Labview cluster motor relay.

    TestStand 2013-> TCS_main_2.0.4.seq (run TCS_teststand_2.0.0.vi)
    LabVIEW 2013-> TCS_teststand_2.0.0.vi (run TCS_instruments_2.0.0.vi)
    LabVIEW 2013-> TCS_instruments_2.0.0.vi (interface instruments)

    The main idea was to catch Teststand queued of containers,
    convert a Variant, to analyze their structure and
    to match with their counterpart of cluster of Labview.

    The engine is initialized to 'learn' the Labview
    data structures, storing the data type and the names of the clusters
    different elements, as well as the cluster hierarchy.

    A format of target data type and an associated action are also
    stored for each identified cluster/container.

    Then the engine is waiting for incoming Teststand queue
    containers, convert them to a Variant, to analyze their
    structure and * TRY * to match with the stored
    having been analyzed Labview homologous groups.

    This is what I call the "footprints".

    The three main problems were... are:

    1 - different naming convention (TCS_string_teststand_name_convert_2.0.0.vi)

    2 - format of different data type (TCS_variant_tree_convert_2.0.0.vi)
    3 - different (TCS_propertyobject_tree_parse_2.0.0.vi) data structure

    I think I was very close to resolving these issues, but I'm
    short on time. As an entrepreneur, I've spent
    more than a month of work on this value. Who is
    too many given my dead line.

    I'm quite sad to be leaving this unfinished, he would have
    was great to get the motor relay pole upward and
    running, having just to place a container Teststand
    to get something done automatically at the other end
    and just wait for a notification sent for analysis.

    What's left to do is the following, as an exercise
    left for the reader:

    To "explode" the data structure to correspond to of Teststand "
    still more verbose simpler data format

    This means for example that a Labview wave have to
    be transformed into a cluster of 3 datas. You can read the
    suite of document, but it is not very clear on how
    The LabVIEW data type formats are converted to their
    corresponding Teststand counterpart:

    http://zone.NI.com/reference/en-XX/help/370052N-01/tsref/infotopics/labview_data_types/

    Beware, this involves a lot of trial and error, as
    creating a large Labview cluster with all data
    type of support, import it in Teststand and create
    a custom, data type and then compare each converted

    a data type.

    B point A would improve the adequacy between Teststand
    containers and clusters of Labview.

    With a longer data structure mirrored, it will indeed
    help 'TCS_fingerprint_search_2.0.0.vi' to compare
    the structure of the Teststand container with the correspondent
    LabVIEW cluster structure, the elements names
    Always different Convention.

    Conversion of data format C - needs to be done, place holders
    are ready to be filled.

    There are still a lot of work to do in 'TCS_variant_tree_convert_2.0.0.vi '.

    Remember that the type of data "FileGlobals.tcscluster".
    mirrors (wise Teststand) the 'TCS_instruments_2.0.0.ctl '.
    type definition.

    This means that a string has not transformed a waveform.
    Data format should be very close to each other. That's why
    There is no need to focus too much on these "exotic" data
    format conversions.

    Thanks again to all the people who have invested some time
    in trying to help me solve this issue.

    Thanks to nathand for its cluster monitor not recursive.

    David Koch

  • View of execution in labview testStand

    Hello world

    I would like to customize execution of TestStand view or do something similar in LabVIEW. (Better way would get the info that TestStand uses to build this view)

    The reason why I don't want to use the view of the execution of TestStand is there is too much info for some customers and I want to just post some info.

    What would be the best way to retrieve this information programmatically?

    I tried to use invoke nodes to customize the view of the execution, but it seems that it does not work at run time, nor do I have access to everything I need.

    Best regards

    Roderic

    PS: I am particularly interested to get the name of the step and State and get the location of the arrow if possible

    The best thing to do would be to customize the view of execution using the stage list configuration settings. You can see the effects of this use of the sequence editor or a full user interface. Right click on the list of steps and choose the option "List step Configuration" in the menu. I'm sure that you can remove all the columns, but the name and status. Alternatively, you can do things to a level below if you want, but it's a little more complicated than you probably think. You will need to manage the UIMessageEvent on the Applicationmgr and manage the trace message and get the first context of sequence of the thread associated with this message and then check index previous step if it is not - 1 then get the previousstep property and get what you want from that, then use the next step index and the current group of step on the context of the sequence to determine at what stage will take place then (if there is one). He is a bit of code have as rich a display as the sequence view control provides.

    Hope this helps,

    -Doug

  • From the telnet session between calls of LabVIEW, TestStand

    TestStand, I'll call telnet.llb VI.

    In a step TestStand am opening a telnet session to IP address and the collection of the telnet (U32) connection. In the next step of TestStand, I pass the telnet connection to a telnet writing VI, but this error occurs.

    "Dequeue item to acquire Semaphore.vi:1-> Write.vi:1-> Telnet Write.vi.ProxyCaller Telnet"

    The telnet open, write, read and close the excellent work if I get the number of telnet in the same VI session. But I need to keep the session open between TestStand calls because a huge VI is not possible.

    Thank you

    Josh

    Verify that your adapter for LabVIEW has reserved the execution. If it is already, I don't know, you may need to create a parallel thread that keeps the session active.

    CC

  • How to pass data to LabVIEW teststand Hex

    Hello

    Is it possible to pass data Hex Teststand to a LabView VI.

    In the column 'Type' of the Module tab on the stage, I only have the options "ASCII" or "binary string".

    What I need to change my VI to take the hex data, or can I change the Type of TestStand so that I can enter the Hex data

    When I enter the Hex data directly in the VI, it works fine.

    Thank you

    Sound advice from Omar! If you decide to follow this method, here's a useful KB...

    How to convert between hexadecimal and ASCII in LabVIEW

    http://digital.NI.com/public.nsf/allkb/894CF5FE064971BF8625758400014993?OpenDocument

  • LabVIEW Teststand vs

    Hi all

    I have been using the LabVIEW for last two users in the development of Machine Vision applications. I have the following questions on my mind,

    1. I would like to know what is the test bench.

    2. where it can actually used.

    3. is the development of the vision can be done using that.

    4. What is the advantage of this on LabVIEW...

    Waiting for answers...

    Thank you.

    Hello

    TestStand is a test sequencer whose engine is accessible through a powerful API, so you can run and manage sequences TestStand (files *.seq) of many different languages of programming and development environment.

    Basically, you create (or use) your own operator interface to run or modify your sequences, these sequences are made of different steps that are to call an external component such as VI in LabVIEW, made with LabWindows/CVI or Visual Studio DLL and even the .NET assemblies. All these external components can run routines that will affect the material (for example, to check if a motor continuous moves according to the set point, you set).

    You can then check if the tests pass of fails and then automatically modify a report.

    You can't compare LabVIEW and TestStand, they are not made for the same purposes. You can see LabVIEW as an "add on" for TestStand way...

    Kind regards

  • To a result NULL of Labview TestStand to a type of digital test limit.

    Hello:

    I am looking for a way to pass a null value as a result in a limit test multiple digital test type.  My tests are written in Labview.

    The tests now pass a value of '-' 999 to TestStand to signify that this measure has not been made, but this requires additional processing and code in our data analysis tools.  Passing a value zero would simplify the tool and reduce the workload.

    Thank you

    Mike

    You can switch NaN instead.  At least, I think you can.  TestStand supports NaN, but I never spent through Labview adapter, so I'm not 100% sure if it will work.  NaN is treated in tests limits labview as follows (hat tip to James Grey here):

    (NAN > x) == false
    (NAN == x) == false
    (NAN< x)="=">
    (NAN == NAN) == true

    I don't know how it would be dealt with when writing a good database.  I guess it depends on the data base and values of what digital special supports.  A quick search shows that NAN (not sure if he would lift an error or that) does not support Sybase, MySQL stores NAN as NULL in numeric fields, SQLite stores NAN as a special string code, Access stores in the form of NAN.

    So you should always write a step for translate NAN for NULL values, but I think it would be easier to write and maintain than an arbitrary number.

  • does anyone have a good recommendation for a voltmeter of PoE that can be integrated into Labview/TestStand?

    I started looking for a voltmeter of PoE, but so far all the ones I've found are for use of the mobile hand held.   I'm looking for a version that can be integrated in an automated production environment.

    Can someone point me to a voltmeter of PoE who has control USB or ethernet.   Ideally with Labview drivers. But if I do these myself I'll be okay with that.

    Unfortunately, I've not seen anything quite like that around. The closest I could find was the PoE3N-reach technology RT, which looks like it might have connectivity RS-232.

    Another option might be to type the tensions of the ESP and read those who use a more general tool as a DMM device or data acquisition. Something like the POET systems-FM-1. Maybe something like this work?

    There may be someone on the forum who is more familiar with POE that I am, but that's what I was able to dig up.

    William R.

    National Instruments

  • How to extract file with LabVIEW Teststand global variables

    Hello

    My goal here is to extract all the contents of the global variables for file (names and the value of any types) in a sequence of my LabVIEW UI file.

    For now, I can only open a file of sequence of LabVIEW and get the number and the names of the variables (cf. vi) attached.

    But if my variable is a container, I would like to know all the contents of this container (and so on) and I don't know how to do it.

    In addition, I have to extract the value of variables that I don't know the type in advance...

    Can you help me?

    Thank you.

    Well I finally used the method "GetNthSubProperty" to work on each variable and I use the property 'Type' to know if it's a number, string, boolean, or a container. If it is a container, I repeat the process at a lower level... (see attached vi)

Maybe you are looking for

  • I want to turn the spelling checker in Waterfox, but the method for Firefox does not work?

    I added my language in the options and set it as your preference and ticked "check my spelling as I type", but I KEEP getting the spelling English-Checker when typing on a certain forum. And I type in Dutch, so it is very difficult to read with almos

  • Replacement ink cartridges

    In early April, I bought a 6500 all-in-one to replace a 7410 with a broken paper tray.  During the operation I was given an address in Boise (Idaho) where I could send unopened to the 7410 cartridges and receive equivalent cartridges for the 6500.  O

  • card xD-picture card

    How can I use an xd-picture card, I have a dell studio 1536

  • Installation of a 32-bit 64-bit compatible software

    I have windows vista 64-bit. I want to install software that can run vista 32 bita and editions of XP. Is there a way I can install this software on my computer?Thank you

  • 6.0 touch event propagation problem

    I was wondering if anyone has seen this behavior: When you tap the radio button on the torch, the radio button actually called navigationClick method as well as the touchEvent reminder screens...   This navigation click returns with status equal to 0