Omega Engineering OMB-NETSCAN 1500 User Manual page 191

Ethernet/internet-based data logging & control instrument
Table of Contents

Advertisement

Appendix A
TYPE
EXECUTION
SYNTAX
DESCRIPTION
Normal Mode
When in Normal mode for data acquisition, the Set Counts (
post-trigger, and post-stop count to define the size of the acquisition. The pre-trigger count cannot exceed the
memory size, but the post-trigger count can. If the post-trigger count exceeds the memory size, it is the
responsibility of the controller to deplete the FIFO buffer as the data is being collected, or a buffer overrun error
will occur. A Post Stop Event Count can also be associated with an acquisition to collect a counted amount of
samples after the Stop Event occurs.
If a trigger is encountered before the pre-trigger count is satisfied, the unit will trigger but have fewer than the
specified pre-trigger count in its buffer. The Buffer Status String (
the size of the pre-trigger. Although normal pre-trigger scans are acquired as soon as the acquisition is armed,
they are not available or valid until the start trigger event occurs.
Note: The unit can be configured to have different timebases for its pre-and post-trigger states. When the user-
High-Speed, Single-Channel Mode
When in High-speed, single-channel mode (burst mode); count (see syntax) is used to select the number of 256
sample blocks to collect. Valid values for count are as follows:
EXAMPLE for Normal Mode
PRINT#1, "Q1,0,1,1,1X"
PRINT#1, "F0,0X"
PRINT#1,"C1-4,1X"
PRINT#1,"I00:00:01.0, 0:00:00.1"
PRINT#1,"Y100,1000,50X"
PRINT#1,"N0 N2 X"
PRINT#1,"T1,8,0,0X"
S% = 0
WHILE (S% AND 32) = 0
PRINT#1,"U1X"
INPUT#1,A$
S%=VAL(A$)
WEND
PRINT#1,"N0 N1 X"
S% = 0
WHILE (S% AND 32) = 0
PRINT#1,"U1X"
INPUT#1,A$
S%=VAL(A$)
WEND
PRINT#1,"U6X"
LINE INPUT#1,A$
PRINT A$
NetScan User's Manual
Y
- Set Counts, or Select Blocks
Acquisition
Deferred
Ypre,post,
stop
Y0,count,0
Y?
specified trigger condition is satisfied, the unit goes from the pre-trigger to the post-trigger state, changing
its timebase, if configured to do so. Refer to the Continuous, Gap-Free Acquisition with Two Timebases
in Appendix C for more information.
System Memory
256 Kbytes
1 Megabytes
4 Megabytes
8 Megabytes
*In each case, the number assigned for block count must be a power of 2.
When in Normal mode of data acquisition, set acquisition counts where
is the pre-trigger count,
post
post-stop count.
When in High-speed, single-channel mode (burst mode), set
is the number of 256 sample blocks to be collected
count
Query current acquisition count selections.
Y
) command can be used to select a pre-trigger,
Post-Trigger Count*
2
' Set the reading separator flag ON
' Data format is engineering units, degrees C
' Configure channels 1 - 4 as T/C type J
' Configure scan interval
' Configure acquisition counts
' Configure Event Status Register Bit (ESB) to be set when
pre-trigger count is satisfied
' Configure acquisition, start trigger is Trigger On (
command, stop trigger is Counts
' Wait for the pre-trigger count to become satisfied
' Configure ESB to be set when acquisition is complete
' Wait for the acquisition to become complete
' Get Buffer Status String
' Retrieve the response
' Screen shows
10:02:02.0,04/24/93,00001000,
10:23:30.0,04/24/93,00001050,01
' Indicates that 100 pre-trigger scans were acquired 1000
post-trigger scans were acquired and 50 post-stop
scans were acquired
API Command Reference
is the post-trigger count and
U6
) command can be used to query the box for
2
to
512
2
to
2048
to
2
8192
to
16384
0000001,0001151,-0000100,
pre
stop
is the
count
; where
@
)
A-51

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omb-netscan

Table of Contents