LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Copy Excel Chart to Labview front Pannel

Solved!
Go to solution

I posted an example in this thread where I used the the Excel Range.Selection event with a callback vi to copy in LabVIEW a selected range in Excel. The callback vi would have to be modified to accept a single cell selection but this should be relatively simple.

EDIT: I used the Worksheet.SelectionChange event. 

 

Ben64

--------------------------------------------------
The best way to say thanks is to give kudos!
0 Kudos
Message 11 of 16
(283 Views)

@ben64 wrote:

I posted an example in this thread where I used the the Excel Range.Selection event with a callback vi to copy in LabVIEW a selected range in Excel. The callback vi would have to be modified to accept a single cell selection but this should be relatively simple.


But he simply wants to copy data in Excel, and paste it in LabVIEW.

0 Kudos
Message 12 of 16
(279 Views)

Is this in Edit mode or Run mode?

 

0 Kudos
Message 13 of 16
(260 Views)

run mode

0 Kudos
Message 14 of 16
(249 Views)
Solution
Accepted by topic author alii001

1. Create a custom popup menu for the table.

2. use event structure to catch the menu select event.

3. use clipboard function to import the csv string from clipboard.

4. convert the csv string to 2D array of strings and display it in the table.

 

 

0 Kudos
Message 15 of 16
(239 Views)

Thank you.

With your direction key words "CSV", I searched the forum again with words" CSV + clipboard ", and eventually  found what I want.

 

https://forums.ni.com/t5/Example-Programs/Clipboard-Copy-amp-Paste-from-Excel-CSV-to-2D-Double-Array...

 

I modified a little of that attached VI,and it can fullfil my needs.

0 Kudos
Message 16 of 16
(217 Views)