LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cluster updating

I have a GUI interface built right now and I have a question how would i make it to where everytime i enter and submit a new employee or food item how would i create a new set of string indecators

 

here is a senerio:

name: john doe hiering date: 12/12/09       and then I submit the employee it adds to the list of employee's but now i want to add another employee but it must creat a new set of string indecators in order to display this new employee.

 

here is the user interface I have for the application:

 

 

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 1 of 8
(4,778 Views)
You could put your clusters in an array.  As you add each employee, just add another element to the array. 
Message 2 of 8
(4,775 Views)
I thought about doing that but would it be able to save that information in there so i would not have to add it again?
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 8
(4,769 Views)

I also would need to add a scroll bar to the array because I will probably have many different people to add in this project as well as items

 

and my next question would be how would I increment the submissions so that is would not add the submissions in the same array index?

 

 

thank you,

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 4 of 8
(4,765 Views)

Harold,

 

         This is 3 hours of coding so enjoy it!! Smiley Happy I got your functionality by interacting with a file. I write the new employee/product data to its own file and then populate a combo box with that value later to display it. Take a look at the block diagram (breathe deep and don't panic...it's not that complicated) and follow the directions I gave you. You need to make sure and change all file paths to your computer (you can change the name of the file if you want bc it will creat it for you if it doesn't exist)....there are 6 file path constants you need to change. I saved the VI for LabVIEW 8.6.1 and LabVIEW 8.0 and they are up version compatabile (8.0 can open in all LabVIEW 8.x versions). Let me know if you have any questions. Cheers!!

Download All
0 Kudos
Message 5 of 8
(4,709 Views)

Harold,

 

             Was the code helpful?

0 Kudos
Message 6 of 8
(4,683 Views)

Hi G-Money,

 

I don't have 8.6.1 installed so I havent looked at the code, but I noticed it is physically much smaller than the 8.0, do you know why this is?

0 Kudos
Message 7 of 8
(4,677 Views)

jmcbee,

 

          That was my "host" development system that I created the code in and then I down converted it to LabVIEW 8.0. When you do this, it adds a little overhead then if you would have developed it in the other system but this is a rather large issue of that. The basic answer is no. I do not know why (there is phsycially no difference) in the code structure. I want to point to compiling.

0 Kudos
Message 8 of 8
(4,666 Views)