Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions exopy_hqc_legacy/instruments/drivers/dll/labbrick.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@
LabBrickLMS103


To read well the Dll of the LabBrick, Visual C++ Studio 2013 is needed.
In order to use the LabBrick's DLL, Visual C++ Studio 2013 is needed.

"""
from ..driver_tools import (InstrIOError, secure_communication,
instrument_property)
from ..dll_tools import DllLibrary, DllInstrument
from inspect import cleandoc
import ctypes
import os


class LabBrickDll(DllLibrary):
Expand Down Expand Up @@ -172,7 +173,8 @@ def __init__(self, connection_info, caching_allowed=True,
super(LabBrickLMS103, self).__init__(connection_info, caching_allowed,
caching_permissions, auto_open)

self._dll = LabBrickDll(connection_info['lib_path'])
self._dll = LabBrickDll(os.path.join(connection_info['lib_dir'],
library))

# load the ID of the device from the serial number
serial = int(connection_info['instr_id'])
Expand Down