Dear Sir
I am programming FP-AO-210 using OPC Client program using VB 6.0 I have made two buttong one for connect and other for Disconnect.The purpose is whatever value
is wriiten in the text box should be outputted to the analog output module when the connect button is pressed.
Dim value as variant
Private Sub cmdConnect_Click()
'socket for reading data from channel 0
CWDataSocket1.AccessMode = cwdsWriteAutoUpdate
CWDataSocket1.URL = "opc://localhost/National Instruments.OPCFieldPoint/FP Res\FP-AO-210 @3\Channel 0"
CWDataSocket1.Connect
value = CDbl(Text1.Text)
CWDataSocket1.Data.value = value
End Sub
'disconnecting from the network
Private Sub cmdDisconnect_Click()
CWDataSocket1.Disc
onnect
End Sub
But I am not getting any response i.e I am not getting any output from the FP-AO-210 module. What could be the possible problem and the solution for that at the earliest.