|
Model JSB-340 |
||
|
Software Interface |
| The following DLL functions provide an interface between the user application and the JSB-340 USB module. They can be called by any high level language or third party software that supports standard windows DLL calling convention. Software provided with the JSB-340 module includes the DLL, USB Windows 98/ME/2000/XP driver, sample application source code for VisualBasic and VisualC++. |
|
DLL Functions |
|
Function |
Description |
| GetNumberOfModules | Returns the number of JSB340 Modules that are currently attached to the USB |
| GetSerialNumberOfModule | Returns a ascii string that is the serial number of the request JSB340 module. The serial number is a unique value assigned to all module, that allow multiple modules to be controlled. |
| GetMaxInputs | Returns the number of inputs for the module |
| GetMaxOutputs | Returns the number of output relay for the module |
| FlashModuleLed | Flashes the LED on the module. |
| SetOutputBit | Sets or clears the given Relay. |
| SetAllOutputOff | Turns all the relay off. |
| SetAllOutputOn | Turns all the relay on. |
| SetOutputValue | Sets the relays to the given value. |
| IsOutputBitOn | Returns True if the given relay bit is on. |
| ReadInputValue | Reads the current value of the inputs. |
| ReadOutputValue | Reads the current value of the relays. |
| IsInputBitOn | Returns True if the given input bit is on |
| GetLastError | Returns the last error. |
|
Specifications subject to change without notice |
| J-Works,Inc |
| 11024 Balboa Blvd. #402 |
| Granada Hills, CA 91344 |
| 818 364-0915 voice 818 364-0912 |
| sales@j-works.com |