Source code for pyvisa.resources.vxi

# -*- coding: utf-8 -*-
"""
    pyvisa.resources.vxi
    ~~~~~~~~~~~~~~~~~~~~

    High level wrapper for VXI resources.

    This file is part of PyVISA.

    :copyright: 2014 by PyVISA Authors, see AUTHORS for more details.
    :license: MIT, see LICENSE for more details.
"""

from __future__ import division, unicode_literals, print_function, absolute_import

from .. import constants

from .resource import Resource
from .registerbased import RegisterBasedResource


@Resource.register(constants.InterfaceType.vxi, 'BACKPLANE')
[docs]class VXIBackplane(Resource): """Communicates with to devices of type VXI::BACKPLANE More complex resource names can be specified with the following grammar: VXI[board][::VXI logical address]::BACKPLANE Do not instantiate directly, use :meth:`pyvisa.highlevel.ResourceManager.open_resource`. """
@Resource.register(constants.InterfaceType.vxi, 'INSTR')
[docs]class VXIInstrument(Resource): """Communicates with to devices of type VXI::VXI logical address[::INSTR] More complex resource names can be specified with the following grammar: VXI[board]::VXI logical address[::INSTR] Do not instantiate directly, use :meth:`pyvisa.highlevel.ResourceManager.open_resource`. """
@Resource.register(constants.InterfaceType.vxi, 'MEMACC')
[docs]class VXIMemory(RegisterBasedResource): """Communicates with to devices of type VXI[board]::MEMACC More complex resource names can be specified with the following grammar: VXI[board]::MEMACC Do not instantiate directly, use :meth:`pyvisa.highlevel.ResourceManager.open_resource`. """