Hello,
I'm working with LabVIEW 6.1 and I'm trying to let my Application
communicate
with my OPC DA 2.0x Server. I enhanced my Server with a custom name space
feature.
This means any time a foreign OPC Client (My LV App for example) tries to
access
an unknown OPC tag my server dynamically adds that tag to the servers adress
space.
LabVIEWs data soket funktions do take variant type inputs and out puts in
order to
pass any type of simple data.
Unfortunately, it seems like LabVIEWs variant type is not actually the same
like microsofts
OLE automation variant.
No matter how I do pass a float value to the server, both fired events
"OnValidateTag"
and "OnAddTag" are not able to receive the data type
number (VT_I4 , VT_R4,
VT_R8 ...)
of the new tag to be added.
Does anybody know how to pass type save variants between LabVIEW and DCOM
component
so that the DCOM component is able to aquire the type of the receved
variant?
Thanks a lot, Sebastian