CompuScope SDK Manua.. - Egmont Instruments
CompuScope SDK Manua.. - Egmont Instruments
CompuScope SDK Manua.. - Egmont Instruments
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
trigger_level level at which trigger event is set to occur. Can be any value between 0and 255, with 0 as the minimum and 255 as the maximum for 8 bit<strong>CompuScope</strong> cards and 0-4095 for 12, 14, and 16 bit <strong>CompuScope</strong>cards. A value of 0 sets the trigger level to minus full scale and a valueof 255 or 4095 sets the trigger level to plus full scale. The value isimplemented on the <strong>CompuScope</strong> hardware by thegage_trigger_control_2 routine.trigger_slopestatus of the current trigger slope. To set, use either GAGE_POSITIVEor GAGE_NEGATIVE with a call to gage_trigger_control orgage_trigger_control_2 routine. This has no effect when using asoftware trigger.trigger_sourcestatus of current trigger source. To set, use either GAGE_CHAN_A,GAGE_CHAN_B, GAGE_EXTERNAL or GAGE_SOFTWARE witha call to gage_trigger_control or gage_trigger_control_2 routine.trigger_resresolution of trigger depth. This value is the minimum amount bywhich the post-trigger depth may be changed for the current<strong>CompuScope</strong> hardware.multiple_recording flag to determine if a multiple record has been set.sample_offsetthe value of the data returned from the card that equals 0 volts. Forinstance, this value is 127 for the <strong>CompuScope</strong> 8500.sample_resolution number of levels between 0 and positive full scale or 0 and negativefull scale. For instance, this value is 128 for the <strong>CompuScope</strong> 8500.sample_bitsnumber of sample bits in the current <strong>CompuScope</strong> hardware. Forinstance, this will be 8 for 8 bit <strong>CompuScope</strong>s.external_clock_delay current clock delay used to synchronize an external clock with the<strong>CompuScope</strong> hardware. Should be 0 if the sample rate is greater than 5MHz or the greater of 1 and (10,000 / external_clock_rate), otherwise.external_clock_rate current external clock rate when using an external clock. This valuewill be used as the sample rate in single channel mode. Depending onthe <strong>CompuScope</strong> model, there may be an integer factor between thisvalues and the sample rate in dual channel mode.sample_ratecurrent sample rate.memptrpointer to the segment:offset address of the start of <strong>CompuScope</strong> RAM.trigger_level_2 level at which second trigger event is set to occur. Can be any valuebetween 0 and 255, with 0 as the minimum and 255 as the maximumfor 8 bit <strong>CompuScope</strong> cards and 0-4095 for 12 bit <strong>CompuScope</strong> cards.The value is implemented on the <strong>CompuScope</strong> hardware by thegage_trigger_control_2 routine. Not all the <strong>CompuScope</strong>s have thiscapability.trigger_slope_2 status of the second trigger slope. To set, use either GAGE_POSITIVEor GAGE_NEGATIVE with a call to gage_trigger_control_2 routine.This has no effect when using a software trigger. Not all the<strong>CompuScope</strong>s have this capability.trigger_source_2status of the second trigger source. To set, use eitherGAGE_CHAN_A, GAGE_CHAN_B, GAGE_EXTERNAL orGAGE_SOFTWARE with a call to gage_trigger_control_2 routine.Not all the <strong>CompuScope</strong>s have this capability.Page 58 Appendix A <strong>CompuScope</strong> <strong>SDK</strong> <strong>Manua</strong>l