LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can not import FTDI libMPSSE dll

 

Need to import libMPSSE_i2c.h, W32 libMPSSE.dll.

"The following symbols are not defined:FT_STATUS; "

I don't have enough "C" experience to understand the failure.

Import wizard might be ignoring 2nd .h file.

 

 

0 Kudos
Message 1 of 9
(5,255 Views)

See if this thread helps: http://forums.ni.com/t5/LabVIEW/Using-Call-Library-Function-Node-To-Return-C-Structure/m-p/2990127

 

Make sure that the ft2dxx.h header is somewhere the import wizard can find it. Screenshots showing how you set up the import wizard would help us help you, too.

0 Kudos
Message 2 of 9
(5,222 Views)

Fixed it.

Defined FT_STATUS in 1st header file.

Second header defined it as ulong and enum.

 

0 Kudos
Message 3 of 9
(5,201 Views)

 Hello Pappion!

 

I read in the NI forums that you solved the define problems in LibMPSSE. I was wondering what the exact measures you took were?

0 Kudos
Message 4 of 9
(4,980 Views)

That will have to wait until I get back Monday

0 Kudos
Message 5 of 9
(4,958 Views)

Thanks Pappion,

 

I took a look at the DLL and realized What I needed to do was Define FT_STATUS in the preprocessor. I felt kind of silly not being able to figure out. I'm going back to figure out how to get getChannelInfo() to be recognized! I guess thats the question I have now, I'm going to go back to the defines in the header and see if I need to do anything to get it recognized. Thanks again.

0 Kudos
Message 6 of 9
(4,940 Views)

I just checked libMPSSE_i2C.h and under Type Defines I added:

typedef uint32 FT_STATUS;

 

I did not bother with getChannelInfo() and just have i disabled. Something about getting on with real work vs curiosity.

Did you solve it?

 

 

0 Kudos
Message 7 of 9
(4,904 Views)

For the I2C driver follow this link:

https://lavag.org/files/file/282-mpssedll-labview-driver/

 

🙂

0 Kudos
Message 8 of 9
(4,546 Views)

Hi,

 

I connect 4232h mini module to laptop and run the test.vi from the 282mpseedll- labview-driver and it not work.

To the I2C channel 0 i connect IC P/N:TCA9555 and his address 41h.

i get error of device not found or param missing.

The some VIS operate ok like openchannel or getinfo .

i am using labview 2009 sp1 32 bit.

i try it also in labview 2016 32 bit.

why the function of initchannel fail?

i put right device address and for write i select option start and stop.

when i complie the example code in c (libMPSSE_source) it operate ok.

PLS advise.

BR,

Ilan

0 Kudos
Message 9 of 9
(2,594 Views)