pas9782: PAS9782/GEN 8 Channel Sine/Pulse Generator

Driver support


License Agreement

This product is available via the open source license described at the end of this document.


Contents

Description
Database Overview 
Display Overview
License Agreement


Description

The PAS 9782/GEN is VME based, eight channel function generator card. Each channel provides sine wave, TTL square wave and open drain FET outputs. Each channel has programmable gain amplifier, which provides sine wave output of +/-10V, +/-5V, +/-2V or +/-1V peak to peak. The output frequency is controlled by a 32 bit frequency register; each channel provides two independent frequency registers. Each channel is controlled by two independent phase offset registers. The card provides control and status register and two status LEDs.

The driver support is accessed through asynDriver, which is a general purpose facility for interfacing device specific code to low level drivers. The asyn library provides generic EPICS device support devAsynUInt32Digital, devAsynFloat64. The driver support implements interface asynUInt32Digital, asynFloat64. The driver also implements interface asynDrvUser which allow an asynUser to communicate user specific information to /from a port driver.

Database Overview

Card control and status display:

Name

Type

DTYP

Description

$(user):$(card):reset

bo

asynUInt32Digital

Reset the card

$(user):$(card):bo:enable_disable

bo

asynUInt32Digital

Enable or disable the card

$(user):$(card):bi:enable_disable

bi

asynUInt32Digital

Display enabled/disabled status

$(user):$(card):bi:card_status

bi

asynUInt32Digital

Display card status

 Channel parameters control and display (below is for channel 1):

Name

Type

DTYP

Description

$(user):$(card):ao1:frequency0

ao

asynFloat64

Set frequency 0

$(user):$(card):ao1:frequency1

ao

asynFloat64

Set frequency 1

$(user):$(card):ao1:phase0

ao

asynFloat64

Set phase 0

$(user):$(card):ao1:phase1

ao

asynFloat64

Set phase 1

$(user):$(card):mbbo1:amplitude

mbbo

asynUInt32Digital

Set amplitude

$(user):$(card):mbbi1:amplitude

mbbi

asynUInt32Digital

Display amplitude

$(user):$(card):bo1:freq_select

bo

asynUInt32Digital

Set which frequency to select

$(user):$(card):bi1:freq_select

bi

asynUInt32Digital

Display selected frequency

$(user):$(card):bo1:phase_select

bo

asynUInt32Digital

Set which phase to select

$(user):$(card):bi1:phase_select

bi

asynUInt32Digital

Display selected phase

Display Overview

The display shows how to control and display the status of one card, how to control and display parameters of all the 8 channels of the card.

You can set different frequency, phase register and output voltage level for different channels. You can reset the card or enable or disable the card.

 

 

 


License Agreement

Copyright (c) 2002 University of Chicago All rights reserved.
pas9782 is distributed subject to the following license conditions:
 
SOFTWARE LICENSE AGREEMENT
Software: pas9782
 
 1. The "Software", below, refers to pas9782 (in either source code, or
    binary form and accompanying documentation). Each licensee is
    addressed as "you" or "Licensee."
 
 2. The copyright holders shown above and their third-party licensors
    hereby grant Licensee a royalty-free nonexclusive license, subject to
    the limitations stated herein and U.S. Government license rights.
 
 3. You may modify and make a copy or copies of the Software for use
    within your organization, if you meet the following conditions:
      a. Copies in source code must include the copyright notice and this
         Software License Agreement.
      b. Copies in binary form must include the copyright notice and this
         Software License Agreement in the documentation and/or other
         materials provided with the copy.
 
 4. You may modify a copy or copies of the Software or any portion of it,
    thus forming a work based on the Software, and distribute copies of
    such work outside your organization, if you meet all of the following
    conditions:
      a. Copies in source code must include the copyright notice and this
         Software License Agreement;
      b. Copies in binary form must include the copyright notice and this
         Software License Agreement in the documentation and/or other
         materials provided with the copy;
      c. Modified copies and works based on the Software must carry
         prominent notices stating that you changed specified portions of
         the Software.
 
 5. Portions of the Software resulted from work developed under a U.S.
    Government contract and are subject to the following license: the
    Government is granted for itself and others acting on its behalf a
    paid-up, nonexclusive, irrevocable worldwide license in this computer
    software to reproduce, prepare derivative works, and perform publicly
    and display publicly.
 
 6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
    OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
    UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
    EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
    BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
    FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME
    ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
    OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
    SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
    THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE
    OR THAT ANY ERRORS WILL BE CORRECTED.
 
 7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
    THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
    OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
    CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
    INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY
    REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF
    CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR
    OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
    POSSIBILITY OF SUCH LOSS OR DAMAGES.