Jump to content

lal

Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Posts posted by lal

  1. Hi again,

    As i said on my last post i would like the states changes automatically.I convert the boolean states to integer.

    My states are 10000, 1000, 100, 10...So my values are 16, 8, 4, 2.

    Then I create a For loop using shft registers.

    The problem is that i can't transfer the different values out of the structure.

    As i know data pass out of the loop only when the loop terminates.That's why i get the last value on an external indicator.

    Can i do something with that or i have to think another way?

    post-14123-1229113659.png?width=400

    Thank you

  2. QUOTE (Maca @ Dec 8 2008, 01:01 PM)

    Lal it really doesn't seem like your trying, but attached is a VI which should get you started.

    Thank you Maca for your help.

    This is a very good start for me.This VI will help me to understand how these controls work.

    I will play with these controls and I think that I can create the graph I want.

    I am looking for a way that states change automatically, not manual like in your VI.But I don't want the solution...I will try to find it on my own!!

    Thank you,

    lal

  3. QUOTE (Justin Goeres @ Dec 8 2008, 01:39 AM)

    Are you doing this with hardware, or is it just a programming exercise? The solution will be very different depending on whether you're operating any "real" hardware or whether you're just doing a demonstration that displays things to a front panel window.

    Also, have you looked through the intro materials in the LabVIEW Help? They're probably the best introduction to the basic tools available to you.

    I am doing just a demonstration that displays things to the front panel.

    Just the graph according to the switches state..

    I already have looked in the labview help and at some e-books that i have.But as you know there are so many tools in the labview that i have been lost!

    Thank you,

    lal

  4. QUOTE (Justin Goeres @ Dec 7 2008, 07:42 PM)

    What have you come up with so far? If you show us what you've got, we can definitely help you figure out what's wrong with it.

    I haven't done anything that works because I don't know which tools are the appropriate for my work.I have tried to use the simulate signal but I can't do anything with that.I suppose that I need some boolean controls (in order to change the switches state) and something that I can save all the states.This must be an array. Then I suppose that i need a delay.Finally i must use a while structure in order to see the alteration of switches state.

    I didn't post this topic because I wanted to give me the solution.

    I just need some guidance.

    Thank you,

    lal

×
×
  • Create New...

Important Information

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