LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

URGENT!!! How we add a series of 2 strings into a new array dynamicly?

I have a series of 2 strings to port into a new string array. Because in some cases, I will have the valid strings & vice-versa, I should not use the For Loop to create a dynamic string array

 

The size of the array is depend on how many times I have the valid 2 strings. Can someone help me?

 

- I did try my own way (I have to use For Loop just to try), anyway I created a weird array that I could not extract those pairs of string later (please see the attach file)

 

Thank to any help,

Message Edited by plit string on 11-05-2008 03:45 PM
Message Edited by plit string on 11-05-2008 03:46 PM
0 Kudos
Message 1 of 14
(3,473 Views)

Why not use the insert into array or the build array to accomplish this. Could you be a liitle bit more specific as to what you want to do.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 14
(3,466 Views)
Aside: Why is it that everything you ask is "URGENT!!!"?  Smiley Happy
Message 3 of 14
(3,462 Views)
Re Aside:  I wonder if you would get responses quicker with having "URGENT!!!" in the title or having "I GRANT KUDOES FREELY!!!"...  Do we help people out of altruism or out of lust for Kudoes?
0 Kudos
Message 4 of 14
(3,450 Views)

plit string wrote:

I have a series of 2 strings to port into a new string array.


 What is your definition of "port into"?


plit string wrote:

Because in some cases, I will have the valid strings & vice-versa, I should not use the For Loop to create a dynamic string array


 

 What cases? What is the definition of a "valid string" vs. "invalid string"? How can we tell?


plit string wrote:

- I did try my own way (I have to use For Loop just to try), anyway I created a weird array that I could not extract those pairs of string later (please see the attach file)


 

 Your FOR loop has no purpose, because all you retain are the values from the last iteration. You can delete the FOR loop and wire a "4" diagram constant to the blue wire instead. Why do you thing that you have to use a FOR loop?

 

What do you mean by "extract those pairs of string"? What is "extract"? What "pairs of string"?

 

 

 

0 Kudos
Message 5 of 14
(3,441 Views)

smercurio_fc wrote:
Aside: Why is it that everything you ask is "URGENT!!!"?  Smiley Happy

 

Sometimes, the homework is due in the morning and it is already midnight. 😄
Message 6 of 14
(3,437 Views)

I did try with different ways but failed today, that was why I requested help. Here what I try to do:

 

1. Insert a series pair of strings into an array (un-known times):
   - 'SN12345' & 'TP12345'
   - 'AN12345' & 'SP12345'
   - 'DN12345' & 'DP12345'
   -  .......     .......
   -  .......     .......

 

2. Retrieve those pairs later

 

It sounds so simple, but I am not able to do that. I hope that I explain clearly this time.

 

Thanks

0 Kudos
Message 7 of 14
(3,411 Views)

I did try very hard with different ways but failed, I suppose to complete all my tasks of my project today, that was why I requested URGENT.

 

I only try LabView with little experiences & try to do catch-up my assignments, might be for someone like you ... it looks silly & I admit it!

If you do not want to help, I still have to try it out other ways!

 

Anyways, thank for spending time asking me this question Smiley Sad

0 Kudos
Message 8 of 14
(3,408 Views)

Please see my first reply, I am regret that I didn't describe clearly!

 

Thanks for trying to help!

0 Kudos
Message 9 of 14
(3,405 Views)
I really appreciate what you said because it is 100% right ... in my case! Smiley Surprised
0 Kudos
Message 10 of 14
(3,403 Views)