.
.
...for DELPHI 1 (16-Bit)
...for DELPHI 2 (32-Bit)
...for DELPHI 4 (32-Bit)

...for Visual BASIC 3 (16-Bit)
...for Visual BASIC 5 (32-Bit)
...for Visual BASIC 6 (32-Bit)

...for ANSI C

...for EXCEL 7.0
...for POWERPOINT 7.0

Hardware description
driver files for various programming environments
back
HOME

.

PROGRAMMING SKELETONS

Use these simple skeletons for a first start. This is the fastest way to success. All examples are simple applications, which provide the basic functions needed for identifying the interface and writing data to it. Just add some additional functionaluty as required by your application and there you go. There is no faster way to start. Enjoy.

For every example you can download an archive file containing all project files, drivers, sources and explanations. Please check for the existence of a README.TXT file before you start working on a project, as important information for proper setup and last-minute information may be contained. A more detailed hardware description containing steps how to access the interface card can be found at HARDWARE, while DRIVERS explains the function calls of the drivers used. All files presented have been thoroughly tested, but we cannot assume any responsibility for problems arising from software or hardware incompatibilities, errors or omissions. All files presented can be used royalty-free.

These pages are frequently updated.
last updated:: 18-04-2002.


DELPHI 1.0

  DELPHI 1 Demo

The DELPHI1 skeleton contains of a simple 4-channel desk, with four faders directly written to the card's DMX output. Output is under control of a timer.

OperatingSystem:    for Cards: 

DOWNLOAD:    DEDEMO.EXE  approx. 13kB


DELPHI 2.0

  DELPHI 2 Demo

The DELPHI2 skeleton is identical to the solution presented for DELPHI 1, but DLL calls have been adjusted to match the requirements of the 32-bit programming environment.

Operating System:    for Cards: 

DOWNLOAD:    DE32DEMO.EXE  approx. 35kB


DELPHI 4.0

  DELPHI 4 Demo

The DELPHI4 skeleton shows a fader panel, representing 16 out of 512 channels of DMX output data. Yoy may switch the card data transfer on or off. This project makes use of a special unit to be installed in the DELPHI tool bar. Feel free to use this special pc card unit for your own projects as you go. This project does not use special resources and can be loaded in DELPHI 2, too.
PROJECT PUBLISHED BY COURTESY OF UWE TETZLAFF, DOC COMPUTER GMBH

Operating System:    for cards: 

DOWNLOAD:    DE4DEMO.EXE  approx. 220 kB


Visual
BASIC 3.0

  VB3 Demo

Ther Visual BASIC 3.0 skeleton again doubles the functions of the DELPHI 1 demo. Since both projects are virtually identical, this allows for easy comparison of the programming code.

Operating System:    for Cards: 

DOWNLOAD:    VBDEMO.EXE  approx. 10kB


Visual
BASIC 5.0

  VB5 Demo

The Visual BASIC 5.0 skeleton is identical to the VB3 solution, but file transfer and DLL calls have been modified to match the Win95/98 requirements.

Operating System:    for Cards: 

DOWNLOAD:    VB5DEMO.EXE  approx. 33kB


Visual
BASIC 6.0

  VB6 Demo

Some additional features, such as bump buttons and signal patching, have been packed into this Visual BASIC 6.0 skeleton. Besides that, the card detection and initialization routine has been enhanced to identify all card types available. VB6 programmers should also check the EXCEL demo, which provides a slightly different method for card detection and initialization.

Operating System:    for Cards: 

DOWNLOAD:    VB6DEMO.EXE  approx. 33kB


Visual
BASIC 6.0

  VB6 Demo

This Visual BASIC 6.0 skeleton is identical to the version above, but uses a different driver approach. The standard DLL functions have been replaced by more generic I/O access commands, supplied by an encapsulated virtual device driver, which allows access from all Windows versions. Please read the attached README.TXT before you start this project.

Operating System:    for Cards: 

DOWNLOAD:    VB6_NTX.EXE  approx. 53kB


Visual
BASIC 6.0

  VB6 Demo

This Visual BASIC 6.0 skeleton defines the basic output routines for accessing the USBDMX1 interface. Please make sure to install the USBDMX1 interface as described in the hardware section as to make Windows aware of the existence of the interface. Please read the project comments carefully before you start this project.

Operating System:    for Interface: 

DOWNLOAD:    USBVB6.EXE  approx. 36kB


Visual
BASIC 6.0

  VB6 Demo

This Skeleton for Visual BASIC 6.0 demonstrates the output to the USB Interface USBDMX1, as well as to the PCMCIA Interface Card 2512A. For each interface, a separate DLL provides the functions for data transfer. The demo program allows to select the required type of interface and lists the different declarations and procedures to access the interface.

Operating System:    for Interface: 

DOWNLOAD:    D6PCM.EXE  approx. 13kB


Visual
BASIC 6.0

  VB6 Demo

This Skeleton for Visual BASIC 6.0 demonstrates the output to the DMX interface cards 1512A, 1512B, 1512C, as well as the USB Interface USBDMX1, and the PCMCIA interface adapter 2512A. For each interface, a separate DLL provides the functions for data transfer. The demo program allows to select the required type of interface and lists the different declarations and procedures to access the interface.
To access the interface cards, the DriverLINX DLPortIO driver must be installed first. All standard DLL functions have been replaced by routines calling this driver; the routines are contained within the project module. Please check the README file before starting this project.

Betriebssystem:    für Interface: 

DOWNLOAD:    D6PCM.EXE  ca. 120kB


Visual
BASIC 6.0

  VB6 Demo

This Skeleton for Visual BASIC 6.0 demonstrates the output to the DMX interface cards 1514PCI, 2514PCI, as well as the USB Interfaces USBDMX1 and USBDMNX2, and the PCMCIA interface adapter 2512A. This demo is suited for Please note, that this demo does not contain the necessary interface device drivers and DLLs, please copy from elsewhere.

Operating system:    for interface: 

DOWNLOAD:    VBPCI.EXE  approx. 6kB


Visual
BASIC 6.0

  VB6 Demo

This Visual Basic 6.0 skeleton will provide DMX output on interface cards 1512A, 1512B, 1512C, USB interfaces USBDMX1 as well as USBDMX2, and PCMCIA interface card 2512A. Each interface is using its own DLL to provide the functions needed. Comments thoughout the source code are describing functions and procedures.
To use DMX slot cards you need to install the port driver DriverLINX DLPortIO. All standard DLL functions have been re-written to support this driver and are contained in the program module. Pleas read the README file for more information.

    Known Issues: 
  • USB interfaces have to be disconnected before shutting down the PC when using Windows 2000 or XP.
    Revised USB device drivers will be available very shortly.
  • The PCMCIA driver call used has not yet been coded to work with Windows 2000/XP

Operating system:    for interface: 

DOWNLOAD:    D18SRC.ZIP  approx. 2,23MB


ANSI C

  C Demo

This ANSI C skeleton uses a freeware compiler (see source code file). The demo program shows how to access the USB interfaces USBDMX1 and USBDMX2. The interface must have been installed properly before calling the demo.

    Known Issues: 
  • This demo works fine on Windows 2000/XP. Running the demo on Windows 98 will create a system protection fault error. We are about to work on that issue. If you have a solution handy, please write webmaster@pcdmx.com

Operating system:    for Interface: 

DOWNLOAD:    USBSAMPL.ZIP  approx. 71kB


EXCEL 7.0

  EXCEL 7 Demo

Writing DMX512 from a spreadsheet? Why not! The EXCEL 7 skeleton features Visual Basic for Applications (VBA), which is part of the MS Office suite. The skeletion uses a macro, which sends data the the interface card each time the spreadsheet's contents are changed.

Operating System:    for Cards: 

DOWNLOAD:    XLS2DMX.ZIP  approx. 47kB

Operating System:    for Interfaces: 

DOWNLOAD:    XLSPCP.EXE  approx. 38kB


PowerPoint

  PPT 7 Demo

The POWERPOINT skeleton consists of a single screen. After the presentation has been startet, clicking onto the spot images will switch the lights on DMX channel 1. This is accomplished by macro functions (action setting) attached to the JPEG files.

Operating System:    for Cards: 

DOWNLOAD:    PPT2DMX.EXE  approx. 351kB


GENERAL NOTES:
Please use the appropriate project files contained within each demo to load and start the project. If available, please read the LIESMICH.TXT or README.TXT file which contains additional project information or setup instructions. Please copy all *.DLL files to your \WINDOWS\SYSTEM directory to enable Windows to access the library functions. Please make sure not to overwrite newer files of same name. Please report problems or submit your own proposals, solutions and demos to the Programmer's Network; your input will be highly appreciated. All materials are copyright (C)1999-2002 SLH.