konimarti / opc

OPC DA client in Golang for monitoring and analyzing process data based on Windows COM.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

read() to get discribe and datatype info

pfx546746447 opened this issue · comments

hello,
if i want to get opcitem discribe and datatype info
v := ole.NewVariant(ole.VT_R4, 0)
q := ole.NewVariant(ole.VT_INT, 0)
ts := ole.NewVariant(ole.VT_DATE, 0)

how i should add the ole VT TYPE.