Test bench - selection of material resources

Hi all

I use TestStand 4.2.1 with LabVIEW adapter (LV 2009).

I'm developing a test sequence which, for the time being, works on the sequential process model and will run later on the model of parallel processes. I also develop OI in LabVIEW for this test sequence. The test involves the use of an EMS and a NISE virtual device (I preferred, so far, using subVIs NISE in LabVIEW modules rather than integrated NISE TestStand facilities).

(1) in order to select the resources of hardware device (EMS reference, name of virtual device NISE, NISE itineraries to be connected, etc.), I have a dedicated module for LabVIEW (VI) who runs first, in the configuration section. It is followed by other modules of "Open & configure ' for each material resource, it is a basic interface (dialogue) with drop-down lists that allow the user to select resources. However, if I want to use the parallel model for 4 DUT, it will display 4 these dialog boxes; also, in each race for each object to be measured, re-displays the dialog box.

My question is: How can I switch handles/references to material to be configured for the IO sequence I'm building in LabVIEW? Should they be passed as parameters to sequence (params) for MainSequence? The operator must select resources only once, when he starts the IO; After that everything should work without needing to select again the device resources.

(2) if I implement the model of parallel processes, how can I access variables of each socket (running in parallel to the test sequence), etc. At this point, I do this by using the 'testbed - Get property"Subvi (from the context of the sequence and the search string to the Subvi). In the case where I have 4 outlets running, how to sequence of each socket context? Or is there another way to access the properties? (I see "ThisContext.RunState.TestSockets" as variables in TestStand... is it a clue?)

Thank you in advance for your help!

Have a great & productive day

Fr. Paul HARFAS
PhD student
University POLITEHNICA Timisoara, www.upt.ro
Faculty of electronics and telecommunications, www.etc.upt.ro
Applied electronic Department, room B114, http://www.ea.etc.upt.ro/
V.Parvan av, no.2, 300223 Timisoara, ROMANIA

Hello Paul,

I enclose an example that does this with a modified version of the Simple OI of LabVIEW. It displays variables in the file Test.seq in a table. This is just an example and must be modified to work with your application. Have a great day!

Best regards

Adam G

Tags: NI Software

Similar Questions

  • How to trigger the test bench to assign the stage = error

    Hi all, I have a LabVIEW VI my sequence step and I have a button give up the user can choose to interrupt the UI VI.  I want the button "Cancel" boolean to pass back to test stand this button drop = TRUE and I want to step in the sequence must be set to "ERROR".  Y at - it a command to send to the engine test bench to mark this milestone as an error?

    Thank you very much!

    Hello

    You can use the following APIs to set the result of your efforts.

    RunState. PreviousStep.Result.Status = 'Error' - this function will set the status of the previous step.

    You can use a stage of "Power adapter" (comes with TestStand), set the result of the previous step using the expression above. You can set a precondition for this step to run only if the Abort button = True.

    or

    runstate.step.Result.Status = 'Error' - this function will set the status for the current stage.

    There are also other values that you can pass for example of 'Success', 'Failure' and 'Jumped'

    I hope this helps!

    Deepak

  • Example of test bench for several elements of e/s FPGA

    Hello

    I'm looking for an example on the creation of a test bench that simulates multiple FPGA of e/s digital lines.

    I went through the tutorial of creation of test benches, but it uses only a single element of I/O.  E/s reading Point Name.vi is obviously an important part of this but I don't know how to structure the VI and assign the name (especially since things seem to get wired upward as if by magic of a single element of IO).

    Pointers to examples would be greatly appreciated.

    Thank you

    Steve

    Hi Steve,.

    Do you mean multiple channels or multiple signals for each channel?  In the tutorial, you have published, you can find the answer for each.

    To create multiple channels, just repeat steps 5 to 9 in section 'Test the FPGA VI on it development with a Custom VI' for your entries and steps 5-7 on the 'Testing out the i/o Item' for outings.

    To create multiple test samples for one channel, you can consult the section "Testing the FPGA VI with a more complex Custom VI".

    Best,

  • interfacing with test bench

    I have an application that uses LabWindows under the MISTLETOE and the testbed as the test of leadership.  I see the function where Labwindows handles the events that triggers test bench.  However, I don't know where events are in my test application.  Where to define the mapping of events between the two applications?

    CalStand,

    More information is available here http://zone.ni.com/reference/en-XX/help/370052H-01/tsapiref/infotopics/app_user_interface_ui_message... and here http://zone.ni.com/devzone/cda/tut/p/id/4532 you can define custom user interface Messages that can be passed to your UI. More information on the inside of the UI event handling on the TestStand Reference Manual http://www.ni.com/pdf/manuals/373435d.pdf 9-17. Who help me?

  • Test bench set property Value.vi - error 97

    I get error 97 test bench set property Value.vi.  I posted my code as an attachment.  AMP - PW FG1 - 1A_SPS.vi is the main VI.  The cluster of error can be seen in the .bmp file.

    Thanks in advance.

    I think that my problem was that I ran the VI outside TestStand.  When I ran the TestStand sequence called the VI, I had no errors.

  • Test bench for myDAQ

    Hi all

    I'm designing a test bench for myDAQ, I implemented using a test of VI for each function in the model of test bench and in the end, I write all these results in a word file. In fact, there is not any specific problem I want that the community please check this test if it needs any improvement specifically to report.

    Thanks in advance for your help and time.

    Concerning

    Omer

    To see a picture (or save) in the largest size, just right click on it with your mouse and click on the first option in Firefox (see the photo or something).

    I am also attaching the control of typedef in 2013 version. BTW, you should use a project, LabVIEW, for your main VI and typedef controls in one place.

    For example, if adding items to your control of the typedef:

    Unbundle the cluster for the creation of report:

    EDIT: finished the missing parts and wires for your VI.

  • Link to serial number USE of test bench with a labview VI

    Hello

    I want to use the number of input series to USE test bench in one of the labview VI of in my sequence so that I can output a few numbers in a spreadsheet, and they include the serial number of the object to measure. Is there a way to link the 2?

    Chris

    (See the attached example)

    Hello

    You can get your serial number using the following search string "RunState.Caller.Locals.UUT.SerialNumber".

    There is an example on the following link:

    http://forums.NI.com/NI/board/message?board.ID=330&message.ID=6938&query.ID=198397#M6938

    Hope this helps

    Concerning

    Ray Farmer

  • material resources of copy/copy/clone VM

    Hi all

    I need help for this scenario and I'll make it simple so that I don't confuse anyone with their answers.

    I have active VM with resources specific to the material by example-RAM 4 GB, 2 x NICs, CPU 1 GHz and HDD is SAN based with 200 GB. I need to copy/copy/clone, according to what is a correct terminology, resources of exact material for another 5 x new virtual machines. The operating system is not important here, as it could be Linux or Windows

    Thanks for your help

    If you use vCenter server, you can simply right-click on a virtual machine and select Clone.  I consider that you are dealing with a host of stand alon and you will not have this option in the vSphere client.  To remedy this, you can do this.

    (1) close the virtual machine

    (2) right click on the data store, and select Browse.

    (3) create a new folder for a new virtual machine.

    (4) copy the vmx and vmdk of your VM file 'model' to your new VM folder.

    (5) right-click on the vmx file to the new VM folder and select Add to the inventory.

    (6) start the virtual machine and make changes to the required guest OS.

    When you turn on the computer, virtual, you will get a message asking if the VM was copied or moved.  Select copy to avoid a problem with MAC address.

  • How to become a good user/punter in Labview & test bench

    Hi all

    Nice day!!!

    I recently started to use OR Test & Lab View.

    I want to know life scope of reviews and NO bench test & Lab, by learning from this what are companies we can only enter/work.

    How to become a gambler in these. Please do the needful.

    Kind regards

    Sivaprasad.CH

    Jigg, I liked your comment about how LabView and TestStand is spelled... lol... Although the word becomes crazy when you put TestStand and LabView for the first time if you add them to the dictionary lol...

    I also agree with Jigg on how LabView has several fields of expertise it is difficult to be good/expert in each of them.

    Is difficult to find a job of TestStand/LabView you 100% that. Usually, what I see is that companies also want to make you a hardware design and know how to ask a panel of the map above to simulate this on spice etc... then you'll do the tester also lol...

    If you join a small consulting company, you'll have for breakfast LabView, LabView for lunch and for dinner Labview and I bet you will learn a lot.

  • How to test different Select into a PL/SQL block?

    Hello

    I'm relatively new to PL/SQL and I'm doing several int selects only one PL/SQL block. I am faced with the fact that if a single select statement returns no data, I have to go to the when exception DATA_NOT_FOUND.

    Or, I would test selects different.

    In an authentication script, I'm looking for a table for a USER ID (USERID) and an ID application, to check if a user is registered under this username for this APPLICATION.

    There are different possibilities: 4 possibilities:
    -Existing USER name or do not exist and
    -Aplication ID found or not found for this particular USER ID.

    I would test teas 4 possibilities to obtain the status of this user do regardin this application.

    The problem is that if a select returns no rows, I'll not found exception data.
    In the example below you can see that if no line is returned, with the exception
    DECLARE
    P_USERID VARCHAR2(400) DEFAULT NULL;
    P_APPLICATION_ID NUMBER DEFAULT NULL;
    P_REGISTERED VARCHAR2(400) DEFAULT NULL;
    BEGIN
    SELECT DISTINCT(USERID) INTO P_USERID FROM ACL_EMPLOYEES
    WHERE  USERID = :P39_USERID AND APPLICATION_ID = :APP_ID ;
    :P39_TYPE_UTILISATEUR := 'USER_REGISTERED';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    :P39_TYPE_UTILISATEUR := 'USER_NOT_FOUND';
    END;
    I would like to first of all make this statement:
    SELECT DISTINCT(USERID) INTO P_USERID FROM ACL_EMPLOYEES
    WHERE  USERID = :P39_USERID 
    Do this if the user is found:
    SELECT DISTINCT(USERID) INTO P_USERID FROM ACL_EMPLOYEES
    WHERE  USERID = :P39_USERID AND APPLICATION_ID = :APP_ID ;
    etc...

    Basically, I don't want to go to the not found exception before you have tested the 4 possibilities.

    Do you have a suggestion?

    Thank you very much for your help!

    Christian

    If you I had to check several conditions, this is how I would do:

    DECLARE
      P_USERID         VARCHAR2(400) DEFAULT NULL;
      P_APPLICATION_ID NUMBER DEFAULT NULL;
      P_REGISTERED     VARCHAR2(400) DEFAULT NULL;
    BEGIN
     SELECT USERID
         , MAX(DECODE(application_id, :APP_ID, :APP_ID)) app_id_valid
      INTO P_USERID
         , P_APPLICATION_ID
      FROM ACL_EMPLOYEES
     WHERE USERID = :P39_USERID
     GROUP BY USERID
    
     IF P_APPLICATION_ID IS NULL
     THEN
       :P39_TYPE_UTILISATEUR := 'NOT REGISTERED TO APPLICATION_ID';
     ELSE
       :P39_TYPE_UTILISATEUR := 'USER_REGISTERED';
     END IF;
    EXCEPTION
      WHEN NO_DATA_FOUND
      THEN
        :P39_TYPE_UTILISATEUR := 'USER_NOT_FOUND';
    END;
    /
    

    not tested

    C.

  • A Telnet session can be passed 1 VI at the test bench

    Test and Lab View, each of my tests open a telnet session, runs a test, close the session and is then repeated in the next step but run a different test.  So I get a pass/fail for each step.

    Is it possible to open a telnet session in the format box test (using a VI created in lab mode) and move this telnet session to another VI in the main area of testbed.  (VI) test steps across would not open a session, saving time.

    Thanks to all who responded.  To solve my problem, I created a VI that opened a telnet connection.  I did that Vi the Telnet on a control that I traced on a connector.  I placed this VI in my SETTINGS teststand.  In teststand, I made the telnet on a variable FileGlobal (called Telnet_Connection).  Then, in the region of the hand of teststand, I place a VI that performs a test on the telnet with on opening a connection.  I did the Telnet in a control and it mapped to a connector in the VI.  TestStand I made the telnet in the same variable as the telnet on created in the Setup program, Telnet_Connection.  Run the test and it worked.  My biggest problem was not knowing not how to create a variable or pass a variable in Teststand.  Thanks again for your help.

  • Software test bench

    Dear friends

    Hi all. I need the version test software. Can someone send the link to download the software.

    Here is the link for trial download.

  • Reports of test bench is more generated

    Somewhere during development stopped reporting occurs. I received them very well until the end of last week. I looked at all the obvious things, but I was not able to solve the problem.

    I looked at the menu: "configure the report Options >" and he seemed well.

    I restarted the installer where TestStand has been altered.

    Can someone help me get the reports running again?

    You should check if the ResultList is correctly filled during execution. So set a breakpoint somewhere in your client of sequences and then go to the variables and watch people in the country. ResultList. If this table is empty, you most likely disabled Result Collection in the StationOptions.

    If ResultList is looking good, you might have a problem in the generation of reports. But you should replace the recall of test report in your customer file?

    Norbert

  • dialog box of LabVIEW poping not upward when you use the test bench

    Hello

    When you run a sequence of test, test calls to the top a labview VI which took there properties defined in a dialog box, and although it is not his position, he sometimes appears behind the screen before test (if minimize you the test screen, you can see the box). If I close all the programs National instruments then re-run the test sequence dialog box will appear before the screen test, but this only seems to happen once.

    Can someone help with this problem?

    Thank you

    Chris

    It seems that you do not use the functions of start modal dialog/end modal dialog located on the TestStand palette. Add them to the end very beginner and even your VI and it should work as you want.

  • VI test bench

    Hello!

    I work with cRIO and I want to simulate signal sine on FPGA of entry. I read this tutorial http://zone.ni.com/devzone/cda/tut/p/id/7445 , BUD I do not understand how to simulate signal sine on my FPGA entry.

    The main problem is how to create a testing ground VI that simulate the sine signal.

    Can someone help me?

    Concerning

    Hello

    Simply add a case more to the structure of e/s point name Structure box. Now you just Analog In0, i/o read readings I/O function on fpga so fundamentally, you must also create the case for AnalogIn1, for example, where you will be the same as for AnalogIn1. Context-sensitive help for the screws in the example can help you.

    Try it, it should work.

    Rostislav Halas

Maybe you are looking for

  • I have two screens; How can I change the screen when Firefox opens?

    Firefox allows to open on my main desktop screen. Now, for some reason, it opens on my screen side that I use for another purpose dedicated, and I always have to drag it to my main screen. How can I keep it there?

  • HP PC (Vista) format without disc

    Hello I have 3 questions. 1. What is the best way to format my HP Pavilion desktop computer (m8325f) without disc? Which option is better a recovery system or a Factory Reset? The PC has been great so far but I need to get rid of junk files, programs

  • BlackBerry Smartphones can only synchronize only Contacts and calendar?

    I wanted to replace my Palm Treo with the new BlackBerry 8310.  With the Palm, I could synchronize my calendar and contacts with Lotus Notes 7 through a 3rd party software without going through courier service.  It does not appear that I can install

  • Presentation of defult on a c40

    I have a c40 tc 6.1.1 running with 2 cameras connected to it it works fine when I use the remote with the device but when I connect cisco touchscreen and try to present the pc he camera of things like the defult presentation sourse. the web interface

  • set an alert period 1st and 15th of each month?

    Hi allCan you please let me know how can I plan a period of alert on the 1st and 15th of each month?Thank youAnil S