Dear All,
I have a following property:
Public Overrides Property Acc(ByVal axis As Short) As Double
Get
End Get
Set(ByVal value As Double)
End Set
End Property
I am accessing a variable from my hardware by using the following statement:
_Interface.Value(Acceleration.X).
The X stored inside my hardware structure is of type string. Is there a way to pass an integer in the above property and it maps with X in my hardware? So when I write _Interface.Value(Acceleration.1) it should automatically correspond that it is for X.
Loading
VulpesPosted Mar 8, 2012, 9:31 AM
You could also write _Interface.Value(Acceleration.X(1)) if the Value method or property takes a Double parameter and this is the return type of the X property.