Hello itti,
It would be very helpful if you could provide us with some additional information. By "DIAdem DAC VBScript" I assume you mean a DIAdem DAC block diagram-- you're not really running a VBScript as part of your data acquisition are you?
Also, how does the NI Data Socket Server interact with the DIAdem DAC block diagram-- do you want the DAC program to send data over Data Socket, or do you want an external program (LabVIEW?) to send data over Data Socket to DIAdem DAC?
How does what you want to achieve differ from the NI OPCDemo?
Looking forward to helping,
Brad Turpin
NI