LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

EXE failure of EXPORT DATA TO CLIPBOARD

Solved!
Go to solution

LV 2010, Win Vista, Win7.

 

A TABLE indicator has a popup menu that can EXPORT DATA to CLIPBOARD.

 

In LV2010 (and LV2010 SP1), this function does not work in an executable - it works fine in the LV Dev. system.

 

It was fixed in LV 2011, but we cannot move to that at present.

 

What's the best way to gain this functionality in LV2010?

 

See this JING

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 1 of 3
(2,436 Views)

There is a VI Server method for placing data in the system clipboard. You could capture the Menu? filter event, delete the native menu items and create your own menu with a simple command such as "Export to Clipboard". This then needs a second event to capture any user selection of the menu item.

Pulling data from the table and converting to a clipboard-friendly string format should be fairly simple, I suspect?

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 3
(2,429 Views)
Solution
Accepted by topic author CoastalMaineBird

Actually, there's a simpler way.  The table has a method called "EXPORT DATA TO CLIPBOARD".  Apparently, the method is OK, it just doesn't get called from the menu, when in an EXE. That's a LABVIEW bug.

 

I added a button called "EXPORT", an event to react to a VALUE CHANGE on that button,  and an INVOKE NODE to call that method.  It exports the selected cells just fine.

 

Thanks for your idea, though.

 

Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com


LinkedIn

Blog for (mostly LabVIEW) programmers: Tips And Tricks

0 Kudos
Message 3 of 3
(2,426 Views)