aiki202
Member
I am trying to simply display a PLC string tag value (text) in a VBA control (msgbox or anything...just to get it working). The following code is what I have tried with no success:
Where "Fix32.L2.Heartbeat_FromABPLC_Loss_0" is the iFIX Text database tag.
Dim str_DateTimeStamp As String
1st try...
str_DateTimeStamp = Fix32.L2.Heartbeat_FromABPLC_Loss_0.A_CV
2nd try...
str_DateTimeStamp = ReadValue("Fix32.L2.Heartbeat_FromABPLC_Loss_0.A_CV")
The error message I get is #-2147187524
"Field's value not known"
I have the IGS driver setup to communicate to an AB CompactLogix controller. The string data from the PLC looks good in the IGS runtime window. I imported the required IGS tags into the iFIX tag database using the Discovery & Configure utility. I have double checked both and they appear to be setup correctly???
Anyone know what I might am doing wrong?
Where "Fix32.L2.Heartbeat_FromABPLC_Loss_0" is the iFIX Text database tag.
Dim str_DateTimeStamp As String
1st try...
str_DateTimeStamp = Fix32.L2.Heartbeat_FromABPLC_Loss_0.A_CV
2nd try...
str_DateTimeStamp = ReadValue("Fix32.L2.Heartbeat_FromABPLC_Loss_0.A_CV")
The error message I get is #-2147187524
"Field's value not known"
I have the IGS driver setup to communicate to an AB CompactLogix controller. The string data from the PLC looks good in the IGS runtime window. I imported the required IGS tags into the iFIX tag database using the Discovery & Configure utility. I have double checked both and they appear to be setup correctly???
Anyone know what I might am doing wrong?