The subroutines shown below are used to simultaneously digitize any number of instruNet channels.
ResetChannelList() Reset the list of channels to digitize.
AddToChannelList_32or64() Add channel to list of channels to digitize.
Set_iNet_TIMING_Parameters_32or64() Set digitize timing parameters.
Set_iNet_TRIGGER_Parameters() Set digitize trigger parameters.
DigitizeListOfChannels_32or64() Tell instruNet to begin digitizing.
GetDigitizedSegment_32or64() Get a little segment of digitized data.
PutEnabledChInDigitizeList_32or64() Place enabled channels in digitize list.
Stop_iNet_Digitizing() Tell instruNet to stop digitizing.
ThisIsAlreadyInChannelList() Returns true if ch is already in list.
These routines are exposed through the iNet32.DLL and through the INET_INT.C
interface file; and are documented in file INET_INT.C. An example use of these
functions in C is shown in file INET_EX3.C. The following C code, from file
INET_EX3.C, demonstrates how to digitize one 100 point scan of 3 channels at
100samples/sec/channel in oscilloscope mode. For an example of C code that
processes a continuous stream, please see INET_EX3.C.
sample rate (pts/sec/ch)
number of pts in 1 scan, for 1 channel
number of scans that are digitized
if TRUE (1) we do Strip Chart Recorder work with Continuous Scans, otherwise if FALSE (0) we do Oscilloscope mode (non-Coninuous Scans)
Save digitize data in ram buffer
show alert on buffer overflow
accurate channel switching
Make sure we are NOT digitizing, prepare to digitize the channels in the channel list and return
when 1 scan has been digitized.