LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use of COM interfaces in LabVIEW 6.0.2

Hello,

is it possible to use COM interfaces in LabVIEW 6.0.2? If it is possible could someone please send me an "manual" (short discription how to do it)

Regards Thomas
0 Kudos
Message 1 of 6
(3,078 Views)
If you want use COM in LabVIEW, you have 2 options:
1) COM with GUI - create on Front Panel ActiveX/ Container, click right button and select Insert ActiveX Object.
2) COM without GUI - create on Front Panel ActiveX/Automation Refnum, click right button and Select ActiveX. On diagram you have use Automation Open for opening of object and Automation Close for closing.

If your question is about how create COM object with LabVIEW - the answer is "You can't"
0 Kudos
Message 2 of 6
(3,078 Views)
Are you refering to Serial Interface?

If yes, the easiest way is to use Serial Compatibility vi(s) at

Functions Palette> Instrument I/O> I/O Compatibility> Serial Compatibility

Alternatively, you may wanna use VISA for Serial at

Functions Palette> Instrument I/O> Serial


Try to locate some example codes on Serial Interface as well.

brgds
ian.f
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 3 of 6
(3,078 Views)
I think I am having brain-dead now... just write anything that's in my mind. This might be gone out of topic 😛
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 4 of 6
(3,078 Views)
Hello,

I think my question was a little bit unclear. I want to use C++/Microsoft COM (Common Object Model) Interfaces.

Regards
Thomas
0 Kudos
Message 5 of 6
(3,078 Views)
> I think my question was a little bit unclear. I want to use
> C++/Microsoft COM (Common Object Model) Interfaces.
>

Use the ActiveX open node on the diagram. Create a input constant for
the type specifier and browse to the typelib for the interface. LV
supports a subset of the datatypes that are needed for Automation
interfaces, but these are the most common anyway. From the open you can
connect Invoke and Property nodes to access the interface elements.

Greg McKaskle
0 Kudos
Message 6 of 6
(3,078 Views)