Variable Handling Examples
This section lists example files that show how to use variable handling functions. These files are located in:
(UNIX) $RW_DIR/wave/demo/interapp/opi
(WIN) %RW_DIR%\wave\demo\interapp\win32\opi
 
For UNIX Only  
File
Description
opiforunix4.f
Example FORTRAN module that illustrates how to use the FORTRAN OPI to PV‑WAVE variables on UNIX platforms with 4-byte long integers only.
opiforunix8.f
Example FORTRAN module that illustrates how to use the FORTRAN OPI to PV‑WAVE variables on UNIX platforms with 8-byte long integers only.
opiforunix.build
C-shell script to compile and link opiforunix4.f into a sharable object module that can be called from PV‑WAVE via the LINKNLOAD command.
opiforunix.pro
PV‑WAVE procedure that illustrates how to use the PV‑WAVE LINKNLOAD command to call the FORTRAN functions in opiforunix.f.
opiforunix.export
List of symbols exported by opiforunix4.f, required by ld on Silicon Graphics platforms only.
opicunix.build
C-shell script to compile and link opicunix.c into a sharable object module that can be called from PV‑WAVE via the LINKNLOAD command.
opicunix.c
Example C module that illustrates how to use the C OPI to access PV‑WAVE variables on UNIX platforms.
opicunix.export
List of symbols exported by opicunix.c, required by ld on Silicon Graphics platforms only.
opicunix.pro
PV‑WAVE procedure that illustrates how to use the PV‑WAVE LINKNLOAD command to call the C functions in opicunix.f.
cwavec_unix.build
C-shell script to compile and link an example of using the OPI functions from an application that uses PV‑WAVE’s cwavec functionality.
cwavec_unix.c
Example C module that uses PV‑WAVE’s cwavec functionality. This C module also calls the functions in opicunix.c and shows that the same OPI functions that are used via LINKNLOAD in the opi* examples can also be used from a cwavec application.
 
For Windows Only  
File
Description
opicwin32.def
Module definition file that declares symbols exported by the DLL.
opicwin32.c
Example C module that illustrates how to use the C OPI to access PV‑WAVE variables on Win32 platforms.
opicwin32.pro
PV‑WAVE procedure that illustrates how to use the LINKNLOAD command to call the C functions in opicwin32.dll.
cwavec_win32.c
Example C module that uses PV‑WAVE’s cwavec functionality. This C module also calls the functions in opicwin32.c and shows that the same OPI functions that are used via LINKNLOAD in the opi* examples can also be used from a cwavec application.
makefile
Sample VC++ makefile to build win32 examples.
makefile.win64
Sample VC++ makefile to build win64 examples.
 
Files That Are Not Platform-specific
File
Description
opi_c_devel.h
Include file for C applications using OPI for C.
opi_f_devel.h
(UNIX only) Equivalent of opi_c_devel.h but for FORTRAN.