JKI Discussion Forums
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Suggestion: Tags in argument Using tags in the argument

#1
User is offline   Bjarne J 

  • Group: Members
  • Posts: 2
  • Joined: 29-January 09
Hi
First I will say thank you for the statemachine. It has been a tremendous help to make decent and nice SW development.

I have a suggestion to the argument.
I need to send a LF with the argument, but that is also the state terminator.
Then I have done this VI(see picture)

Put this in here (see picture)

and you can make states like this:

State >> argument1<47><47> will make this argument: argument1//
State >> hansen<64>dk.dk will make this argument: hansen@dk.dk

regards
Bjarne J

Attached thumbnail(s)

  • Attached Image: Trim_argument_ascii.jpg
  • Attached Image: Parse_State_Queue.JPG

This post has been edited by Bjarne J: 29 January 2009 - 03:03 PM

0 kudos

#2
User is offline   Omar Mussa 

  • Group: JKI Team
  • Posts: 88
  • Joined: 12-October 06
Hi Bjarne,

That's an interesting idea. We typically add long strings (including multi-line strings) to the state machine 'Data' cluster.

Thanks for the great feedback!
Omar
0 kudos

#3
User is offline   Bjarne J 

  • Group: Members
  • Posts: 2
  • Joined: 29-January 09

View PostOmar Mussa, on Jan 30 2009, 03:16 AM, said:

Hi Bjarne,

That's an interesting idea. We typically add long strings (including multi-line strings) to the state machine 'Data' cluster.

Thanks for the great feedback!
Omar



Yes, we also use the 'Data' cluster, but with this suggestion you are always shure that the argument is always landing at the right state and you don't have to think about cleaning the data cluster.

/Bjarne J
0 kudos

#4
User is offline   Omar Mussa 

  • Group: JKI Team
  • Posts: 88
  • Joined: 12-October 06

View PostBjarne J, on Jan 30 2009, 06:52 AM, said:

but with this suggestion you are always sure that the argument is always landing at the right state


Excellent point!
0 kudos

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic