Return a Driver with an underlying USB RAW resource. :param serial_number: The serial number of the instrument. :param manufacturer_id: The unique identification number of the manufacturer. :param model_code: The unique identification number of the product. :param na
(cls, serial_number=None, manufacturer_id=None, model_code=None, name=None, board=0, **kwargs)
| 210 | |
| 211 | @classmethod |
| 212 | def via_usb_raw(cls, serial_number=None, manufacturer_id=None, model_code=None, name=None, board=0, **kwargs): |
| 213 | """Return a Driver with an underlying USB RAW resource. |
| 214 | |
| 215 | :param serial_number: The serial number of the instrument. |
| 216 | :param manufacturer_id: The unique identification number of the manufacturer. |
| 217 | :param model_code: The unique identification number of the product. |
| 218 | :param name: Unique name given within Lantz to the instrument for logging purposes. |
| 219 | Defaults to one generated based on the class name if not provided. |
| 220 | :param board: USB Board to use |
| 221 | :param kwargs: keyword arguments passed to the Resource constructor on initialize. |
| 222 | |
| 223 | :rtype: MessageBasedDriver |
| 224 | """ |
| 225 | |
| 226 | return cls._via_usb('RAW', serial_number, manufacturer_id, model_code, name, board, **kwargs) |
| 227 | |
| 228 | @classmethod |
| 229 | def via_serial(cls, port, name=None, **kwargs): |