|
THE MAIN WEB LINK goes to links for Labview, C++, and VB sample apps with source code, DLL, drivers, and DOCS |
|
complete API Documentation updated 3-3-06 |
At THE MAIN WEB LINK you'll find folders for LabView developers, VisualBasic developers, VisualC++ ( or other C/C++ developers ) and a folder that contains resources to be shared by all developers such as driver, DLL, .ini files, docs, etc. You should be able to download any file located in any of those folders by right-clicking your mouse on it and choosing the "Save Target As" option from the menu that appears. You may also be able to open Read_1st.txt file directly into your browser just by double-clicking your mouse on it. Be aware that if you load Read_1st.txt into your browser, you will typically need to hit the browser "back" button to return to this page since it will be opened within the the same browser window. The folder _Examples in each of the development language type folders contains groups of sample code - each showing ways to interract with the functions (API) available with the DLL. There is an archive within each of those folders which allow you to download an entire project at once or you can download a single file such as a .cpp source or .h header file to see what's going on. Depending on your browser configuration, you may be able to just left-click your mouse on one of the source files (.cpp, .h, .bas, etc.) and it will open as a text document in your browser's window (or maybe automatically load the particular file into your IDE for viewing) giving you a quick and easy way of getting a feel for how easy it can be to interract with our new DLL. The folder All developers can make use of the simplified API using the DLL LL_USB2k.DLL for Win2k/XP/NT developers with it's Device Driver LL_USB2k.sys located at: Driver, DLL, .INI, .Inf, etc. Win2k/XP/NT or LL_USB.DLL with it's Device Driver LL_USB.sys located at: Driver, DLL, .INI, .Inf, etc. Win98/ME Important: That DLL at the link given, will always be the most recent. The various archives may contain an older copy of the DLL that was created at the time the particular archive was made. Although a new DLL may be created to fix certain errors that we became aware of, it is more often the case that a new one is created to add even more functionality to make the developer's job interracting with the DLL easier. You can always replace the copy of the DLL that was included in your archive with the newest one. The link above simply takes you to a folder located at the main link given in bold further up this page. If you've previously installed one of our devices, you will only need to copy the .sys (device driver) into your "windows/system32/drivers" directory (overwrite previous driver) and place the .dll file within the application directory. If you haven't previously installed, you will need to place all of those files into the same location (floppy disk is preferred) to be used by the Windows installer when you first connect your device. The API is documented with prototypes and descriptions for all programming languages mentioned above at: API Documentation The link above simply takes you to one of the sub-folders located at the main link given in bold at the middle of this page. Please Note: the FuncUse.htm file located there may be updated more frequently than the one that is actually located within the archive. This is a relatively new project and we continue to add more documentation to explain the API while still allowing the download and use of the simplified DLL. There are many functions within the DLL to simplify development of an application around our Model-30x devices so it will take a little while to fully document. ( HTML update: 3-3-06 ) If you've previously loaded one of the HTML files in your browser, you may need to use your browser's "refresh" button to view the contents of the updated file. ( DLL update: 3-3-06 ) Just copy the newest over top of the previous one - driver update required if DLL version is older than driver version ( Driver update: 7-6-04 ) Just copy the newest over top of the previous one. ( Sample application update: frequent ) Please check listing to see if there is anything new for your development platform |
| ||||
|
VisualC++ sample applications with source code adaptable to any C/C++ compiler |
| PROJECT | OS Link | Functions demonstrated | ||
| vc30xSP |
|
connect to device, set a channel, read a voltage. Uses the functions shown below. EX_Connect, EX_SetPolledModeChan, EX_GetOneConversion |
||
| vc30xSP2 |
|
connect to device,
set a channel,
read a voltage,
run a scan ( logs data to a file on your disk drive ),
stop a scan that was started,
send a digital output,
read a digital input. Uses the functions shown below. EX_Connect, EX_SetPolledModeChan, EX_Run, EX_SendDigout, EX_GetDigin, EX_Stop, EX_StopComplete |
||
| vc30xSP2b |
|
connect to device,
set specific channels to log to disk file,
run a scan ( logs data to a file on your disk drive ),
stop a scan that was started. Uses the functions shown below. EX_Connect, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetMultiChanScanChans_TO_LOG, EX_Run, EX_Stop, EX_StopComplete |
||
| vc30xSP2c |
|
connect to device,
configure using either default values stored within the DLL or the M30x_SP.INI file included in this distribution,
set specific channels to log to disk file,
run a scan ( logs data to a file on your disk drive ),
stop a scan that was started. Uses the functions shown below. EX_Connect, EX_SetDevToIniSetup, EX_SetDevToDefaultSetup, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetMultiChanScanChans_TO_LOG, EX_Run, EX_Stop, EX_StopComplete |
||
| vc30xSP3 |
|
connect to device,
setup for a limited-time scan run that ends after preset time ( logs data to a file on your disk drive ),
set options to BEEP the PC speaker when the scan ends,
run and stop a scan. Uses the functions shown below. EX_Connect, EX_SetPolledModeChan, EX_SetLengthOfRunSec, EX_SetRunEndBeepOptions, EX_Run, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
||
| vc30xSP4 |
|
connect to device,
setup for a scan that ends with a digital input event ( logs data to a file on your disk drive ),
set options to BEEP the PC speaker when the scan ends,
run/stop a scan. Uses the functions shown below. EX_Connect, EX_SetPolledModeChan, EX_SetScanType, EX_SetLengthOfRunSec, EX_SetScanEndEvent, EX_SetRunEndBeepOptions, EX_Run, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
||
| vc30xSP5 |
|
connect to device,
setup for a multi-channel ( 2 channels ) scan ( logs data to memory to be displayed by application ),
run and stop a scan. Uses the functions shown below. EX_Connect, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_GetScanDataDbl, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
||
| vc30xSP6 |
|
connect to device,
setup for a multi-chan-'digital-input'-calibration ( 7 channels + calibration channel 7 ) scan ,
run and stop a scan ( logs data to memory to be displayed by application ). Uses the functions shown below. EX_Connect, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_GetScanDataDblDigin, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
||
| vc30xSP6b |
|
FEATURES (for the Model 302) - multi-chan-'digital-input'-calibration (7 channels + calibration channel) scan threaded device connection - allows use of GUI progress-bar or other function while connecting to device(s), connect to device, run and stop a scan ( logs data to memory to be displayed by application ). Uses the functions shown below. EX_Connect, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_GetScanDataDblDigin, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
||
| vc30xSP6c |
|
FEATURES (for the Model 301) - multi-chan-'digital-input'-calibration (3 channels + calibration channel) scan threaded device connection - allows use of GUI progress-bar or other function while connecting to device(s), connect to device, run and stop a scan ( logs data to memory to be displayed by application ). Uses the functions shown below. EX_Connect, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_GetScanDataDblDigin, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
||
| vc30xSP6d |
|
This is a threaded device connect for a single or multiple devices. Device ID's are passed in a call to the DLL, and then
the DLL can be polled periodically to find out which devices connected. This allows the application to do tasks, while the
DLL, in the background, initializes the devices. Unlike the other threaded initialization functions, this example allows
for queueing devices at any time, any order. The examples above, require all devices to be place in a list. This example,
after conected, gets a single conversion to confirm valid functional initialization. Uses the functions shown below.
EX_DLL_Init, EX_ThreadedInitDev, EX_GetOneConversion, EX_EndThreadedDevInit, |
||
| vc30xSP7 |
|
FEATURES - Scan Data Averaging ( shows comparison of no averaging and BLOCK style averaging ) threaded device connection - allows use of GUI progress-bar or other function while connecting to device(s), connect to device, setup for a multi-channel-calibration (7 channels + calibration channel) scan, run and stop a scan ( logs data to memory to be displayed by application ). Uses the functions shown below. EX_Connect, EX_SendRate, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_GetScanDataInt, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
||
| vc30xSP7b |
|
FEATURES - Scan Data Averaging ( shows comparison of no averaging, BLOCK style averaging, and RUNNING average ) threaded device connection - allows use of GUI progress-bar or other function while connecting to device(s), connect to device, setup for a normal-multi-channel (8 channels) scan which then uses the channel 7 data for calibrating the other channel data, run and stop a scan ( logs data to memory to be displayed by application ). Uses the functions shown below. EX_Connect, EX_SendRate, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_GetScanDataDblDigin, EX_GetScanDataInt, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
| VisualBasic sample applications with source code |
| LINK | Functions demonstrated |
| GetOneVoltage |
connect to device,
read a voltage from default channel zero. Uses the functions shown below. EX_Connect, EX_GetOneConversion |
| .INI example |
load configuration from M30x_SP.ini,
start and end a single-channel scan. Uses the functions shown below. EX_Connect, EX_SetDevToIniSetup, EX_SetDevToDefaultSetup, EX_GetPolledModeChan, EX_GetRoundedRate, EX_GetCalculatedRate, EX_SetDataLogOptions, EX_Run, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
| Scan Example |
connect to device,
start and end a single-channel scan,
perform channel change during scan. Uses the functions shown below. EX_Connect, EX_SetDataLogOptions, EX_SetScanType, EX_SetPolledModeChan, EX_Run, EX_CheckScanStatus, EX_GetScanDataInt, EX_Stop, EX_StopComplete |
|
|
connect to device,
start and end a multi-channel scan. Uses the functions shown below. EX_Connect, EX_SetDataLogOptions, EX_SetScanType, EX_SetMultiChanScanChans, EX_Run, EX_CheckScanStatus, EX_GetScanDataInt, EX_Stop, EX_StopComplete |
| MultiFunction |
connect to device,
set a channel,
read a voltage,
send analog output,
send and read digital I/O. Uses the functions shown below. EX_Connect, EX_GetDigin, EX_SendDigout, EX_SetPolledModeChan, EX_GetOneConversion, EX_SendDAC |
| AutoScanEnd |
connect to device,
setup for a scan that ends after the data log file reaches a size that you set,
shows how to check status of the scan that is running
run and stop a scan - this sample application logs the scan data to a disk file. See documentation for logging to memory
to be read by application or log to both disk and memory. - Uses the functions shown below EX_Connect, EX_SetDataLogOptions, EX_Run, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
| VisualBasic.NET sample applications with source code ( you must have the .NET environment installed to use these ) |
| LINK | Functions demonstrated |
|
|
|
|
|
connect to device(s) you pass to DLL,
set single-chan-scan chan,
set internal device rate,
setup, start, and end a multi-channel-digin scan. Uses the functions shown below. DLL_Init, DLL_InstanceInitDeviceList DLL_StartScan_DIO DLL_ReadScanDataWithDigin DLL_EndScan_DIO SP_SendChan SP_SendRate |
|
|
|
|
|
connect to device(s) you pass to DLL,
set single-chan-scan chan,
set internal device rate,
setup, start, and end a multi-channel-digin scan. Uses the functions shown below. SP_InitAllDevices, DLL_StartScan_DIO DLL_ReadScanDataWithDigin DLL_EndScan_DIO SP_SendChan SP_SendRate |
|
|
<-- this is recommended ( requires DLL version 12.9.2008.0 or later for some functions ) |
| Very basic coding example |
connect to first device found by DLL,
send a digital output,
read digital input - this all requires just a few lines of code. Uses the functions shown below.
EX_Connect, EX_SendDigout EX_GetDigin |
| Multi-function example |
connect to first device found by DLL,
send a digital output,
read digital input, set some scan parameters, start and stop a multi-channel-digital-input scan.
Uses the functions shown below.
EX_Connect, EX_SendDigout, EX_GetDigin, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_CheckScanStatus, EX_GetScanDataInt, EX_Stop, EX_StopComplete |
| Multi-device example |
connect to device(s) you pass to DLL,
send a digital output,
read digital input, change channel, change rate, set some scan parameters, start and stop a multi-channel-digital-input-calibration
scan.Uses the functions shown below.
EX_ConnectAllDevices, EX_ConnectOneDevice, EX_SendDigout, EX_GetDigin, EX_SendChan, EX_SendRate, EX_SetScanType, EX_SetMultiChanScanChans, EX_SetDataLogOptions, EX_Run, EX_CheckScanStatus, EX_GetScanDataInt, EX_Stop, EX_StopComplete |
| C#.NET sample applications with source code ( you must have the .NET environment installed to use these ) |
| LINK | Functions demonstrated |
| Scan Example |
connect to device,
get a single conversion,
send and receive digital I/O,
setup, start, and end a multi-channel-digin scan. Uses the functions shown below. EX_Connect, EX_Connect EX_SetPolledModeChan EX_GetOneConversion EX_SendDigout EX_GetDigin EX_SetScanType EX_SetMultiChanScanChans EX_SetDataLogOptions EX_CheckScanStatus EX_GetScanDataDbl EX_GetScanDataDblDigin EX_Run EX_Stop EX_StopComplete |
| LabView sample applications with source code |
| LINK | Functions demonstrated |
| _PleaseTryThisTest |
demonstrates how to interract with the DLL using arrays and strings. Uses the functions shown below. DLLtest_StringFill, DLLtest_IncrementArrayElements, DLLtest_IncrementOne |
| _SimpleExample |
connect to device,
read a voltage from default channel zero. Uses the functions shown below. EX_Connect, EX_GetOneConversion |
| _GetVersionInfo |
an example that demonstrates getting the DLL version number and expected driver version. Uses the functions shown below. SP_GetDLL_Version, SP_GetDLL_CompilationInfo, DLL_GetDriverMemVersionInfo |
| _ConnectJustOneDevice |
simple example of DLL function that locates and connects to the first
Model-30x device it finds on your system. Uses the functions shown below. EX_Connect |
| _ConnectMultipleDevices |
demonstrates connecting to multiple Model-30x devices. You pass the DLL device ID numbers and rates and it attempts to
connect to them. Lets you know which ones it successfully connects to. Uses the functions shown below. EX_ConnectAllDevices |
| _AutoScanEnding |
connect to a device and then start a scan that will end after
the data log file reaches the size that you set. Uses the functions shown below. EX_Connect, EX_SetDataLogOptions, EX_Run, EX_CheckScanStatus, EX_Stop, EX_StopComplete |
| _MainMulti-Function_App |
demonstrates connecting to multiple devices at the same time,
channel changing,
reading a single voltage (polled mode),
using scan mode,
writing data to either memory or log file on disk,
sending an analog output,
using digital I/O
and more. Uses the functions shown below. EX_ConnectAllDevices, EX_SendRate, EX_SetPolledModeChan, EX_GetOneConversion, EX_SendDigout, EX_GetDigin, EX_SendDAC, SP2_GetDevOwnershipList, EX_SetDataLogOptions, EX_SetScanType, EX_GetScanType, EX_SetMultiChanScanChans, EX_Run, EX_CheckScanStatus, EX_GetScanDataInt, EX_GetScanDataIntDigin, EX_GetScanDataDbl, EX_GetScanDataDblDigin, EX_Stop, EX_StopComplete |
| _35b_Related | demonstrates an interface for our 35b thermocouple amplifier |
| _All_VIs | listing of all available VIs placed in one location. May make things confusing for some of you but gives a lot of functionality for development. |