Ref Card VM110N
I have recently purchased this card.
I have most of it working.
How do I access the value of the Digital Analogue Input Value?
For instance 3.3 volts (a battery connected to ckt1 A1 & com)
(Using Visual Studio Demo)
How can I auto connect to the card?
[quote]How do I access the value of the Digital Analogue Input Value?[/quote]You may use the functions:
ReadAllDigital
ReadAllAnalog
Private Declare Function ReadAllDigital Lib "k8055d.dll" () As Integer
Private Declare Sub ReadAllAnalog Lib "k8055d.dll" (ByRef Data1 As Integer, ByRef Data2 As Integer)
Example:[code] Dim i As Integer
Dim Data1 As Integer
Dim Data2 As Integer
i = ReadAllDigital
ReadAllAnalog(Data1, Data2) [/code]
Thank you
I already had that but, due to a happy accident I have solved the problem.
To read an Input at A1 &/or A2 the jumpers SK1 &/or SK2 have to be removed.
DOH!