ftdi

unable to open a connection with a FTD 232 device

て烟熏妆下的殇ゞ 提交于 2021-01-29 22:34:01
问题 I am trying to open a connection and pass a value for a given channel In order to do this I need to open a connection to the enttec open dmx usb. But I am unable to create a connection I tried to list devices and make sure the SN matches with the HW In [34]: import ftd2xx as ft In [35]: ft.listDevices() Out[35]: [b'AL05J8AO'] In [36]: ftd2xx.openEx('AL05J8AO', ftd2xx.ftd2xx.OPEN_BY_SERIAL_NUMBER) --------------------------------------------------------------------------- DeviceError Traceback

unable to open a connection with a FTD 232 device

帅比萌擦擦* 提交于 2021-01-29 22:13:58
问题 I am trying to open a connection and pass a value for a given channel In order to do this I need to open a connection to the enttec open dmx usb. But I am unable to create a connection I tried to list devices and make sure the SN matches with the HW In [34]: import ftd2xx as ft In [35]: ft.listDevices() Out[35]: [b'AL05J8AO'] In [36]: ftd2xx.openEx('AL05J8AO', ftd2xx.ftd2xx.OPEN_BY_SERIAL_NUMBER) --------------------------------------------------------------------------- DeviceError Traceback

unable to open a connection with a FTD 232 device

孤街醉人 提交于 2021-01-29 20:52:37
问题 I am trying to open a connection and pass a value for a given channel In order to do this I need to open a connection to the enttec open dmx usb. But I am unable to create a connection I tried to list devices and make sure the SN matches with the HW In [34]: import ftd2xx as ft In [35]: ft.listDevices() Out[35]: [b'AL05J8AO'] In [36]: ftd2xx.openEx('AL05J8AO', ftd2xx.ftd2xx.OPEN_BY_SERIAL_NUMBER) --------------------------------------------------------------------------- DeviceError Traceback

How to get extended port information when enumerating ports using Windows API

回眸只為那壹抹淺笑 提交于 2021-01-29 16:17:56
问题 I'm using some legacy code to enumerate ports on my machine: #include <windows.h> #include <devguid.h> #include <setupapi.h> #include <string> #include <iostream> #include <assert.h> bool GetTextProperty( std::string& sProperty, HDEVINFO dev, _SP_DEVINFO_DATA* pDeviceInfoData, DWORD prop ) { char szBuf[MAX_PATH]; DWORD iPropertySize = 0; if (SetupDiGetDeviceRegistryProperty(dev, pDeviceInfoData, prop, 0L, (PBYTE) szBuf, MAX_PATH, &iPropertySize)) { sProperty = szBuf; assert( iPropertySize >=

How to find out what instruments is behind a FTDI adapter on Windows?

泪湿孤枕 提交于 2021-01-28 23:55:31
问题 I am currently developing a Python tool for Windows that is able to lookup all devices connected to a windows pc. It already supports ethernet devices and by now I'm trying to add support for USB and serial devices. For those devices I want to read out their vendor id, product id, serial number and of course the address/port which is needed to connect to the device. Simple USB devices can be easily detected with PyUSB or PyWin32. Unfortunately, many devices say that its vendor is FTDI, which

Read/Write data returns null - Unable to perform any operations - node serialport

耗尽温柔 提交于 2020-05-17 07:04:45
问题 I am working with serialport for the first time and trying to establish a read and write connection with an UART device which is a controller of a height adjustment desk by using the below method. The application is a desktop application using electron. const SerialPort = require('serialport') const Readline = require('@serialport/parser-readline') const parser = new Readline() const port = new SerialPort("COM4", { baudRate: 9600 }) This is the code I have used and port.read() always returns

Undefined reference to mempcy@GLIBC_2.14 when compiling on Linux

六月ゝ 毕业季﹏ 提交于 2020-01-19 01:49:26
问题 I am trying to port an application to drive a device that uses an ftdi2332h chip from windows to linux. I installed the libftd2xx library on an ubuntu 10.04 system per these instructions. When I try to compile any of the sample programs I get the following error: /usr/local/lib/libftd2xx.so: undefined reference to `memcpy@GLIBC_2.14' collect2: ld returned 1 exit status Any guidelines on how to fix this? 回答1: The mempcy@GLIBC_2.14 is called a versioned symbol. Glibc uses them while other

Undefined reference to mempcy@GLIBC_2.14 when compiling on Linux

旧城冷巷雨未停 提交于 2020-01-19 01:49:05
问题 I am trying to port an application to drive a device that uses an ftdi2332h chip from windows to linux. I installed the libftd2xx library on an ubuntu 10.04 system per these instructions. When I try to compile any of the sample programs I get the following error: /usr/local/lib/libftd2xx.so: undefined reference to `memcpy@GLIBC_2.14' collect2: ld returned 1 exit status Any guidelines on how to fix this? 回答1: The mempcy@GLIBC_2.14 is called a versioned symbol. Glibc uses them while other

Ubuntu系统下USB转串口的使用

房东的猫 提交于 2020-01-14 20:09:56
PC系统是Ubuntu12.04,与路由器开发板之间用USB转串口线连接。 一、硬件连接 确认Ubuntu对USB转串口设备的支持。 1、# lsmod | grep usbserial 如果有usbserial,说明系统支持USB转串口。 zlf@zlf:~$ lsmod |grep usbserial usbserial 39125 3 ftdi_sio 2、插上USB转串口,在终端输入命令 # dmesg | grep ttyUSB0 ,如果出现连接成功信息,则说明ubuntu系统已经识别该设备了。 zlf@zlf:~$ dmesg | grep tty [ 0.000000] console [tty0] enabled [ 1.854936] 0000:00:03.3: ttyS4 at I/O 0x1830 (irq = 17, base_baud = 115200) is a 16550A [ 920.550979] usb 6-1: FTDI USB Serial Device converter now attached to ttyUSB0 二、软件选用 这里使用minicom,一款linux系统下的串口通信软件,全键盘操作,用用就习惯了。 minicom的安装、配置可以参考这篇: ubuntu下的usb转串口的使用 。 来源: https://www

Serial or HID (usb) Communication in iOS (iPhone/iPad)

强颜欢笑 提交于 2020-01-12 03:40:27
问题 I want to get data from glucose meter devices by connecting into iPhone or iPad devices. I have different vendors glucose meters some uses simple HID interface for communicate and other uses serial communication. These are the two possible ways of communication: USB to 30-Pin connector. 3.5 jack to 30-Pin Connector. USB or 3.5 jack will be connected to glucose meter and 30 pin connector will be attached with iDevice. After having hours of research I did not find much help on internet for iOS