From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to read HID PROX Card Number with LabVIEW

Hi everyone, I just bought an HID OMNIKEY Smart Card Reader (OMNIKEY 5025 CL).  I would like to read the Card Number from the Smard Card Reader.  Is there a .dll to inteface to that allows me to do this with LabVIEW using the "Call Function Library Node?"

 

Thanks!

 

 

0 Kudos
Message 1 of 16
(6,793 Views)

since it claims to support the PC/SC standard you will probably want tto access this Windows API: https://msdn.microsoft.com/EN-US/library/aa374731.aspx#smart_card_functions

Rolf Kalbermatter
My Blog
Message 2 of 16
(6,784 Views)

Thanks for your response roflk.  Looks like the winscard.dll would work for me.  Does anyone know the steps (protocol) using the winscard.dll functions to use LabVIEW to read the Smart Card Number from the PROX Card reader? 

0 Kudos
Message 3 of 16
(6,769 Views)

Where you able to read the HID Card using the Omnikey 5025 CL? 

I have problems trying to read the card, I cannot install the drivers. I says "Unknown Smart Card" instead of "OMNIKEY" in Device Manager

0 Kudos
Message 4 of 16
(5,996 Views)

Gus,

 

I was able to.  Try installing the Workbench.  If you can't read it in the workbench then you can't read it at all.

 

Here's the install link:

https://www.hidglobal.com/drivers/14993

0 Kudos
Message 5 of 16
(5,989 Views)

Thank you, testdesign 

Yes, I can read it in workbench.  and now...how to read the card using labview?

0 Kudos
Message 6 of 16
(5,983 Views)

Thank you for your response, I cannot detect the card as COM. Where you able to?

0 Kudos
Message 7 of 16
(5,975 Views)

The card reader does not come up as COM.

 

It comes up at a Smart Card Reader in device manager.SmartCard Device Manager.png

Message 8 of 16
(5,967 Views)

Take a look at this forum:  I used the Tresman.vi example in message 37/44.  This at least showed me how to read the ATR data like the Workbench does.  I have modified it for my specific use but the VI will indeed read the ATR data without any modifications.  There is a lot of other good stuff in this message thread for reading the ATR data.

 

https://forums.ni.com/t5/LabVIEW/pc-sc-Scardtransmit/td-p/815089/page/4

Message 9 of 16
(5,962 Views)

This is how it shows in Device Manager...what would be the next step to read it in labview?

Capture1.JPG

0 Kudos
Message 10 of 16
(5,960 Views)