FetchLimits Subroutine Example

The following example gets the high and low EGUs for the data item FIX32.NODE1.AI1.F_CV and enters them in two text fields.

Dim sngHi As Single

Dim sngLo As Single

Dim intRet As Integer

Call FetchLimits ("FIX32.NODE1.AI1.F_CV", sngHi, sngLo, intRet)

If intRet = 0 Then

txtHighEGU.Caption = sngHi

txtLowEGU.Caption = sngLo

End If