annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Table control data update with LED status progress

Hi Friends,
 
I've a requirement for my project....
But i am not clear of how to implement that.
The main.vi will extract the data from an Excel sheet using all excel.llb and show the data in table  control.
 
At the back end i'll be keep on reading data from the worksheet 1 of the excel sheet.
so my intention is something like this
whenever it reads the 1st row  of data the LED should blink at the first row and it proceed down as per the for loop
And should continue up to the end.
 
If anybody have worked out with the Table control and Excel sheet VI's please help.
Your help would be appreciated.
 
Will attach the VI on request.
 
Cheers,
Suneel.V
0 Kudos
Messaggio 1 di 23
3.823Visualizzazioni

Hi Suneel,

i think it is not very effective. You can read the data of the entire sheet with one ActiveX function, just define the relevant range.

If you really need it, define the range for every row to read your data row by row and move your LED indicator.

Hope it helps.
Mike

0 Kudos
Messaggio 2 di 23
3.821Visualizzazioni

Hi Mike,

Thanks for your prompt response.

Attached are the VI's.

The main VI is Excel_Tablecontrol.vi and the sub vi is excel_read.vi

In the main VI select any excel sheet from your PC and it will extract the first sheet data in it.

But in my real project i will be reading line by line.

Could you please make me clear how should i put an indicator whcih would go line by line.

 

 

0 Kudos
Messaggio 3 di 23
3.818Visualizzazioni

Hi Mike,

Thanks for your prompt response.

Attached are the VI's.

The main VI is Excel_Tablecontrol.vi and the sub vi is excel_read.vi

In the main VI select any excel sheet from your PC and it will extract the first sheet data in it.

But in my real project i will be reading line by line.

Could you please make me clear how should i put an indicator whcih would go line by line.

 

Cheers,

Suneel.V

 

Scarica tutti
0 Kudos
Messaggio 4 di 23
3.817Visualizzazioni

Hi Suneel,

see the attached example.

Mike

Messaggio 5 di 23
3.814Visualizzazioni

Mike,

Yes, this is the example i'm looking for, i'll try to use the same login for my VI and will keep update you.

Thank you.

 

-Suneel.V

0 Kudos
Messaggio 6 di 23
3.811Visualizzazioni

read login as logic...

SOrry

0 Kudos
Messaggio 7 di 23
3.810Visualizzazioni
Hi Suneel,
you can edit your message within 10 minutes. Smiley Felice
 
 
Mike


Message Edited by MikeS81 on 07-04-2008 09:04 AM
0 Kudos
Messaggio 8 di 23
3.808Visualizzazioni

Hi Mike,

THis VI is having some bug ...

THe LED is going out of table control if the Table control size is minimized

And also onemore thing....

SInce the data is less its ok

what if data is some 100 lines....

will the sroll bar automatically moves down and also the LED should move down parallely....

 

Run this VI

Cheers,

Suneel.V

0 Kudos
Messaggio 9 di 23
3.779Visualizzazioni
Hi, suneelkv,
Are you sure that you need Boolean? It looks nice, but you should figure out, how to synchronize position of the indicator with proper line every time, when table scrolled, moved, etc.
Probably solution with Symbols will be better for you?
Andrey.
Messaggio 10 di 23
3.774Visualizzazioni