LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use OLE Automation capability of LABELVIEW

Hi all,

 

What I need to achieve is this:

 

Use LabVIEW 8.5 to do some testing and at the end send some data that must be printed on a label. Curently we are using the LABELVIEW (don't confuse it with LabVIEW 🙂 label design software but the tech must type this data and print it manualy.

 

I understand that LABELVIEW is OLE Automation capable but couldn't create a refference to the LABELVIEW objects no matter what I tryed.

In old LabVIEW manual (6.0 or so) there are VIs specificaly for OLE automation but I can't find this in 8.5, I guess no longer supported?

 

If somebody has done this kind of exercise before, please give a hand.

 

Thanks

0 Kudos
Message 1 of 10
(7,086 Views)

Look for AcitiveX are the next generation .NET capabilities. Both are located under Connectivity.

 

Felix

0 Kudos
Message 2 of 10
(7,084 Views)

Look at the vi's on the Connectivity...ActiveX pallet.  I have used these vi's for various stuff including automation of Excel.  Also, search "Automation" in the example finder.  The "Write Table To XL.vi" is a good example.  If there is some specific part you are getting hung up on, post again.

Cheers,

-cb

0 Kudos
Message 3 of 10
(7,083 Views)

Thanks guys for the responces. But here is my problem.

 

I know how to find ActiveX tools in LabVIEW but the problem is the LABELVIEW software utilizes the OLE Automation and I have no idea how to use it within LabVIEW.

 

Did somebody worked on such a project?

0 Kudos
Message 4 of 10
(7,054 Views)

Hey slavie,

Unfortunately OLE is no longer supported in LabVIEW (see this article for more info). Can your LABELVIEW software (or an updated version of it) handle ActiveX commands? I recommend using ActiveX, as the other posters mentioned.

David G
Sales Engineer - SE Michigan & N Ohio
National Instruments
0 Kudos
Message 5 of 10
(7,040 Views)
Thank you DJ Dave, I'll call their customer service. I really do want using ActiveX.
0 Kudos
Message 6 of 10
(7,028 Views)

Dear all,

I need to print label to print with labelview, but I don't known how to use labelview in labview.

1.I have LABELVIEW 8.10

2.I have labview 8.6

Boone

0 Kudos
Message 7 of 10
(6,818 Views)
Boone, as is discussed above, it may be possible to 'call into' labelview if it has a COM server (ActiveX). Can you please confirm that it has such a feature?
Jeff | LabVIEW Software Engineer
0 Kudos
Message 8 of 10
(6,776 Views)

Dear JeffL,

I find the DCOM, as the picture1.

the VB at: http://www.labelview.co.uk/labelviewpatches/LV_OLEsamples.zip

Boone

0 Kudos
Message 9 of 10
(6,754 Views)

Dear all,

It's a mistake from a bad source, I download from www.labelview.com and setup again. all is ok.

if some one want to call Labelview by labview, please do as follow.

1.Install labelview.

2.Insert ActiveX open and chose LBLVW32.TLB from you LV's folder.

3.Use app or doc reference lv's manual.

Boone

Thanks a lot

0 Kudos
Message 10 of 10
(6,730 Views)