LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing to Smart Card Readers PC/SC with Labview

Have anyone try to read the ATM Card / Credit Card before?
0 Kudos
Message 11 of 28
(2,805 Views)
May I know what is ATR Response and ATR stand for what?
0 Kudos
Message 12 of 28
(2,796 Views)
Apple James good day,
 
I googled your question and I have this information for you:
 
Peter Tomlnson worte:
"Most of the ATR is concerned with low level features and parameters for the
communication between card and terminal, and these should be handled by the
reader and its device driver in order to decide whether this reader and
driver can properly handle the card offered. As some projects have found,
sometimes the reader and driver have to refer decisions about handling the
card further up the chain, but the decisions should then be handled by a
user intervention layer."
 
 
Hope this could help you a little bit. Thanks for using NI Forums
NorSa
NI Applications Engineer Latin America
Para Soporte entra aquí
0 Kudos
Message 13 of 28
(2,779 Views)

Dear friends,

When running the vi, that Enrique attached i also got the whole LabVIEW things closed. Where will be the problem. Please help asap.

Thanks,

Mathan

Message 14 of 28
(2,583 Views)

I tried again using same winscard.dll with the functions sCardEstablishContext, sCardConnect, sCardStatus, sCardDisConnect, sCardReleaseContext funtions in the order.

But i can't able to get the ATR value.

Please help me out.

Thanks,

Mathan

0 Kudos
Message 15 of 28
(2,583 Views)
0 Kudos
Message 16 of 28
(2,551 Views)

Dear all,

This is what i got as an output error message. Please help me how to proceed.

Thanks,

Mathan

0 Kudos
Message 17 of 28
(2,550 Views)
I Googled 0x80100008L and quite a few hits.  You may want to check these out;  Generally, coding in LabVIEW paralells text-based coding, so if you can figure out how to get around that error in C or VB, we can probably help you translate that change to G (LabVIEW).
Eric V
National Instruments
Applications Engineer
Certified LabVIEW Associate Developer


"I'm a Ramblin' Wreck from Georgia Tech and a helluva (NI Applications) Engineer!"
0 Kudos
Message 18 of 28
(2,525 Views)

Dear Champions,

In my application, everything is fine.

1) sCardEstablishContext works fine

2) sCardListReadersA showing correct name of my reader

3) sCardConnectA give proper mode(1) and protocol(1) values

4) sCardStatusA ???????????? There is the problem. It gives state(6 - reset) and protocol(1). That is correct i think. But ATRLEN is 0 and no ATR was received and most of the times labview crashes when the data comes to scardstatus(when i run in highlight execution).

I attached my vi and dll in zip format.

Please do the needful asap

Thanks,

Mathan

0 Kudos
Message 19 of 28
(2,514 Views)
0 Kudos
Message 20 of 28
(2,513 Views)