Jump to content

Beamer397

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by Beamer397

  1. I was given this problem to simulate a vending machine and to add the total cost and total money input and have it calculate out the change due or more money needed. I have set it up to calculate the total cost and input values but it then asks to use the select function (true false) to compute the change due or change needed and im not sure how to wire the select function into it.

    post-54183-0-68726600-1448034183.png

  2. You made a 12 dimensional array.  That is not what you want.  Rarely do you need more than 2, this problem really only needs two, rows and columns.  You have Rows, Columns, Pages, Books, Shelves, Bookshelves, Aisles, Libraries, Towns, States, Countries, and Planets.  

     

    There are many ways to go about doing this.  They will all involve some type of sorting mechanize, Maybe calling the coerce in range for the 12 different ranges, then using the conditional concatenating to build them into the rows.  Here is a quick example on getting data in a range.  This is a snippet and can be brought into LabVIEW as executable code.

     

    attachicon.gifExample_VI_BD.png

     

    Also here is some free online training to explain the basics of LabVIEW, but I assume that's why you are taking the course.  Links at the bottom.

     

    https://decibel.ni.com/content/docs/DOC-40451

    i tried it with 2D array and it told me it wouldn't allow it because it wasn't 12 so i made the array 12

  3. i tried making each row with the for loop to get the +1 succession for each row but it just gave an error


    Also did you take a picture of a piece of paper, of a printed front panel, of a VI?  Is this an assignment?  Not that we won't help with assignments but we won't just do the work for you.

    its an assignment but i just had zero clue where to even begin on it. the only instruction was whats on the paper

    post-54183-0-50044900-1447272486.jpg

    Untitled 4.vi

  4. Where do your numbers originate?  You can use nested For loops, an Addition node and a random number generator.

    The numbers i assume are random generated, for the addition node what am i adding? The random number generator and a constant??

  5. Im trying to do this problem that has a 2D array with 12 rows and 6 columns. It wants the first row to only display numbers 0-1, the second row 1-2, third 2-3, and so on to the final row. Any suggestions on how i can do this? not sure where to even start

    post-54183-0-29537000-1447258692.jpg

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.