LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

search words in a excel file

Solved!
Go to solution

no what i am doing is , reading an excel file, and changing some data... after reading this and doing changes, i read it again(the excel file with changes done) for another process,

 

so my question is,

 

after read the original and do the changes i save the file in anotehr direction, so what i am saying is if there is an option to read the original, do changes, and without save it, make like a temporary file or something like this...

0 Kudos
Message 41 of 50
(1,181 Views)

Why read Excel again? Let me know if I have understood you correctly,

 

1) Read Excel

2) Some calculation, changes in the data

3) Save it in Excel (in other Location)

4) Now you want to read original back again for other set of calculations right?

 

Then why to read again? You already have data in LabVIEW , right?... (Step 1)

Once you read the data , input same data to 1) the logic which does something and saves another excel

                                                                 2) And to the logic which has another set of operations.

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 42 of 50
(1,180 Views)

1) Read Excel

2) Some calculation, changes in the data

3) Save it in Excel (in other Location)

4) Read the changed excel, for do another operations...

 

the problem is that i have an excel file with variable names and pins or chanels where they are, and i am using the niusb6009.  so deppending in where pc i am working the device of this card changes, so i must read the excel and search if i need to usb6009(because no always work with this) if i work, change the device to the correct device we have recognized with loabview...and save it in other side,

 

after doing this all, star reading the changed excel to create a task with the correct channel and device to work good...

 

now you understand?

0 Kudos
Message 43 of 50
(1,177 Views)

HI,

 

"4) Read the changed excel, for do another operations..." again Why you want to read excel again? You have written data in the excel right? So you have it already in LabVIEW. Use the same na... Unless you have applied formulaes in Excel sheet which I dont think from your description.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Message 44 of 50
(1,175 Views)

THTAS MY PROGRAM...WHAT CAN I DO?

 

now you can see how i recognize the device, and the excel file have more than one page so i must read all pages search the specific word and change, after that work with changes included...

Download All
0 Kudos
Message 45 of 50
(1,171 Views)

You need to start learning from LabVIEW basic. Need to work on your coding style. Smiley Indifferent

Still, for now I guess this will work for you.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 46 of 50
(1,167 Views)

sorry, but you have problem, that doesn't work your program, so is worst...

0 Kudos
Message 47 of 50
(1,163 Views)

goodmorning,

 

hello!! i have a litte question, can i read the excel file do the changes and save it liike lokal, what i want is not to save another new file of this excel...do you learn??i am  reading the help of the workbook but i don't search it, can you hel me please?

0 Kudos
Message 48 of 50
(1,151 Views)

Hi Alan4,

 

I don't understand what exactly you guyz are looking for. You are asking same question again and again.Smiley Sad

 

Read excel>>Gives you Data

 

You can use shift register to keep copy of data for every iteration without saving it in new excel. (Original Data)

 

You can do changes in this data, and keep it in other shift register. (Changed data)

 

Now whether to save changed data or not depends on you.

 

I can not explain it in more simpler way... Smiley Frustrated

 

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 49 of 50
(1,143 Views)

HI!!

 

can i do it for search more than one string in a excel file???

 

thanks!!

0 Kudos
Message 50 of 50
(1,130 Views)