Configurable custom test types

Hello

I'm doing a type of custom step that works like the limit works in test limit digital ex.. What I want, is a new component called "Test" with 1 field shall be amended by the insertion of a variable or just an exodus of value 2 as you can do within the limits of Tap, I did a step where you can change this by clicking on a button that opens a LabVIEW vi and from there you can change I'm looking for is to make sure you can change it without having to open LabVIEW test bench as well so that you can insert a variable...

Attached is a picture showing what I want...

Marck H Hansen

Marck Hello,

At the moment there is no official support for this feature.

I recommend to visit this idea http://forums.ni.com/t5/NI-TestStand-Idea-Exchange/Ability-to-create-user-built-in-StepTypes/idi-p/1...

and fire a kudo to her...

Concerning

Jürgen

Tags: NI Software

Similar Questions

  • DLL custom data type

    I try to use a DLL in LabView that talks about an acquisition card. One of the functions requires a custom data type (MID2250_MDConfig_t) that LabView does not support by default. It is defined in the C header file as follows:

    typedef struct
    {
    int CoordsX;
    int CoordsY;
    } MID2250_PointCorrds_t;

    typedef struct
    {
    MID2250_PointCorrds_t ULPoint [4];
    MID2250_PointCorrds_t BRPoint [4];
    unsigned short u32SADThresholdValues [4];
    unsigned short u32MVThresholdValues [4];
    unsigned short u32SensitivityValues [4];
    } MID2250_MDConfig_t;

    Is there a way I can integrate this data type in LabView correctly. I saw people talking about wrapper dll on this forum but I'm a bit confused as to who. Can I create a similar cluster in LabView and pass it to the function using "node of the library call?

    abdel2 wrote:

    I try to use a DLL in LabView that talks about an acquisition card. One of the functions requires a custom data type (MID2250_MDConfig_t) that LabView does not support by default. It is defined in the C header file as follows:

    typedef struct
    {
    int CoordsX;
    int CoordsY;
    } MID2250_PointCorrds_t;

    typedef struct
    {
    MID2250_PointCorrds_t ULPoint [4];
    MID2250_PointCorrds_t BRPoint [4];
    unsigned short u32SADThresholdValues [4];
    unsigned short u32MVThresholdValues [4];
    unsigned short u32SensitivityValues [4];
    } MID2250_MDConfig_t;

    Is there a way I can integrate this data type in LabView correctly. I saw people talking about wrapper dll on this forum but I'm a bit confused as to who. Can I create a similar cluster in LabView and pass it to the function using "node of the library call?

    Since the tables are all fixed size (and not huge), they really are inline in the structure. This means that you can simulate a cluster containing many elements inside because it is the elements of the array. The first Point of the UL would be a cluster containing 4 cluster with each two int32 in it. Ditto for the second element. The third is a cluster with 4 uInt32 and so on.

    Then configure the setting to adjust the type and thread this cluster, and voila.

  • Where to define new custom data types?

    Hello

    In the past (TS 3.5) I created our own range of custom type file that has been used

    to store the new data types and then referred the case to other colleagues. The file would be

    stored in the ...\Program Files\...\User area.

    My question arose because we now use the TS 4.1/4.2, which is no longer a separate

    Directories of NOR and user in \Program Files.

    Because now I want to change an existing custom data type, I find that our range of custom type has

    fallen by the way side, forgotten.

    Even though I can see the custom data definitions within the sequence of type files that use

    custom data types, which means that I can edit them locally, I intend to return to

    a range of custom type, i.e. comprehensive definition.

    What is the relationship between the definitions in a range of custom type and custom data

    definitions of type of a file of sequence?

    When a palette to update file a file of sequence?, who takes over in the event of conflicts?

    is a really necessary sequence files palette file if they are separated by using the same custom data type

    can update the other? What is good practice when defining custom types of data?

    Thank you

    Gary.

    Hey guys,.

    This is a very interesting thread, and I've got everything right, in heart, with advice given so far. I just wanted to offer some additional tips on the conflicts of kind - with more response, the initial question concerning the definition of what is priority in case of conflict.

    It is important to note that TestStand uses type names and version numbers to identify the different types. It is also important to note that when you use a definition of type of customers within a sequence, the sequence (.seq) file containing the sequence will keep a copy of the type definition. This greatly facilitates distributed sequence files. However, it also opens the door to potential conflicts type.

    TestStand allows only one type of unique name to be loaded into memory at any given time, so that it uses the number of versions of the type to try to resolve these conflicts automatically. For example, TestStand can be configured to load any type is the largest version number (note that this can be changed via the tab Preferences dialog box Options of Station).

    All this information and more are found in the following tutorials...

    Conflicts and TestStand Type Versioning

    How to make a Type of custom step?

    Thanks for your time. I hope this has been helpful!

  • Causing problems of custom data type to deploy the shared target RT variable

    I seem to have some difficulty in using a shared variable published network created from a customized data type when it is deployed as an executable on a target of cRIO RT.  I'll start by describing why I think that this is the rub.  I created my RT VI in the LabVIEW (LV 2012) development environment and everything works fine.  This VI is quite simple, because these were quickly devolved into an exercise in debugging.  The RT VI begins by simply flashing the LED to a couple of times and then starts a loop simple acquisition to read some values out of the material using the analytical engine (while still flashing the LED of the user).  After reading the material, the values are grouped in a cluster and written in a shared variable published to the network defined by a custom control type def.  The custom control contains five floats double precision.  If it's important, the RT cRIO system hosts the shared variable in this case.

    So I have that deploy in the development environment, and everything works fine.  The LED flashes merrily along, telling me that the program runs correctly.  Running a VI host who reads the shared network has published variable gives the desired result.  Everything is good.

    Now, I want the cRIO system to run this simple program by itself at startup.  I build, set it as start VI, deploy it, and then restart the cRIO target.  The LED never flashing... the VI doesn't seem to work.  I'll spare you the major part of the work of debugging and access to the end.  I basically "diagram Disabled" various sections of the code up to the VI began to run correctly in an executable file.  I kept reducing the size of the disabled code until something has been disabled: the writing in the shared variable for the custom data type.

    So, I guess my question is this: are custom data types defined by type def would be personalized orders authorized executables to RT?  I read through the cRIO Developers Guide, my book of development in real time course of NOR and the white paper using shared Variables and I see nothing that forbids it.  I know that there are things not allowed in the executable files that are allowed in the development environment (property nodes façade, dialogue live, operating system specific calls, etc.), but no mention of the shared variable type custom data.  Any ideas as to why my VI is running in the development environment, but does not update unless I have delete the entry on the published network variable shared?

    Thank you in advance for your help!

    You must disconnect the data types of variables and then recompile. You can find it useful to keep on disk, a copy of the original lvlib.

    Don't know if this is a bug or not. It was suggested by someone in the forum that putting the ctl files in the right position (the disk? in the draft?) would allow the rtexe start; I did a quick check and it didn't work then I dropped the tests more far.

  • Custom data type

    We use a custom data type container and add variables to use in the sequence inhabitants.

    It seems that the field of the local variable names having to match domain names that they have seized originally in the custom data type container.

    We want to reuse the custom several times in the sequence container for data type and would like to have descriptive field names of their use, which changes throughout the sequence.

    Is it possible to just rename the names of the fields of a local variable is of the type, data type container custom, while maintaining the field names the original custom data type container?

    With the help of TestStand 2013

    Thank you

    Hi CC57,

    I also recommend trying a templateVariable. You can use this to create a container with a particular name that you can copy in various places in the variable pane and change the names of the properties of confined there.

  • How to create a custom data type

    Hello

    I'm using Labview 2009 and I am trying to create a custom data type and link it to the global variable that will be deployed in cRIO 9073. I couldn't find a method to achieve this. Please suggest a way to do this.

    Thank you

    Guilhem

    Right-click on a control and go to advanced-> customize.  This will open the control editor.  Change the type of a control to a Type def.  Customize if necessary and save the control.

  • How to make your custom data type used in your QListDataModel to QML?

    I have QListDataModel filled with objects of a custom class carying data and defined with Q_DECLARE_METATYPE. So far, it works however I can't access the data in qml:

    e.g. text: ListItemData.Name
    

    I read that this can be solved by letting QML know your custom class/type, but how to do this?

    See

    https://developer.BlackBerry.com/native/documentation/Cascades/dev/integrating_cpp_qml/

    example:

    qmlRegisterType("com.isec7.materials", 1, 0, "Account");
    
  • C210 M2 hangs at "hardware platform, configuration and test".

    Hello

    We did a MMIC and update the BIOS on one of our servers to the latest version. System tells us that everything went well and the logging in the BIOS also worked well.

    The confusing thing is, even if the BIOS itself showed the correct version, the Webgui interface shows the old one.

    After leaving the BIOS screen and restarting the server twice for the installation of the OS, it now crashes after "memory test" to the 'config '. and test. step of the hardware platform.

    Even trying to perform a recovery of the BIOS translates into find resumed his success after a few seconds and then (scope of the BIOS / show details in CLI changes status of recovery of the BIOS called "None") stops.

    We´ve deleted each addtl. material such as PCI-card expansion and key USB system, cannot find error messages or stuff like that, we have simply wants this configuration and test step.

    has anyone seen similar behavior or idea how to move forward here?

    Rgds.

    Markus

    Hi Markus,.

    Try resetting the CMOS (see link below) configuration

    With the help of the J1E6 of the rider Clear CMOS (Page 36)

    http://www.Cisco.com/en/us/docs/unified_computing/UCS/c/HW/C210M1/install/C210M1.PDF

  • C240 M3 blocked "memory configuration and test..."

    Hello

    This server was returned by just us to Cisco, which had lent because it was new.   We try to return to service, but have encountered the following problem.

    At first startup, the server receives as much as 'memory configuration and test..' message.  Just this message, it shows no progress in actually memory test.   After a few seconds it turns off, and then turns upward again, repeat that a few times before sit down you with the "memory configuration and test.." message at the top of the screen, but now also showing the address IP of MMIC inside.   The four led above the power button shows green fixed and switch ID unit than the blue LED power buttons, as they should.

    I can get to the MMIC login screen, but the password to the default password so can't get farther in this direction until we discover the new username/password details.  Unless anyone knows how to reset the default MMIC.

    I tried the following recovery steps...

    (1) if we set the J2065 ' Clear CMOS' jumper, the server doesn't work.  It powers up to the day before, but does not respond when you press the power button.

    (2) to the "recovery" of the J2068 rider don't seem to have any effect, the server does not read the USB key recovery file.

    Any ideas?

    Thank you

    Tony S

    I remove the CMOS battery for a while, put back in place, try again and if still nothing... I would look for a motherboard replacement.

    -Kenny

  • run the automatic configuration in test mode

    Hello

    How to run the automatic configuration in test mode?

    I looked adutilities document (Maintenance tools) but did not.

    Thank you.

    $AD_TOP/bin/adchkcfg.sh contextfile = appspass =

    Check the log file after the command is completed to find the information about the changes that Autoconfig will do if it is executed.

  • Help the insertion of an unknown number of lines in a custom Data Type

    Hi all

    I need help in the insertion of an unknown number of lines in a custom Data Type

    In Oracle I was thinking something like...
    CREATE OR REPLACE TYPE &HKDB_Schema_Name..SOMEDATA AS OBJECT (ID int, Name varchar2);
    /
    CREATE OR REPLACE TYPE &HKDB_Schema_Name..TYP_TABLE AS TABLE OF &HKDB_Schema_Name..SOMEDATA;
    /
    
    CREATE OR REPLACE PROCEDURE &HKDB_Schema_Name..SProc1
    (
    )
    AS
    l_TempTable TYP_TABLE := TYP_TABLE();
    v_count NUMBER := 0;
    l_ID int;
    l_Name varchar2(200);
    BEGIN
     
      LOOP
      -- exit the loop if the select returns no results. (look if exists in l_TempTable)
      v_count := SELECT COUNT(*) FROM Person p WHERE p.ID NOT IN (SELECT ID FROM TABLE(CAST(l_kgListTable AS TEMP_KGID_TABLE)));
    
      -- select the top result
      SELECT p.ID, p.UserName INTO l_ID, l_Name FROM Person p WHERE p.ID NOT IN (SELECT ID FROM TABLE(CAST(l_kgListTable AS TEMP_KGID_TABLE)))  
      AND ROW_NUM = 1;
    
      insert data into custom data type
      l_TempTable.extend;
      l_TempTable(l_TempTable.last) := SOMEDATA(l_ID, l_Name);
    
      EXIT WHEN v_count < 1;
      END LOOP;
    END SProc1;
    While I don't know this will probably do the job, it feels not very effective, have to select where the argument no_lig = 1 and then insert a facility on time. Is there a better way to do it?

    Basically, it's a migration of a MSSQL stored procedure where the equivalent would be...
    DECLARE @TempTable TABLE (ID int, Name varchar)
    
    INSERT INTO @TempTable (ID, Name) (SELECT ID, UserName FROM Persons)
    Thanks in advance,
    Toby

    Oh sorry you posted that before but I missed it. In this case maybe you should simply remove the

    as "HasChildren"{pre} part. This is only valid for a column name, but you input that expression directly into a type. It is not a column at this point.
    
  • How to delete a line item / of a custom Data Type?

    Hi all

    I can't tried to delete a line of a custom data type.

    As you will see in the code below I add a line to an array of Type (this is done several times). I then loop through each row in the type of array and pass it the id in a separate function. Once it is I so need to remove this item from the array Type - that's where I think my syntax is wrong because I get an error "ORA-00903: invalid table name.

    Clear code
     DELETE FROM TABLE(CAST(l_DeleteList AS TEMP_DOCVERSIONID_TABLE)) WHERE docVersionID = l_DocVersID;
    Complete code
    l_DeleteList.extend;
    l_DeleteList(l_DeleteList.last) := DOCVERSIONID(l_DocVersID);
    
    .......................
    
    select count(*) INTO v_count FROM TABLE(CAST(l_DeleteList AS TEMP_DOCVERSIONID_TABLE));
      -- loop temp table and delete document versions
      WHILE v_count > 0
      LOOP
      BEGIN
        SELECT docVersionID INTO l_DocVersID FROM TABLE(CAST(l_DeleteList AS TEMP_DOCVERSIONID_TABLE)) WHERE ROWNUM = 1;
        DeleteSingleDocumentVersion(l_DocVersID);
        DELETE FROM TABLE(CAST(l_DeleteList AS TEMP_DOCVERSIONID_TABLE)) WHERE docVersionID = l_DocVersID;
        select count(*) INTO v_count FROM l_DeleteList;
      END;
      END LOOP;
    Thanks in advance,

    Toby

    Trim element removes it from the end of the collection... but you are a loop of the collection from the first to the last clue.

    If you use delete then the item is deleted but index still exists... then array.last and County are not equal...

    You can use something as shown in this example (rather than use a time loop on many items)... after deleting an item to browse a table...

    SQL> Declare
      2     TYPE    TYP_TAB IS TABLE OF PLS_INTEGER ;
      3     my_tab  TYP_TAB := TYP_TAB( 1, 2, 3, 4, 5 );
      4     v       Pls_Integer ;
      5  Begin
      6     my_tab.DELETE(2) ;
      7     v := my_tab.first ;
      8     Loop
      9        Dbms_Output.Put_Line( 'my_tab(' || Ltrim(To_char(v)) || ') = ' || my_tab(v) ) ;
     10        v := my_tab.NEXT(v) ; -- get the next valid subscript
     11        Exit When v IS NULL ;
     12     End loop ;
     13  End ;
     14  /
    my_tab(1) = 1
    my_tab(3) = 3
    my_tab(4) = 4
    my_tab(5) = 5
    

    Published by: ravikumar.sv on August 10, 2009 15:19

  • Disable the setting custom step Type

    Hello

    I'm developing some types of custom step and I don't want the developer of the sequence to be able to change them. He should be able to access the properties of the step only which are visible through the property browser. I want my guys to appear as types of NI - where everything is disabled for the user.

    This way I can protect my types to get damaged by an adventurous sequence developer and also give him the freedom to design their own tests using the types I give him.

    Is this possible? If so, how?

    Thank you.

    Aditya

    If they are connected as long as developer and not admin, you can change the privileges > configure > change types to false.

  • Updating of the Data Services loses configured enter/return types

    v 4.0.1

    I have several configured data services (all PHP services).  I have about 20-25 functions defined in all 6 services, but 4 functions will surely lose the enter/return types configured each time a manual refresh or auto data occurs.  For example, I have a function:

    saveOrder(OrderHeader:Object,_LineItems:Object):Object

    When I right click and 'configure the Types of entry... '. ", and then"configure return Type... ". "I can set the appropriate without any error types.  I get so I expect the function definition:

    saveOrder(OrderHeader:OrderHeaderFlex,_LineItems:LineItemFlex[]):Boolean

    My ACE and PHP code seem to have errors, I've tested successfully this function repeatedly.  However, if I right-click and choose "Refresh" on my name of service or the service itself, the function returns the definition of the unknown.  He will go even after the automatic update, which produces from time to time.  I can configure the types of data and then immediately, click Refresh and this function will return to the unknown, even if there has been absolutely no code changes.  I have other services and functions in the same project (some that use the same types of data involved above) who do not have this behavior.

    Even when these functions "lose" data type configuration, my project will still compile and affected functions will work as expected.

    This occurs because of a bug in Zend. See the bug related to FB and the bug of zend.

    FB-27016

    ZF-10365

    -blandine

  • Configurable custom control of reference for NI VeriStand

    I'm working on an application of VeriStand where I'm modeling more than 100 pieces of similar material, each demanding a set of controls and indicators on the VeriStand workspace. Because I have a few hundreds of orders and total indicators to configure VeriStand workspace, it was recommended to me that I should look at using reference varied Custom Control (http://zone.ni.com/devzone/cda/tut/p/id/11123), which is much more efficient to configure.

    The main problem I have with varied Custom Control reference is that when it is configured on the workspace, the full channel path appears in the legend next to the indicator/control form. As I have a simulation model complex faily using several levels of submodules, the complete track path is very long (for example. ("Controller/Simulation models/models/CCH_v1_0_bad/Inports/Islington 220kV Bus EAD/CB668/host_close") and tend to clutter the workspace and also make the workspace very ugly looking (more space is used to display the text of the legend that occupied by buttons/lights).

    Is there an easy way to remove traces of full path display, while allowing the user to verify the path full path required by say, right click on the object? Or at least it is possible to display one or two levels of the path of the canal, rather than the full path?

    Thank you for your attention.

    What do you think makes a lot of sense.  To do this, you will need to modify the source code of LabVIEW and recompile (build) the proposed model to screen with the right mouse button.  You need LabVIEW 2009 for this.

    The text of the legend is set to 2 different places in the right-click main-model VI: Init control legends VI and VI of data update.  They are presented below:

    You need to change both of these screws to do some string manipulation to cut parts of the path that you don't want until it is written in the Caption.Text property node.

    I recommend creating a Subvi, which makes the string manipulation, in this way you can insert it just in the two screws you need to change.  Use a while loop that traverses the chain from the end forward, find the 11th ' / ' end, then only retains the final part and coming out of the slot - VI.

    These two images highlight the places where you should put the Subvi said:

    You will need to add your Subvi in the folder Source Code/sup screws, and then recompile the project (run the specification building called "Right-click"). Then put the Library.llb to control newly updated with the right button in the model display VeriStand folder, as you did initially. If you want instructions on how to proceed, see the video embedded in this page:

    NEITHER VeriStand module-control custom Configurable reference

    If you still want to help get started on this, let us know.

Maybe you are looking for

  • Satellite ALPS touchpad without normal scrolling only reverse

    I have my new laptop for 1 week and 1 thing guard bothers me:It is only possible to inverted 2-finger scrolling which feels very natural to me. I want to be able to scroll normally: down to bottom and vice versa I tried to replace the driver with the

  • Satellite L850 - 15 M - laggin when fan start working

    Hello I have laptop Toshiba Satellite L850 - 15M. While I'm game, periodically the laptop fan works more laudly for 2-3 second. Laptop computer Meanwhile begins to fill. I formatted my laptop and also I install all drivers, but it didn't work at all.

  • HP pro 3400 and hd 7970

    Hello, all! Is it possible to install the hd7970 on HP 3400 Pro video card? Card mother Foxconn 2ABF, BIOS has been updated to the latest version (7.16). Try to install the video card. Connect the power supply to it. System does not boot. Black scree

  • Opening a link in an e-mail problem

    WHEN AN E MAIL TO OPEN LINK... NOW I GET "OPERATIONHAS BEEN CANCELLED DUE TO RESTRICTIONS IN EFFECT ON THIS COMPUTER. PLEASE CONTACT YOUR SYSTEM ADMINISTRATOR.I AM THE ADMINISTRATOR, BUT MY BROTHER WAS VISITING AND COULD BRING A CHANGE I'M NOT AWARE

  • Can I use ASM / ME to windows server 2012 file server failover clustering?

    Hi all Can I use ASM / ME to windows server 2012 file server failover clustering? We can use it with exchange, sql, sharepoint,..., but I can't find any document for file server. Thank you.