Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

        def writeRegisterRequest(addr, value, unitId = None):
    if not isinstance(value, int):
        raise TypeError("Value written must be an integer.")

    packet = _buildHeaderBytes(unitId = unitId) + pack('>BHH', 0x06, addr, value)

    return packet
        


src/p/s/psychopy-HEAD/psychopy/iohub/devices/daq/hw/labjack/win32/python27/pylabjack/LabJackPython.py   psychopy(Download)
            return self._buildWriteFloatToRegister(addr, value, unitId, fmt)
 
        request = Modbus.writeRegisterRequest(addr, value, unitId)
        request = [ ord(c) for c in request ]
        numBytes = 12

src/p/s/psychopy-HEAD/psychopy/iohub/devices/daq/hw/labjack/win32/python26/pylabjack/LabJackPython.py   psychopy(Download)
            return self._buildWriteFloatToRegister(addr, value, unitId, fmt)
 
        request = Modbus.writeRegisterRequest(addr, value, unitId)
        request = [ ord(c) for c in request ]
        numBytes = 12

src/i/o/ioHub-HEAD/iohub/devices/daq/hw/labjack/win32/python27/pylabjack/LabJackPython.py   ioHub(Download)
            return self._buildWriteFloatToRegister(addr, value, unitId, fmt)
 
        request = Modbus.writeRegisterRequest(addr, value, unitId)
        request = [ ord(c) for c in request ]
        numBytes = 12

src/i/o/ioHub-HEAD/iohub/devices/daq/hw/labjack/win32/python26/pylabjack/LabJackPython.py   ioHub(Download)
            return self._buildWriteFloatToRegister(addr, value, unitId, fmt)
 
        request = Modbus.writeRegisterRequest(addr, value, unitId)
        request = [ ord(c) for c in request ]
        numBytes = 12

src/l/a/LabJackPython-4-24-2014/src/LabJackPython.py   LabJackPython(Download)
            return self._buildWriteFloatToRegister(addr, value, unitId, fmt)
 
        request = Modbus.writeRegisterRequest(addr, value, unitId)
        request = [ ord(c) for c in request ]
        numBytes = 12

src/l/a/LabJackPython-HEAD/src/LabJackPython.py   LabJackPython(Download)
            return self._buildWriteFloatToRegister(addr, value, unitId, fmt)
 
        request = Modbus.writeRegisterRequest(addr, value, unitId)
        request = [ ord(c) for c in request ]
        numBytes = 12