Hi all,
I am trying to interface with an FTDI 260 USB to I2C adapter chip. I have been able to verify the hardware with a Python example I found linked below. I am trying to build a LabVIEW interface to allow us to talk to the FT260 however. To do this I am using the LIBFT260 to access the needed functions by importing the .dll with the "Call Library Function Node". I have attached some images of some of what I currently have. The first two function call nodes work, I am able to list the number of HIDs and get the paths to them but when I go to open the device, the function call FT260_OpenByVidPid() returns status 4 correlating to "FT260_DEVICE_OPEN_FAIL". I have also tried using the normal FT260_Open() and FT260_OpenByDevicePath() functions and they return the same status. I believe my error is in my ft260handle creation because when I just tie a constant to the parameter instead, I get the same status. Any insight would be greatly appreciated.
https://github.com/fs000x/ft260UI/tree/master