ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DLL access Error Code

I am trying to access a dll (the eztwain dll from DOSADI) from labview.
I have all the functions parameters in the documentation.
I am new at that stuff (dll access), so even though it feel like I am putting all the required parameters, often I got labview to close itself after I (successfully) access a function or it generate the following attached error message.
Any insight at the reason why it is doing that ?

Has anyone by chance ever used that Dll (http://www.dosadi.com/products.htm) to access twain devices (such as scanner)? or does anyone know of an easy way to access twain devices from labview.

Thanks in advance

P.Guerit
0 Kudos
Message 1 of 3
(2,955 Views)
Can you please post the code and maybe someone can be of assistance.

This looks to be an internal error in the DLL, but may be because of a mismatch of data types being sent into the DLL.

If you can't post the code, at least post a screenshot. Also let us know what version of LabVIEW, what operating system, etc.

Thank you
Message 2 of 3
(2,955 Views)
Ok, here are the details.

I am running win2k workstation, and I am using labview 6.1. The Dll (as well as documentation) can be freely downloaded from (http://www.dosadi.com/products.htm); I am trying to access the Pro version. Here is the direct link to the zip file: http://www.dosadi.com/pub/eztw2.zip

Note: the authors include some VB and C++ program examples that sucessfully access the DLL. So it has to be something I am doing wrong.

Here is the code (or one of the variations I tried).

Note: I tried the code on another PC (same OS, same version of labview), and I get the same identical erro but for the error code (0x150 this time instead of 0x13C).

Thanks labviewguru for your answer.
Download All
0 Kudos
Message 3 of 3
(2,955 Views)