1 800 642-6446 Toll-free
1 585 657-6151 In New York
VelmexControls
Velmex
|
BiSlide
|
XSlide
Download
Download Driver
How To
Add To Your Project
Call From Your Project
Driver Functions
LoadDriver
ReleaseDriver
DriverTerminalShowState
PortOpen
PortClose
PortIsOpen
PortSendCommands
PortReadReply
PortCountChars
PortSearchForChars
PortClear
PortRemoveChars
MotorPosition
PortWaitForChar
PortWaitForCharWithMotorPosition
DriverResetFunctions
Example Code
Examples
VXM Driver Documentation - PowerBasic - How to add driver to your project
How to add the VXM driver to your project
To add the VXM driver to your PowerBasic project you must do the following
Project Pre Set Up
1.) Create a folder for your project
2.) Copy the VxmDriver.dll and VxmDriver.inc files into your project folder
4.) Create a new project (*.bas) save it to your project folder
Adding driver to your project
1.) Open your project
2.) Open your code window
3.) In the code window in the declaration section (above all the subroutine) type the following
#INCLUDE "VXMDRIVER.INC"
4.) In the WINMAIN function type the following
LoadDriver "VxmDriver.dll" 'Set the inc wrapper to use driver
5.) In the DlgProc event under the %WM_DESTROY type the following
ReleaseDriver
6.) Save the project