Jump to content


Photo
- - - - -

case structure


  • Please log in to reply
8 replies to this topic

#1 bulebell

bulebell

    More Active

  • Members
  • PipPip
  • 28 posts
  • Version:LabVIEW 2009
  • Since:2009

Posted 24 October 2011 - 09:02 AM

I want to use case structure vi, that has a prolem. it has a Initial value(it is a string),but case run over,it will return a return value. I will use the return value to control this case structrue as a condition station .meanwhile ,the return value may use as a input value.
what can I do to solve this problem?

#2 Saverio

Saverio

    Enough LAVA to be dangerous

  • Members
  • PipPipPip
  • 144 posts
  • Version:LabVIEW 8.2
  • Since:1994

Posted 24 October 2011 - 01:47 PM

I don't quite understand your question. Are you trying to create a state machine? Application Design Patterns: State Machines

#3 bulebell

bulebell

    More Active

  • Members
  • PipPip
  • 28 posts
  • Version:LabVIEW 2009
  • Since:2009

Posted 25 October 2011 - 01:15 AM

i mean I want to set two types of control condition,the first one is the initial value and the initial value is a string。 the other one is the value when the forward case structure run over the case structure return。meanwhile ,this value is Dynamic data。

#4 jcarmody

jcarmody

    The 500 club

  • Premium Member
  • 789 posts
  • Location:North Carolina, United State, Earth
  • Version:LabVIEW 2012
  • Since:2007

Posted 25 October 2011 - 09:40 AM

Draw us a picture, please. It'll be worth a thousand words.

Resistance is Mandatory

No rulers
No masters
NO CONSENT

 


#5 bulebell

bulebell

    More Active

  • Members
  • PipPip
  • 28 posts
  • Version:LabVIEW 2009
  • Since:2009

Posted 26 October 2011 - 02:19 AM

in the test.vi,I want to add to use String2 to control this case structure,what should I do?

Attached Files

  • Attached File  test.vi   6.33K   52 downloads

Edited by bulebell, 26 October 2011 - 02:20 AM.


#6 Aristos Queue

Aristos Queue

    LV R&D: I write C++/# so you don't have to.

  • Premium Member
  • 2,620 posts
  • Location:Austin, TX
  • Version:LabVIEW 2011
  • Since:2000

Posted 26 October 2011 - 03:26 AM

I am sorry... I still don't grasp what you're asking for. I am guessing that English is not your native language and you're using translation tools to post. Something is being lost in mechanical translation. Could you try posting your question in your native language... there may be someone on the forums that can provide a better translation.

#7 jcarmody

jcarmody

    The 500 club

  • Premium Member
  • 789 posts
  • Location:North Carolina, United State, Earth
  • Version:LabVIEW 2012
  • Since:2007

Posted 26 October 2011 - 09:53 AM

test1_BD.png

Resistance is Mandatory

No rulers
No masters
NO CONSENT

 


#8 bulebell

bulebell

    More Active

  • Members
  • PipPip
  • 28 posts
  • Version:LabVIEW 2009
  • Since:2009

Posted 27 October 2011 - 02:08 AM

test1_BD.png

thanks very much. The picture described is what I want to say。who can help me?(drer is the initial value)

#9 jcarmody

jcarmody

    The 500 club

  • Premium Member
  • 789 posts
  • Location:North Carolina, United State, Earth
  • Version:LabVIEW 2012
  • Since:2007

Posted 27 October 2011 - 09:40 AM

I half expected that my picture would help you!

test1_BD.png

Resistance is Mandatory

No rulers
No masters
NO CONSENT