konimarti / opc

OPC DA client in Golang for monitoring and analyzing process data based on Windows COM.
MIT License
237 stars 85 forks source link

read() to get discribe and datatype info #44

Open pfx546746447 opened 2 years ago

pfx546746447 commented 2 years ago

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.