/usr/lib/python2.7/dist-packages/pyvisa/resources/firewire.py is in python-pyvisa 1.8-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | # -*- 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 .registerbased import RegisterBasedResource
@RegisterBasedResource.register(constants.InterfaceType.firewire, 'INSTR')
class FirewireInstrument(RegisterBasedResource):
"""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`.
"""
|