Jump to content
  • 0
Sign in to follow this  
Francisco Parraguez

lmc EZCad2 SDK error code 21

Question

I'm using the latest available version of the SDK, but initializing give me error code 21.

in the documentation it only appears until the 19

What does 20 or 21 mean ??

image.thumb.png.8e23d820db2cd27b2fda7731685bd5ee.png

to make sure the call is correct, I forced a known error code, such as 1 and works correctly

image.thumb.png.1343b3cb4b40932d23af0e522249bea5.png

 

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Hi,

Documentation and support is totally useless - do you have the physical marker plugged in? I get this error code if the marker is not plugged in as you cannot actually use the SDK if it is not physically connected.

I setting the bTestMode = true while developing and testing which allows you to continue development.

Hope that helps you

Share this post


Link to post
Share on other sites
  • 0
On 7/28/2021 at 10:56 AM, mgrundy said:

Hi,

Documentation and support is totally useless - do you have the physical marker plugged in? I get this error code if the marker is not plugged in as you cannot actually use the SDK if it is not physically connected.

I setting the bTestMode = true while developing and testing which allows you to continue development.

Hope that helps you

hi mgrundy 
how use the testmode ?
how view the log?

Share this post


Link to post
Share on other sites
  • 0

For whoever finds this question in the future, error 21 means that the controller board ID does not match the software (what that actually means, I don't know). We had to get a replacement card from our supplier, and that fixed the issue instantly. The two cards looked exactly the same from the outside, so I'm not entirely sure what the difference is. But the .dll works with the new board (using the same type of calls as Francisco used in the original post).

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...