Select Switch Executive road based on Socket Index

Hello

I have a created in TestStand sequence that tests simultaneously up to 4 of the UUT. In order to run a current measurement, I need to be able to spend each device through the DMM. I have properly configured routes the Swith Executive, and everything works fine when I go manually by using the feature of Test Panel. What I have to do now is however, to choose which device is routed to the digital multimeter based on its test socket number.

Yes, for the 'measurement current"test step on" 0 "shooting, I go to properties > window and simply select"Connect_UUT0"from the route of switching group.» This works great for a single test taking, but how can I dynamically switch road when I have more than one object to measure?

I am aware of the "RunState.TestSockets.MyIndex" variable, but I can't choose a route on this basis. That is to say: in 'Routes connect', I typed "Str (Connect_UUT) + Str (RunState.TestSockets.MyIndex)" after that I saw a similar solution on this forum, but I just get an error.

I was really appresciate help about it,

Thank you

Kevin

Hey Kevin,

You must make Str (Connect_UUT). Probably, you get the error because it attempts to interpret the Connect_UUT as a variable instead of a string. Try this instead:

"Connect_UUT" + Str (RunState.TestSocks.MyIndex) ".

I think that will work, but let us know if you encounter any problems more!

Tags: NI Software

Similar Questions

  • Is it possible to get programmatically the end points of a Switch Executive road connected in LabVIEW?

    I am writing an application for plotting of curve for evaluation of ASIC devices and should link all of the pairs of pins possible to do this. I use the main switch to load in the roads, there is a specific ASIC and want to get programmatically the end points of the current road for insertion in the logging system. Is this possible?

    Thank you

    Nick

    It can be an adventure, but you can get there.

  • Problem with NI Switch Executive - test Panel

    NI Switch Executive - Test Panel, I connect routes I created previously, which are then displayed to connected, without error. However, the corresponding relay is not activated (what I mean by monitring DMM). Using NOR-SWITCH Soft Front Panel, I can make the same connections and everything works fine, no idea why connections are not deployed in the Test Panel?

    Here is what I use:

    PXI-1033 on a PCIe bridge

    Matrix 4 x 32 PXI-2530 switch on slot 3

    PXI-4071 DMM on slot 2

    Hi DeadMeat,

    Looks like the NI PXI-2530 is simulated in the IVI configuration.

    OR Switch devices Executive virtual peripheral references by their logical names.  Each logical name to a Session links pilot Max (Measurement & Automation Explorer).  A setting in the pilot Session allows you to simulate a device.

    I recommend to open MAX, expand the IVI Drivers > driver and check the general tab that the fake it with the drop-down list selection is set to do not simulateSessions.

    I hope this helps!

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Connecting two pxi-2527 with NI Switch Executive

    Hello world

    I want to build a test equipment to measure the resistance of the wires. My stock of material contains two cards-MUX pxi-2527 and a pxi-4070 DMM. Each pxi-2527 is connected (via a TB-2627) of a cable harness of the 26 son (name of the harness "6YDA" and "6YDB", see photos).

    The two beams is absolutely equal in the Assembly and naming (for example the sons are named from A to Z).

    First of all, I want to set up a self test function. For this purpose an adapter was built to connect the two cables to driver.

    The adapter connect cable A to the first harness with cable A second son, the first B b to the second and so on.

    For the auto test, simply measure the resistance of adapted connections 26.

    Now I tried to create a virtual device with roads and routegroups via Switch Executive and insert it in my LabView 2009 program.

    But I m not sure if my virtual device is correct. (See pictures attached)

    Unfortunately I have not found an example on the connection of two cards-MUX pxi-2527 together, I need your help.

    I would be very happy to get help from you!

    Thank you very much!

    Greetings,

    E Tec

    Hi E-Tec,

    Looks like you have already setup the roads and the routegroups in SwitchExecutive.  Now let's launch LabVIEW and make some magic; Some examples of code that will test each routegroup:

    The first thing we need to do is log on to your virtual device:

    Then, you must configure our DMM and call certain route groups:

    I made many assumptions on what we are trying to accomplish.  My code does the following:

    1. opening of the session for your named virtual device.

    2. the opening of session for DMM... it has more parameters I have hidden for clarity.  See DMM examples in help"Find examples | "" Material input and output"modular instruments and devices" NOR-DMM ' unique measures ' measure resistance if you want to see the entire feature set.

    3 close your RouteGroups one at a time, measurement of resistance, opens the Routegroup, then measure resistance again.  I put only the first 5 routegroups in this code.

    Which should help you get started.  Sorry to expect if a long time keep .  Have a great day!

    John Sullivan

    Switch Product Support Engineer

    National Instruments

  • Virtual Excel file import NI Switch Executive device problem

    When I try to import OR switch Executive configuration to a file .xlxs error

    "An error occurred trying to read the file. Invalid device name «THIRD _PARTY_MATRIX» IVI "An error occurred while trying to access primary device _PARTY_MATRIX error THIRD: (Hex 0xBFFA4001) unknown status code.

    is displayed. I have no problem importing OR switch configuration Executive in .xml format! Can someone tell me why? Please, I beg you!

    I use a switch

    Executive 3.0

    Measurement and Automation Explorer worm 4.5.0f0

    LabVIEW 8.6.1

    Thank you very much

    Hi Mehran,

    Thanks for providing the attached files.  I have determined that the cause of the problem may be due to a setting of simulation of IVI.

    Currently, your IVI Driver Max sessions are configured so that simulate attribute is set to False.  This means that real hardware must be connected when opening a session IVI instrument.  If you do not have the hardware attached, then the call to initialize IVI fails (and potentially bad, depending on how the IVI specific driver manages an init call without hardware).

    Import the NI Switch Executive configuration in .xml format does not cause a problem because simulate is always set to true in the call to initialize of IVI.

    We will consider changing the import Excel in the future to also have always simulate the True value.  Time, you can a) check the hardware is connected when you import Excel, or b) set the value "Simulate with" Max to 'Specific Driver' applicable IVI pilot sessions.

    Example of setting "with"to simulate 'Specfic Driver' of MAX:

    Let me know if you have any other questions!

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Switch Executive stops working after LabVIEW 2009 installed.

    I just installed LabVIEW 2009 and now Switch Executive 3.0 does not work.

    NISE open session vi returns 0 instead of the valid session ID. It does now with LabVIEW 8.6.1 too.

    Everything looks OK in MAX.

    Any suggestions?

    Hi Pirkola,

    I'll try to replicate that.  I understand it is a returned 0 for a session ID.  Is there an error returned as well?

    Thank you!

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • How to find the bpel instance in 11 g based on the index values

    We have 10 GB BPEL processes where we define the 4 index values for all instances. Whenever the support request comes, ask us the values of index and based on what we're looking for the process instance.

    We have now migrated bpel 10g and 11g process. How to find the bpel instance in 11 g based on the index values?

    You can go there. http://soasphere.blogspot.com/2011/04/how-to-Serch-composites-for-index.html. Do a join on the cube_instance and ci_indexes tables.

  • boolien use of case selection switches

    Hi all

    I want to use the switches of boolien for the selection of cases in triggered mode. I mean I have a 4 switches (like lock mode when you press the trigger) when I pressed and released the button a case corresponding to the switch to be executed, but the structure of the case is able to work only with simple switches and selectors ring (but not with combinations of different States). I tried with Combinatorial logic gates, but it increases the complexity nothing else.

    some body help me to do so.

    You can use the Boolean value like this

  • Switch executive to relay information

    The IVI driver, I create and I want to show to relay information in the table of NISE Virtual Device relay Information. Is it possible that do or is this avilable only options OR switch?

    Hello

    you are referring to the list under the Executive virtual device switch where it evokes the table to relay Information for each selected unit.

    Most of the switches OR have an on-board EEPROM, which maintains a list of switches and their number of interactions. The driver of the IVI for material OR is niswitch, and the function to retrieve the number is niSwitch_GetRelayCount.

    Unfortunately, this isn't a standard appeal IVI - C (more than one extension), so unless you try to do that within your DLL (according to the standard the prefic name IVI) then it will be limited to how works the OR material and its API.

    Sorry

    Thank you
    Sacha

  • Merge stmt tries to insert two copies while the clause is based on the index

    Hello

    I use a merge statement to insert the record in a table. The table has a unique index based on four columns. The merge statement matches on all four columns (a.column1 = b.column1 and a.column2 = b.column2... etc) in clause ONE. If a match is found then it does nothing if it is not found corresponding record is inserted.

    But for some reason, it attempts to insert duplicate and I'm getting exception violated a unique constraint.

    The database is huge and the source table contains more than 200,000 records.

    No idea how this can happen?

    How can it happen?

    Easily if there is a duplicate in the data you want to merge, keeping in mind that this is an operation based on a game with the two sets of data that are evaluated using the standard model consistency to the beginning of the query.

    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    
    SQL> DROP TABLE t1;
    
    Table dropped.
    
    SQL>
    SQL> CREATE TABLE t1
      2  (col1 NUMBER PRIMARY KEY);
    
    Table created.
    
    SQL>
    SQL> MERGE
      2  INTO  t1
      3  USING (SELECT 1 x
      4         FROM   DUAL
      5         UNION ALL
      6         SELECT 1
      7         FROM   DUAL) x
      8  ON    (x.x = t1.col1)
      9  WHEN NOT MATCHED THEN
     10         INSERT
     11         VALUES
     12         (      x.x);
    MERGE
    *
    ERROR at line 1:
    ORA-00001: unique constraint (ROS.SYS_C0088944) violated
    
    SQL> rollback;
    
    Rollback complete.
    
    SQL> MERGE
      2  INTO  t1
      3  USING (SELECT DISTINCT x
      4         FROM (
      5            SELECT  1 x
      6            FROM   DUAL
      7            UNION ALL
      8            SELECT 1
      9            FROM   DUAL)) x
     10  ON    (x.x = t1.col1)
     11  WHEN NOT MATCHED THEN
     12         INSERT
     13         VALUES
     14         (      x.x);
    
    1 row merged.
    
    SQL>
    

    Published by: DomBrooks on January 15, 2010 09:36

  • How to optimize the select query executed in a cursor for loop?

    Hi friends,

    I run the code below and clocked at the same time for each line of code using DBMS_PROFILER.
    CREATE OR REPLACE PROCEDURE TEST
    AS
       p_file_id              NUMBER                                   := 151;
       v_shipper_ind          ah_item.shipper_ind%TYPE;
       v_sales_reserve_ind    ah_item.special_sales_reserve_ind%TYPE;
       v_location_indicator   ah_item.exe_location_ind%TYPE;
    
       CURSOR activity_c
       IS
          SELECT *
            FROM ah_activity_internal
           WHERE status_id = 30
             AND file_id = p_file_id;
    BEGIN
       DBMS_PROFILER.start_profiler ('TEST');
    
       FOR rec IN activity_c
       LOOP
          SELECT DISTINCT shipper_ind, special_sales_reserve_ind, exe_location_ind
                     INTO v_shipper_ind, v_sales_reserve_ind, v_location_indicator
                     FROM ah_item --464000 rows in this table
                    WHERE item_id_edw IN (
                             SELECT item_id_edw
                               FROM ah_item_xref --700000 rows in this table
                              WHERE item_code_cust = rec.item_code_cust
                                AND facility_num IN (
                                       SELECT facility_code
                                         FROM ah_chain_div_facility --17 rows in this table
                                        WHERE chain_id = ah_internal_data_pkg.get_chain_id (p_file_id)
                                          AND div_id = (SELECT div_id
                                                          FROM ah_div --8 rows in this table 
                                                         WHERE division = rec.division)));
       END LOOP;
    
       DBMS_PROFILER.stop_profiler;
    EXCEPTION
       WHEN NO_DATA_FOUND
       THEN
          NULL;
       WHEN TOO_MANY_ROWS
       THEN
          NULL;
    END TEST;
    The SELECT inside the LOOP FOR cursor query took 773 seconds.
    I tried to use COLLECT in BULK instead of a cursor for loop, but it did not help.
    When I took the select query separately and executed with a value of the sample, and then he gave the results in a Flash of a second.

    All tables have primary key index.
    Any ideas what can be done to make this code more efficient?

    Thank you
    Raj.
    DECLARE
      v_chain_id ah_chain_div_facility.chain_id%TYPE := ah_internal_data_pkg.get_chain_id (p_file_id);
    
      CURSOR cur_loop IS
      SELECT * -- better off explicitly specifying columns
      FROM ah_activity_internal aai,
      (SELECT DISTINCT aix.item_code_cust, ad.division, ai.shipper_ind, ai.special_sales_reserve_ind, ai.exe_location_ind
         INTO v_shipper_ind, v_sales_reserve_ind, v_location_indicator
         FROM ah_item ai, ah_item_xref aix, ah_chain_div_facility acdf, ah_div ad
        WHERE ai.item_id_edw = aix.item_id_edw
          AND aix.facility_num = acdf.facility_code
          AND acdf.chain_id = v_chain_id
          AND acdf.div_id = ad.div_id) d
      WHERE aai.status_id = 30
        AND aai.file_id = p_file_id
        AND d.item_code_cust = aai.item_code_cust
        AND d.division = aai.division;         
    
    BEGIN
      FOR rec IN cur_loop LOOP
        ... DO your stuff ...
      END LOOP;
    END;  
    

    Published by: Dave hemming on December 4, 2008 09:17

  • What is the NI Switch Executive advantage? Nothing wrong with using this product?

    Hello

    We are looking in using the software OR go Exec to integrate with our switching matrix. This layer NOR seems to work well with TestStand and many apparent advantages. For our project, this includes not having to write several subsequences in: connect a DMM, read a DMM and tell DMM for hundreds of signals. It could do everything on one step of this exact, main - sequence? How to do that? We would like to know some of the disadvantages of this approach before we get too far down the road.

    Thanks in advance!

    Al


  • Mapping of ports of the blade and Powerconnect M8024 - K Ayala switch 1 GB based Trunking

    Hello world

    Nice day!

    We have a recent deployment of server blade to one of our customer and we met a challenge regarding the following:

    -How are we going to map the internal blade to the Powerconnect M8024-K NIC. Port 1-16 is for VLAN 1000. PowerConnect M8024-k is configured with module additional uplinks (GB 2 x 10 base-T). What is the module has the ability to auto negotiate to 1 GB. We want to use this port for connections to the switch avaya 1 GB Ethernet based. The port of internal network to blade port 1-16 must go through this port goes to the external network (switch Avaya)

    -Do we really need to configure for this port. Is 10 GB base-T port has the features of auto-negotiation up to 1 GB

    Thanks for your help

    copilot0929

    Here are some documents that detail the M1000e IO options and internal correspondence of ports.

    http://Dell.to/18bLMEg

    http://Dell.to/1KqY1ux

    The M8024k will automatically negotiate 1/10 GB for all internal ports. SFP 4 external / SFP ports + are has several ports support 1/10 GB speeds. The external ports also need a transceiver that supports the speed you want to use.

    VLAN tagging is used when needing to send traffic to several VLANs over a single connection. If everything on the chassis will be in the same VLAN, then you should not have to put in place a trunk. But if you need the chassis to participate in several VLANs, so it is better to configure the VLAN Trunk on that connection.

  • Select the Tunnel-Group based on OS devices

    Hello

    having an ASA5512x is possible to have anyconnect-dial-in-PC-users asking their IDs AND also a one-time-password

    Whereas smartphone users only need to provide their username and a password without the need to manually select the profile?

    I've set up two groups of tunnel:

    (1) requires an LDAP server for authentication

    (2) is in contact with a RADIUS server running the software One Time Password.

    Is it possible to have the asa affect smartphone users (based on their OS) that it automatically uses the first profile (which has limited access to the resources of the intranet) and Anyconnect-PC-users pinned to the second category of tunnel? Dynamic access policies seem to be able to differentiate only ' in' a tunnel-group.

    Thank you very much!

    Kind regards

    David

    I never tried this way, but if it does not (as I suspect) there is a solution:

    1. Point your customers on the two different groups of tunnel with the help of tunnel-group-URL.
    2. Later in the DAP impose that the customer does not use the wrong tunnel-group.
  • change the field type selection list of text based on the data in the other domain.

    Hello

    We have a requirement where we are looking to display the page as element select list or a free text field based on the value of the item to another page.

    Say, we have two fields

    Day:

    Products:

    If day = 'Monday' produced a drop in low field of another product would be a free text field.   Is this possible in APEX?

    This is the configuration I did.

    I used the field produced twice (as a text and list field select) as an element of a page., dependent on the value of the day I used the dynamic properties of actions to show/hide these fields.

    However, when I click on submit, it throws an error:

    ORA-06550: line 1, column 108: PL/SQL: ORA-00957: name of column in double ORA-06550: line 1, column 13: PL/SQL: statement ignored


    Kind regards

    Satya

    You can have both share the same database column, the process of the APEX DML does not know how to consolidate.

    You will need to add a calculation and determine the real value based on two fields, up to an only one mapped to db.

Maybe you are looking for

  • 'Save as image' in Word 2007

    In most Microsoft Office applications, you can click on the image and choose "Save image as" to save this image to your hard drive. I can't find this option in Word 2007. Someone knows how to do? Only thing I know is to copy the image to the Clipboar

  • El puerto tcp 65432 aren't alcanzable por emule 0.50

    Tengo windows 7 e wont emule 0.50 pero presenta problemas coneccion cuado conecta a port a server appears the leyenda 65432 your is not accessible. Please consult your network config.¿como arreglo esto

  • Installation of blackBerry to a standstill in Blackberry Smartphones

    I bought 'Memory Eye' Blackberry Apps for my blackberry 8900, 2 days ago. It installed and seems to work, but now "Blackberry App World" (the application on my blackberry) its listed as always install. It has the black and green line, resembling his

  • BlackBerry Smartphones calendar in Microsoft Outlook synchronization

    I use Outlook 2000 on windows XP.  I try to sync my bb to the calendar only.  However it is not upward to aid the option Outlook to highlight.  I copied the screen below as an example.  You can see that Microsoft Outlook is an option here.  However o

  • the printer does nor print with photoshop cc 2015!

    does it mean that when I try to print and choose my options, the printer back to the default and do not print