Discussion:
How access to Smart Card Readers using Labview?
(too old to reply)
ENRIQUE RAMOS
2005-06-02 19:10:58 UTC
Permalink
I´am trying access to Smart Card Readers by Labview, but I have problems. <br><br>I want to read SIM card GSM using Labview.!<br><br>The file winscard.dll has the functions to access, but I dont have skill with "Using External codes in LabView".<br><br>In MSDN library there is the specification about the functions for winscard.dll<br><br>http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secauthn/security/smart_card_authentication.asp<br><br>When you install a driver for some smart card reader you access to it by winscard.dll.<br><br><br>Att. Enrique
ENRIQUE RAMOS
2005-11-22 22:10:47 UTC
Permalink
Finally I can acces to the smart card readers (PC/SC) with Labview,&nbsp;&nbsp; this is the first part where I can establish the context and realease it, and&nbsp; I can get the&nbsp;first &nbsp;name of my list of PC/SC readers that I have connected to my computer.
&nbsp;
I was wearing the "Call Library Function"&nbsp; for&nbsp; winscard.dll
&nbsp;
For&nbsp; Establish the context you need :
&nbsp;
&nbsp; function name :&nbsp; SCardEstablishContext
Calling conventions :&nbsp; stdcall (WINAPI)
function prototype :&nbsp;&nbsp;&nbsp; long SCardEstablishContext(long SCARD_SCOPE_USER, long NULL1, long NULL2, unsigned long *hContextHandle);
&nbsp;
&nbsp;
function name : SCardReleaseContext

Calling conventions :&nbsp; stdcall (WINAPI)
&nbsp;
function prototype :&nbsp;&nbsp;void SCardReleaseContext(unsigned long hContextHandle);
&nbsp;
ENRIQUE RAMOS
2005-11-22 22:10:47 UTC
Permalink
Finally I can acces to the smart card readers (PC/SC) with Labview,&nbsp;&nbsp; this is the first part where I can establish the context and realease it, and&nbsp; I can get the&nbsp;first &nbsp;name of my list of PC/SC readers that I have connected to my computer.
&nbsp;
I was wearing the "Call Library Function"&nbsp; for&nbsp; winscard.dll
&nbsp;
For&nbsp; Establish the context you need :
&nbsp;
&nbsp;&nbsp; function name :&nbsp; SCardEstablishContext
Calling conventions :&nbsp; stdcall (WINAPI)
function prototype :&nbsp;&nbsp;&nbsp; long SCardEstablishContext(long SCARD_SCOPE_USER, long NULL1, long NULL2, unsigned long *hContextHandle);
&nbsp;
&nbsp;
function name : SCardReleaseContext

Calling conventions :&nbsp; stdcall (WINAPI)
&nbsp;
function prototype :&nbsp;&nbsp;void SCardReleaseContext(unsigned long hContextHandle);
&nbsp;
ENRIQUE RAMOS
2005-11-22 22:10:47 UTC
Permalink
Finally I can acces to the smart card readers (PC/SC) with Labview,&nbsp;&nbsp; this is the first part where I can establish the context and realease it, and&nbsp; I can get the&nbsp;first &nbsp;name of my list of PC/SC readers that I have connected to my computer.
&nbsp;
I was wearing the "Call Library Function"&nbsp; for&nbsp; winscard.dll
&nbsp;
For&nbsp; Establish the context you need :
&nbsp;
&nbsp;&nbsp;&nbsp; function name :&nbsp; SCardEstablishContext
Calling conventions :&nbsp; stdcall (WINAPI)
function prototype :&nbsp;&nbsp;&nbsp; long SCardEstablishContext(long SCARD_SCOPE_USER, long NULL1, long NULL2, unsigned long *hContextHandle);
&nbsp;
&nbsp;
function name : SCardReleaseContext

Calling conventions :&nbsp; stdcall (WINAPI)
&nbsp;
function prototype :&nbsp;&nbsp;void SCardReleaseContext(unsigned long hContextHandle);
&nbsp;

Loading...