|
|
|
|
 |
PRIMARY INTERFACE ROUTINES
PROGRAMMING > PROGRAMMING TECHNIQUES >
instruNet provides many subroutines that are exposed through the iNet32.DLL and
though the INET_INT.C interface file. For documentation on these routines, please
refer to Programming with C & BASIC, and text file INET_INT.C.
Visual BASIC, HP VEE and LabVIEW can all call DLL routines.
The main interface routines are summarized below:
| Read/Write Channel |
GetChannelValue_iNet()
SetChannelValue_iNet()
GetFieldValue_iNet()
SetFieldValue_iNet() |
Read value of instruNet channel
Set value of instruNet channel
Read value of instruNet field
Set value of instruNet field
|
Digitize Waveforms |
ResetChannelList()
AddToChannelList()
Set_iNet_TIMING_Parameters()
Set_iNet_TRIGGER_Parameters()
DigitizeListOfChannels()
GetDigitizedSegment()
PutEnabledChInDigitizeList()
Stop_iNet_Digitizing()
ThisIsAlreadyInChannelList() |
Reset the list of channels to digitize
Add channel to list of channels to digitize
Set digitize timing parameters
Set digitize trigger parameters
Tell instruNet to begin digitizing
Get a little segment of digitized data
Place enabled channels in the digitize list
Tells instruNet to stop digitizing & arm
Returns true if ch is already in list
|
| Utility |
Load_instruNet_Driver()
CloseDriverAndReleaseDriverRam()
Show_ALERT_if_hit_iNet_Error()
Show_Simple_Alert()
Open_instruNet_Window()
Press_instruNet_Button()
Set_instruNet_Network_State()
Get_instruNet_Network_State() |
Load instruNet driver in to memory
Close instruNet driver & release memory
Shows an alert if instruNet hit an error
Displays a message in an alert dialog box
Opens an instruNet World window
Press a button in the iNet World window
Load all channel settings into an array
Restore channel settings from array data |
|
 |
|