Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

?The handle (or entry) is invalid'

Discussion about LCD's and other related hardware

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792

Post Reply
Iska
Posts: 14
Joined: September 29th, 2008, 6:43 pm

?The handle (or entry) is invalid'

Post by Iska »

Hey all,

I'm using the PalmConnect USB->Serial because I don't have a serial/lpt port. It works fine with others devices (like Palm's and PIC programmers) but when I try to use it with LCDSmartie (matrix.dll COM3 (ya, it COM3 for sure ;)) it got an error: 'Failed to open device: DLL Initialize error: MATRIX.DLL Exception: The handle is invalid (or The input/entry is invalid, it's in Dutch over here ;))'! I tried different DLL's, reinstalling my PalmConnect and switching it to another COM-number but without any succes :S

Does anybody know how I can solve this problem?

Thanks in regards,
Iska
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Can you try this version: http://czi.uni.cc/LCDSmartie/matrix.dll
and see if it works for you?
I think it's the Dutch Windows, the "dot" [.] is used instead of the "comma" [,]
Iska
Posts: 14
Joined: September 29th, 2008, 6:43 pm

Post by Iska »

I checked the values with a volt-meter with the GND to the most left pin (seen from the bottom of a female DB-9) and the other to the middle pin (3) and the values shifted from -5B to -10V so I think it's working
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Sorry, I fail to understand what this has to do with this topic...
Iska
Posts: 14
Joined: September 29th, 2008, 6:43 pm

Post by Iska »

That means that LCDSmartie is correctly sending data thru the USB->Serial
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Ah, ok, I understand now.

What startup parameters for matrix.dll do you use?
Should look like: COM3,115200 or COM3,19200 depending of the speed you need for communication.
Iska
Posts: 14
Joined: September 29th, 2008, 6:43 pm

Post by Iska »

COM3,9600.. I don't know the max baudrate that my converter is able to handle, so I kept it low
caesar
Forum Supporter
Posts: 734
Joined: October 15th, 2005, 10:39 am
Location: Romania
Contact:

Post by caesar »

Do you by any chance have other programs trying to use the same COM port?

Another possibility is that your USB-serial adapter is not providing a real serial port emulation. FTDI especially and some prolific adapters are known to work well.
Iska
Posts: 14
Joined: September 29th, 2008, 6:43 pm

Post by Iska »

I'm using my hobby-pc right now, which has a build-in serial-port. It read voltages between 0 and -15V but when I read the voltages from the LCD, I got just 0.0V except for the unused ports :S
Post Reply