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 IEEE 488 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:
*In each case, the number assigned for block count must be a power of 2.
EXAMPLE for Normal Mode
PRINT#1, "OUTPUT07;Q1,0,1,1,1X"
PRINT#1, "OUTPUT07;F0,0X"
PRINT#1,"OUTPUT07;C1-4,1X"
PRINT#1,"OUTPUT07;I00:00:01.0,
00:00:00.1"
PRINT#1,"OUTPUT07;Y100,1000,50X"
PRINT#1,"OUTPUT07;N0 N2 X"
PRINT#1,"OUTPUT07;T1,8,0,0X"
S% = 0
WHILE (S% AND 32) = 0
PRINT#1,"SPOLL07"
INPUT#2,S%
WEND
PRINT#1,"OUTPUT07;N0 N1 X"
S% = 0
WHILE (S% AND 32) = 0
PRINT#1,"SPOLL07"
INPUT#2,S%
WEND
PRINT#1,"OUTPUT07;U6X"
PRINT#1,"ENTER07"
INPUT A$
ChartScan User's Manual
- Set Counts, or Select Blocks
Y
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 B for more information.
System Memory
256 Kbytes
1 Megabytes
4 Megabytes
8 Megabytes
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.
) command can be used to select a pre-trigger,
Y
Post-Trigger Count*
' 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
is the post-trigger count and
) command can be used to query the box for
U6
to
2
512
to
2
2048
to
2
8192
to
2
16384
0000001,0001151,-0000100,
API Commands
pre
is the
stop
; where
count
)
@
A-63
Need help?
Do you have a question about the OMB-CHARTSCAN 1400 and is the answer not in the manual?