LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can FLASH program be pasted on Labview

Hi everyone,
 
Newbie here, I would like to know whether a Flash program can be pasted on a Labview program, just like the Flash program can be pasted on the Dreamweaver.
 
Thank you all.
 
Regards,
Tay 
0 Kudos
Message 1 of 3
(2,947 Views)
Probably not as easily since (if I remember correctly) both Dreamweaver and Flash are from Macromedia and since Dreamweaver is designed to do this kind of thing and LV isn't.

What you can do is integrate ActiveX controls into your front panel and interact with these controls using invoke nodes and property nodes. Place an ActiveX container (in the containers palette) and right click it to insert a flash object (on my system I see 2 objects called "Shockwave ...."). You will then need to wire the reference into the nodes on the diagram to get the various properties and methods. If you can find the documentation for the ActiveX interface somewhere then you should probably be all right, but just consider the following:

  • LV is multiplatform and ActiveX is windows only. LV doesn't always work too well with AX.
  • You have to have the ActiveX object installed on every computer where this will run (and it needs to be the same version).
  • Getting the data from the object could be tricky.

If all this doesn't work, you could try using an Internet Explorer ActiveX object and just load the flash file into an HTML page.

To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).


___________________
Try to take over the world!
Message 2 of 3
(2,938 Views)

tst brings up a good point with an embedded browser in labview, I have done this many times to allow for displaying graphics which could be otherwise hard to incorporate with labview.  The activeX browser such as an IE container can really make your front panel look great but at the expense of platform independence.  It would be very nice to have a labview native browser control.  such a control could even be used inplace of a string control to rapidly format test using html (instead of a complex set of property operations on a string control).  Usually platform independence is not an issue since most of the world uses windows (yes I have used Mac OS (1987-1996) Unix(1995+) and Linux(2001+) but I find developing for windows gives me by far the most broad user base).

 

Paul 

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 3 of 3
(2,919 Views)