Visual Basic Sample source code
-- a basic visual basic sample application --
-----   Level 2   -----
( basic, yet shows a lot of functionality )   --


A little about this document
Quick jump to
Screenshots     About this document



Since the sample source code is rather lengthy, please refer directly to the source code within    .   for more information.

The sample shown there demonstrates various ways to interract with the M201_SP.DLL using the following API function calls:

EX_Run
EX_CheckRun
EX_Stop
EX_SendDigout
EX_GetDigin
EX_GetScanDataDbl
EX_GetMultiChanScanChanCodes
EX_SetMultiChanScanChanCodes
EX_SetLengthOfRunMs
EX_SetLengthOfRunSec
EX_SetRunEndBeepOptions
EX_StopRunEndBeep
EX_SetDataLogOptions
EX_GetOneConversion
EX_ShowDevSetupInfo_MsgBox
EX_ShowDevSetupInfo_WriteToFile
EX_SetDevToDefaultSetup
EX_SetDevToIniSetup


If you would like to load a page which is the same as this except the images below replaced with links to each, click the following link:
Show Only Links to Screenshots

















































Some Application Screenshots
Quick jump to
Screenshots     About this document



If you would like to load a page which is the same as this except the images below replaced with links to each, click the following link:

Show Only Links to Screenshots


 
started and waiting for user input
starts automatically using COM-1 and other defaults


 
sent and read digital I/O


 
showing configuration setup information


 
showing what the DLL sees as current configuration


 
scan channel configuration options
all channels not to be scanned are set to 10-Hex
NOTE: be sure to make start sub lower or equal to end sub


 
what the DLL sees as current configuration after scan-chan changes
note specifically the automatic adjustment to the "scan interval"


 
showing data being read during a scan








Contact us for sales or technical assistance
lawsnlab@lawsonlabs.com

on the web
www.lawsonlabs.com

© Lawson Labs Inc. All rights reserved
Last modified 1-20-05 Tim Van Dusen