Hidden Hidden Hidden Hidden
 
 

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 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_32or64()
Set_iNet_TIMING_Parameters_32or64()
Set_iNet_TRIGGER_Parameters()
DigitizeListOfChannels_32or64()
DigitizeOneScanOfData()
GetDigitizedSegment_32or64()
PutEnabledChInDigitizeList_32or64()
Stop_iNet_Digitizing()
ThisIsAlreadyInChannelList()
CalcDigiIntegrationTimes()
GetDigitizeStatus()
GetOutputSegmentBuffer_32or64()
SubmitOutputSegment_32or64()

Reset the list of channels to digitize
Add a channel to digitize list
Set digitize timing parameters
Set digitize trigger parameters
Tell instruNet to begin digitizing
Digitize 1 block of data (i.e. one scan)
Get a little segment of digitized data
Place enabled channels in digitize list
Tells instruNet to stop digitizing
Determine if in digitize list
Total integration time for one network
Returns status of instruNet DSP card
Get location of output segment buffer
Submit output segment of data


Utility
Load_instruNet_Driver_Extended()
CloseDriverAndReleaseDriverRam()
Show_ALERT_if_hit_iNet_Error()
Show_Simple_Alert()
Open_instruNet_Window()
Press_instruNet_Button()
Get_instruNet_Network_State()
Set_instruNet_Network_State()
Get_iWp_LicenseState()
Get_iNet32_DLL_File_Ver..()
Get_iNet32_System_Limit..()

Loads instruNet driver & resets network
Closes instruNet driver
Shows an alert if instruNet hit an error
Displays a message
Opens an instruNet World window.
Press an instruNet World button.
Load all channel settings into an array.
Restore all channel settings
Returns True if licensed for iW+
Returns version of iNet32.dll file
Returns limitations of instruNet


Channel Management
LoadChannelAddress()
GetChannelAddress()
Get_Channel_Information()
Get_List_Of_Channels_Of_Specfi..()
Get_List_of_Voltage_Output_Ch..()
Get_List_of_Voltage_Input_Ch..()
Get_M_Channels_starting_At..()

Specify an instruNet channel address
Reads an instruNet channel address
Return information about a channel
Get a list of channels
Get list of voltage output channels
Get list of voltage input channels
Returns a list of channels


Module Management
Get_Module_Information()
Get_M_Modules_starting_At..()
Get_A_List_Of_Modules_Of_A..()

Returns information about a module.
Returns a list of modules.
Returns a list of modules of specific type


Sensor Setup
Setup_Channels_For_THERMOCOUPLE..()
Setup_Channels_For_VOLTAGE..()
Setup_Channels_For_STRAIN_GAGE..()

Set up one channel for thermocouple
Same as above, yet voltage measurement
Same as above, yet strain gage


Multiple Field Setup
Set_One_Channels_GENERAL..()
Set_One_Channels_HARDWARE..()
Set_One_Channels_CONSTANTS..()
Set_One_Channels_MAPPING..()
Set_One_Channels_DISPLAY..()
Prepare_To_Setup_Fields()
Finished_Setting_Up_Fields()

Set GENERAL fields for one channel
Set HARDWARE fields for one channel
Set CONSTANTS fields for one channel
Set MAPPING fields for one channel
Set DISPLAY fields for one channel
Prepare to set field
Finished setting up field


R/W Field
iNet_Int32_ReturnRdValue()
iNet_Int32_ReturnBooleanValue()
iNet_WrInt32_ReturnErrCode()
iNet_Int64_ReturnRdValue()
iNet_WrInt64_ReturnErrCode()
iNet_Flt32_ReturnRdValue()
iNet_WrFlt32_ReturnErrCode()
iNet_Double_ReturnRdValue()
iNet_WrDouble_ReturnErrCode()
iNet_cString()

Write INT32 & return read INT32 value
Write INT32 & return read 0 or 1
Write INT32 & return iNetError code
Write INT64 & return read INT64 value
Write INT64 & return iNetError code
Write FLT32 & return read FLT32 value
Write FLT32 & return iNetError code
Write Double & return read Double value
Write Double & return iNetError code
Write or read field with c string


Advanced Digitize
EnableChannelForDigitizing()
DisableAllChannelsForDigit..()
Service_All_iNet_Digitize..()
Access_Digitized_Data_In_Ram..()
Get_Ctlr_Ram_Buff_Info()

Mark this channel for digitizing
Disable all channels for digitizing
Services internal buffers while digitizing
Provides access to digitized data
Get info about controller ram buffer


Advanced Utility
Flt32ToDouble_iNet()
DoubleToFlt32_iNet()
iNet_memcopy()
Get_iNet_Error()
Get_Last_iNet_Call()
GetiNetTime_Double()
Set_iNet_Demo_Mode()

Convert an array of flt32 to doubles
Convert an array of doubles to flt32
Copy block of memory
Gets error code to last instruNet call
Returns pointer to last iNet call
Returns time since reset
Sets the instruNet demonstration mode


Analysis
fft_DLL()
MultiplyArrayByHammWindow_DLL()
CalculateWindow_DLL()
MultiplyTwoFlt32Arrays_DLL()
ComplexToMagnitudes_DLL()
MultConstantByArray_DLL()

Calculate an fft
Multiple flt32 Array by Hamming window
Calculate a hamming window
Multiply 2 flt32 arrays
Convert complex pairs to magnitudes
Multiply a constant by a flt32 array