create a list or a container for the States of a statemachine

Hello

I'm working on an application where many different types of devices will be put into a test set-up for Board level testing.  Depending on the type of Board, I need to create an ordered list of all necessary tests for the device.  I have a state machine and a single State for each of the tests and try to figure out how to create a list of tests for the specific device.  I want to have control in each of the States to remove the first element of the list and then take the next value and he lead the shift register used to go from one State to the other.  This should allow the state machine switch to the appropriate State based on the type of device and its sequence of necessary test.

It should be with a table?  Is there some containers easier to work with this use case?  I need a container that will allow me to easily add between 5 and 30 names of State (based on the needs of the unit type) and easily remove or increment a pointer to the next State in the container.

Thank you

Gary

Hi Gary,.

an array of string or "enum" comes to mind. You can use it for the selection of States.

You have to transfer data?

Another way would be a queue. You can read the States with the enqueue function.

It may be useful

Mike

Tags: NI Software

Similar Questions

  • How can I format a list of e-mail for the download

    What file format and layout I should create a list of e-mail for the download?

    Lists of e-mail addresses can be imported as CSV or formats of delimited by tabs.

    ISTS http://docs.BusinessCatalyst.com/user-manual/email-marketing/email-lists/Importing-email-l

  • Is there as a resource for a list of parameters available for the Windows Vista Edition accounts service Home Premium x 64?

    Original title: suggested settings for the service accounts for vista Home prem x 64

    Is it a rsesource for a list ofs suggested settings for the service accounts vista Home prem x 64?

    Hi elmjyo,

    You try to interact with any server? If so, what kind of server?

    You can follow this link & check if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-files/how-to-create-service-account-in-Vista-Home-Basic/598cd8b4-e35a-4d67-aab9-07651aa5d52c

    Hope the helps of information.
    Please post back and we do know.

  • Panel/container for the user interface components?

    Forgive my ignorance, I'm sure this is a stupid question with a simple answer, but I am new to both Adobe dev and QNX.

    Is there anything for an Air application on the Playbook that acts as a container for the elements of user interface - similar to, say, the StackPanel in Silverlight? My preliminary research on Actionscript itself says not, but so far, the QNX components have been the saving grace of this platform, so I hope that there is a component of QNX UI that I don't know

    Thank you.

    Hey deeko,.

    Yes, there is a class called (ironically) container that can help you with what you want. Here is the Doc of the API and information with examples for this:

    http://www.BlackBerry.com/developers/docs/airapi/1.0.0/QNX/UI/core/container.html

    im going to assume that you have not yet watched on the COMPRESSED AIR SDK library yet, so here is the link in case you were curious about other things you need in the future:

    http://www.BlackBerry.com/developers/docs/airapi/1.0.0/index.html

    hope that helps. Good luck!

  • I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    slynn5236 wrote:

    I need to create combinations of text and images for the web. How to do this in elements or do I need Photoshop for this feature?  Please advise!

    You can do in PSE.

    1. Do the math to see how much space you'll need on your canvas to the image and text.
    2. Navigate to the file queue > new.blank. Enter the width & height, background color, resolution 72 px / in. It is your canvas, and in the layers palette will be the background layer.
    3. Copy and paste the image. It turns on a separate layer
    4. Activate the tool move, position the image and resize if necessary
    5. Activate the text tool, and then type your text. It will be on a separate so layer
    6. Position the text.
    7. Flatten layers and go to file > save for web. I'm usually on the long side about 800 px. Don't forget to check "constrain proportions". Adjust the quality slider to suit. You will probably want the type of JPEG file for web work.
  • Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical users to end dry change

    Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical end users EASILY change the sections of the web site.  Can this work?  Thank you.

    I would like some ideas.

    A CMS is the standard solution in the industry today. The most common environment is LAMP (LINUX, Apache, MySQL, PHP).

    Some of us to write custom CMS systems for a living. I concentrate on CMS for retirement centers. There are all kinds of solutions CMS available ranging from generalist, off-the-shelf CMS like WordPress, completely custom, with a lot of opportunities in the meantime.

  • How to create a list of button by using the names of a table

    Hi, I want to create an application that displays detailed information about something. for example, as the profile of the users. my application will read an xml response from the server that contains the list of the names of the users. How to create a list of buttons using the names and then each button that displays the name that can be pressed and displays detailed information about the name? I think that it is similar to the BBM app that displays a contact list of the user. Thank you very much

    Create a ButtonField as:

    ButtonField [] users_buttons = new ButtonField [number of users];

    Initialize the uasing dem:

    for (int i = 0; i)<>

    users_buttons [i] = new ButtonField ("user", Field.FIELD_HCENTER |) ButtonField.CONSUME_CLICK);

    Make dem clickable setchangeListener method of buttonField and Ooveride Navigation click to make a few operatoin by clicking on the specific button!

  • How to produce a drop-down list simple code description for the OPS?

    I'm sorry this is a basic question, but I tried for days, and I see nowhere else to find an answer.

    I need a simple drop-down list, not a search. Here is the list account 10 or if items. It is based on a view that contains a code value, and a description. I want that all the descriptions to be available at all times. Just click on the arrow, and the entire list is displayed. When the user selects an entry, the code associated with the discription fills a related attribute.

    Can someone please tell me how I can produce such a simple thing, or point me to the documentation?

    Thank you.

    Hello

    not sure OFA's lists-driven model, but it's how solve you that problem in the ADF. For OAF related issues, please see the OA framework

    Frank

  • Creating a list of missing files in the Organizer?

    It's too bad the dialogue box ' reconnecting missing files ' may list missing files in a small window, but there is no option to export the list of full paths as a text file.

    Knowing that the list is saved somewhere (probably in the catalog folder), I looked if I could find how information about the missing files are stored in the Organizer. Natural candidates such as the catalog.psexxdb and thumbs.5.cache sqlite databases showed no what, whether by proving that they stored the information.

    Then, I had a look at the thumbs.5.cache, which is interesting. It shows that two sizes of thumbnails are stored, and that the criteria for matching are taken so far and the file size.

    Now, I compared an optimized version of this file by a reconstituted (I deleted the cache file).

    Interestingly, you can see what media_id still have match criteria. I conclude that the other media_id are missing files...

    If Photodrawken is looking at this post:

    Could you check this assumption and see if a sqlite query can retrieve the list of missing media?

    It will be interesting to see if the next version of PSE has better handling of missing files... Seems that LR handles this problem much better.

    Edit:

    The field 'status' in the thumbnail_info_table of the thumbs.5.cache database seems to be set to '2' for the missing files.

    Here we go, using Database.Net:

    1. Connect to thumb.5.cache.
    2. Right-click on thumbnail_info_table and select "Script as...". Create '.
    3. Use the Edit tool... Save as to save it in any convenient directory as
      thumbnail_info_table_create. SQL
    4. Right click on thumbnail_info_table and select "Script as...". Data (Inserts)... File, save on this same practice directory as
      thumbnail_info_table_data. SQL
      (In the Export Options dialog box, simply click on 'OK'.)
    5. Disconnect from thumb.5.cache.
    6. Close all open applications.
    7. Connect to catalog.pse10db.
    8. Use the Edit tool... Open and that
      thumbnail_info_table_create. SQL
      file.
    9. This query will open in a new query window - click the 'run '.
    10. Repeat steps 8 and 9 to the
      thumbnail_info_table_data. SQL
      file.
    11. Click on the button "New query" and paste this query into the editing window:

    SELECT full_filepath

    OF media_table

    WHERE id IN)

    SELECT media_id

    OF thumbnail_info_table

    WHEN STATUS = '2 '.

    )

    ORDER BY full_filepath

    12. click on the button 'run '.

    You can click on the "export" button to save the results to a file in the format of your choice.  Here, I used the option "HTML":

    full_filepath
    /Pics/nnpcs/000700AB.jpg
    /Test/000700A2.jpg
    /Test/000700A5.jpg
    /Test/000700A8.jpg

    Ken

  • SELECT LIST throws an error for the WHERE CLAUSE

    Hi all

    I am struck with what looks like a trivial mistake, but I don't know how he moved. I'm new to Apex (3.1). I'm experimenting with. I have Oracle 10 g on Windows.

    I have a drop-down list item in one of my pages (SELECTION list). I'm trying to display a few items he dynamically (depending on the logged-in user). I've defined this SELECT LIST and entered into the following query in "list of values".
    select enrolled_course display_value, course_id return_value 
    from COMP_LIST
    where stu_id = :APP_USER
    order by 1
    I got the following error.
    1 error has occurred
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
    Then I tried the step by step instructions of "Oracle® Application Express Advanced Tutorials-version 3.1.2 - E10497-02. With the help of creating list of values such as creating separately. That too, I got the same error.

    I'm doing it wrong I suppose. Please correct me. Thanks in advance

    Regarding
    Guru

    Published by: guru Perrin on October 16, 2008 17:12

    Hello

    The principle should be the same. The value of the text element would be stored in the session, then you can use: P1_APP_USER (or what is called the element) instead of: APP_USER. To be absolutely certain, you can create a page process to fill the element having the value of APP_USER point process before conditional header field is null. Or you could create a component of demand that populate once the connection and then use it everywhere where you have - I tend to do something like this with user-specific information that is stored in my tables from the user.

    Andy

  • How to create a virtual network of study for the MCDST?

    Hi guys.  I'm a studying MCDST trying to put my hands on XP Pro and Windows Server 2003 in order to have a better learning experience. I'm using Workstation 6.5, and I'm really interested in creating my own virtual network. You guys have probably brought to this subject a million times, but I really need your help. So, what I try to do is to create a Windows Server deployment in the virtual machine that has installed in Win2k3. Everything is set up, as in, everyting is ping correctly. So now I want to install XP Pro remote in a new VM with no OS installed. Both virtual machines have only active guest network and the new virtual machine is configured in the BIOS to boot from the network. Now I'm stuck because the new VM is supposed to detect the WDS server, as it is virtual NIC is compatible PXE. I know that I should probably make some adjustments in the virtal network options. But I did not now what to do. Please help me! If you need more info just tell me!

    It means open the .vmx in Notepad file, select all text by clicking on the Edit menu, and then clicking 'Copy' and 'Paste' ing this text in your next post.  Or even simply to attach that file to your next reply.

    You must first enable the display of file extensions in Windows Explorer so that you can be absolutely sure that you are working with a .vmx file:

    In your window Explorer (such as the one that you took a screenshot and validated in your last response) click on the 'Tools' menu, and then click "Folder Options."  Then click on the 'View' tab in the window that appears and look for the box "Hide extensions of known file types".  Clear this check box, and then click 'OK' at the bottom of this window.  Then you should be able to see the end of file .vmx file extension that you want to open in Notepad, or you want to join in your next reply.

  • can we create specific diagrams of logic model for the relational model?

    Hi-

    I created several diagrams of relational model. I want to create the logical data model diagram for each of the relational model.
    Is it possible to do?

    Currently, it is always associated with a logical data model diagram. When I create LD for the 2nd, it is always update the same diagram.
    Please let me know.

    Hello

    Yes you can have the diagram in the logic model. Check there titled "Subview as" at the top right of dialogue engineering - select it and subview will be created in the logic model corresponding to the main schema to your relational model.

    Philippe

  • Containment for the toolbar area

    Hi all

    I use the Instrument of toolbar for the first time and I am not successfully keep the toolbar free of windows 'child '.

    I would like to have a toolbar in a parent window that isn't overlappable by a child window. In other words, I looking for a situation similar to CVI environment behaviuor, where the 'children' windows are blocked under the toolbar and have no chance to ride it.

    Any suggestion?

    Thank you

    Sergio

    The design of CVI IDE window is slightly different. In your case, you can restrict the panels of the child to hinder it in the parts of the toolbar in the recall of Panel, as follows:

    public static int CVICALLBACK ChildPanelCallback(int panel, int e, void *cb, int e1, int e2)
    {
    #define MY_TOOLBAR_HEIGHT 50
     
    If (e == EVENT_PANEL_MOVING | e == EVENT_PANEL_SIZING)
    {
    Rect r;
    GetPanelEventRect(e2, &r);)
    If (r.top<>
    {
    r.Top = MY_TOOLBAR_HEIGHT;
    SetPanelEventRect (e2, r);
    }
    }
    return 0;
    }

  • Cannot target the right container for the video in a Lightbox.

    I am trying to embed a YouTube video in a Lightbox (ala, coffee of Katie, which I did successfully last week).  He continues to just show up on top of the page, NOT in the container on the right. I followed the directions about 20 times site coffee of Katie and not go. When I get to the part where you remove the existing default flower picture, this picture frame is more selected (as it says in the instructions). If I click on the Widget / container / container object can insert HTML code, but it does not stick in the light table, but show on the outside. I'm going crazy. It's my first site of Muse and I (and my client) is in love.  Help please! and I thank you.

    Barbara

    Make sure you use a viewer of composition (as opposed to a Lightbox Slideshow), because you will not be able to insert page elements in a jQuery slideshow. If you use a composition and object-> Insert HTML code is not put it directly in the slide, you can drag the HTML object on the slide.

  • For the State Machine logic makes me Mad, ideas?

    Hello

    I am a complete newbie to Labview and up to the help of kind people on the forum and tutorials tips, State where I implement a state machine.  However, I can't it behave using logic.

    What I try to do is to test the relay using an automated test procedure.

    The procedure takes the following measures:

    1. a card reader and transistor NI9472 DO turns the relay power via the power of the coil (needs of the variable time period). (It's OK)

    2. account of how can cycles the relay contacts worked, it will easily exceed 100,000 cycles. (It's OK)

    3. every 10 cycles (new variables), the contacts are held closed, load circuit "15A in the state machine" (the current relay is switching, which will be 15 a at 30V) is turned off.

    4. While the State of 15A is off, I need to switch to 'State of 1' and the 'State of the measure' , that it allows the measure to take.

    5. Finally, the "State measure and the"State of A 1"must be turned off and the"15A State switched back on .

    6. this process continues for another 10 cycles and repeats.

    I tried to do by using the States and the logical selection function for different States, where she part works, it does not seem to flow completely.  I'm I missing logic.

    Hoping someone may be able to help, thanks

    Andy

    I really didn't thing you want to be returning this Boolean value in all States.  You should probably also have a different evolution register for each line of output.  Then you simply adjust those that you need to.

Maybe you are looking for

  • Moving a message to a message takes several seconds, what happened?

    I used Thunderbird for years without problem. But when I got a new laptop with Win 8.1 64 bit Pro, he slowed down a little. Now lately it takes literally 20Hihg-30 seconds if I delete a message before the next message is not for me to do something wi

  • Satellite C650D - 12 c does not start on Windows 7 64 bit

    Problem... Laptop Toshiba C6500D - 12 c, will not start in Win 7 64 bit symptom... at the start of the laptop, a screen with two options will appear. 1. launch start-up repair or2 victory to start normally. Option 1, a message States "loading windows

  • Download and use of printing and scanning doctor

    Here's a video that shows how to download and use printing and scanning doctor.  It will show a way to access, download and use this tool to access and rectification of scan and printing issues.  It will help to solve the problems with the scanning o

  • selectOneChoice component is not displayed correctly.

    I'm trying to place the selectonechoice and components of text in a table row, but these are not rendered correctly. Is it possible to reduce the length of the COS? I tried width in the inline style, but it does not!

  • Download Applications once and installation on multiple computers

    HelloCurrentY we bought 12 seats for Adobe Creative cloud and we work in the same office. I was wondering if it was possible to have only to download the applications that we need (Photoshop, Illustrator, InDesign) once and then share them on the net