EasyManua.ls Logo

JDS Uniphase SWS15100 - Visual Basic Programming Example; C Programming Example

Default Icon
251 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming Guide 161
Readme.txtFolder reserved for results of data analysis
SOM Access on COM1Shortcut to SOMAccess on COM1
SOM Access on COM2Shortcut to SOMAccess on COM2
SOM Access on COM3Shortcut to SOMAccess on COM3
SOM Access on COM4Shortcut to SOMAccess on COM4
SOMAccess.exeUtility to set specific parameters on the SOM
SWS15100.exeSWS application program
SWSBaseIOAddr.exeUtility to set the base I/O address of the parallel port interface or data
acquisition card
SWS_SetupTestWizard.exe – Utility allowing verification of the test setup configuration
Visual Basic Programming Example
To run the VB example:
1. Copy OWB1.dll, OWB2.dll, OWB3.dll, and SWS15100.dll to the Windows\System directory
in Windows 95/98, or to the \WinNT\System32 directory in Windows NT.
2. From the \Development\VB\Setup directory, run the setup.exe program.
3. From the \Development\VB\Source directory, run the SWSSample.exe program.
C Programming Example
To run the C programming example:
1. Edit the C program. In the call to initSWS, change the second parameter to the value of
MaxPoints in the SWS15100.INI file.
2. Change the second parameter to the path for the sample program. The directory is used as
the root directory for creating all associated SWS files and directories.
3. Recompile the program using any C compiler.
4. If any compiler other than a Microsoft compiler, such as Borland C or Borland C++, is being
used for development, create a library compatible with the development system.
5. Link the program and run it.
If problems are experienced loading the DLLs, copy the DLLs to the \Windows\System or the
\WinNT\System32 directory.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents