LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embed VI in MS Powerpoint, and Then Click on to Run it from Powerpoint?

Is the above doable?  If so, how?  (Am also willing to create .exe and embed and run it instead of VI but VI is first choice).

 

Thanks,

 

Don 

Message Edited by DonRoth on 09-12-2008 02:46 PM
0 Kudos
Message 1 of 8
(4,123 Views)

Don,

 

I ran a quick test by putting a text box on a blank slide.  I selected the text, used (menu) Insert_Hyperlink and navigated to a vi.  The following link says that you can't hyperlink to an application, so you can't link to LabVIEW; linking to the vi worked for me the first time I ran the slide show and clicked the link.

 

http://www.microsoft.com/communities/newsgroups/list/en-us/default.aspx?dg=microsoft.public.mac.offi... 

 

Jm 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 2 of 8
(4,100 Views)

Alternatively, you can do this (your post specified embedding and all my first post did was link):

 

(menu) Insert_Object, select "Create from file" and browse to your VI.  Right-click your new object and select "Action settings", pick "Object action" and select "Activate contents". 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 3 of 8
(4,097 Views)

Hello - Thanks for looking into this.  I tried the latter strategy and here are my results:

 

1) works well for small simple VI

2) large, complicated VI with many subVIs. Inserts and activates but had big problems related to how powerpoint handles this object during run and it did not run properly

3) large .exe built from the latter would not insert

 

Sincerely,

 

Don

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

Don,

 

I got Powerpoint to launch an executable of a (somewhat) large program by changing the Action Settings (of a plain text box) to "Run program" and selecting the executable.  The only thing ugly is that you get a warning about the dangers of opening files.

 

Jm

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

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

I could not get the .exe to even insert into the powerpoint slide.  The hourglass cursor is stuck there forever as if the program is locked up.  So I don't have the opportunity to change the settings.  What version of powerpoint are you using?

 

Thanks,

 

Don

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

2003

 

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 7 of 8
(4,010 Views)
I am using 2007.  My .exe is rather complicated and used dynamically-called subVIs in a number of cases.  In any case, this approach is not looking very promising right now since my actual VI and the .exe built from it both do not work (for different reasons)......Don
0 Kudos
Message 8 of 8
(3,985 Views)