K8055-MARIE : DEMO

WECAM

The card setup functions work asynchronously.
Function for retrieving the card status operate synchronously.
All functions have the (optional) option to start the callback function after their finishing. (except the function "SetCurrentDevice()")
A special function "K8055_Json ()" is described below.

Note 1:
This demo is designed for USB card K8055 with set address 0. Cards with other addresses (connected to the PC) will be detected by function "SearchDevice()", but only the card with address 0 will be controlled.
Note 2:
JavaScript K8055.js uses the jQuery library. Check your browser's compatibility with the current version of used jQuery library!

"Standard Velleman" functions

CARDs

   Addresses of connected USB cards (separated by |)
   Set 0 as selected address of connected USB cards

ANALOG INPUTs

Analog IN 1 | Analog IN 2

DIGITAL INPUTs

COUNTERs

t =  ms t =  ms

ANALOG OUTPUTs

x = y =
x =
y =
Analog OUT 1 | Analog OUT 2

DIGITAL OUTPUTs

x =

N.P.C. functions

GENERATORs

g = g =
f =  Hz f =  Hz
t =  s t =  s

MULTI-READs

   Counter1 | Counter2
   Analog IN 1 | Analog IN 2 | Digital IN | Counter1 | Counter2
   Analog IN 1 | Analog IN 2 | Digital IN | Counter1 | Counter2 | Analog OUT 1 | Analog OUT 2 | Digital OUT

JSON status function (K8055-MARIE ver. 2.7+)

Asynchronous response, then the ability to run the specified callback function (optional). Card status is accessible via the special variables.

This function can (usually) be used for periodical reading of the card status in the background (using a timer).

The older function "SwissKnife()" (ver. 2.50-2.60a) is no longer supported!







   =>   

card[0].OUT.ANALOG.A=
card[0].OUT.ANALOG.B=
card[0].OUT.DIGITAL=
card[0].IN.ANALOG.A=
card[0].IN.ANALOG.B=
card[0].IN.DIGITAL=
card[0].COUNTER.A=
card[0].COUNTER.B=
 – function works with K8055D.DLL ver. 4.0.0.0 (or higher)      – function needs K8055D.DLL ver. 5.0.0.0

©2011-19 – N.P.C. – designed for network applications K8055-MARIE version 2.72a or higher.
(Partial compatibility with versions 2.00-2.71 is possible – but not guaranteed!)