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.

Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Data from RFID and USB-6000

Hello,

 

As part of a mini project, I would like to retrieve the information from an RFID tag and display them on labview.

I have a NI USB 6000 and a RC522 RFID card.

 

The communication is SPI, but I don't unterstand how to implement SPI in my diagram.

 

The most commun problem is from the clock and the sample clock from DAQmx timming who tell me I can only use "on demand" (but it doesn't offer this option ! )

 

I've tested many and many VI diagram, but I not able to get something.

 

I've also tested to generate clock (@2Mhz) with an Arduino Nano to use it with the NI USB 6000 but unable to use it. 

I don't want to use an Arduino in my final project.

 

I'm very new with labview and some help would be very appreciated!

 

Any help or suggestions please?

 

Best regards,

K.

 

0 Kudos
Message 1 of 3
(1,219 Views)

Hello

Instead of USB´6000 I would recommend USB-8451 for SPI communication , the last one has a dedicated hardware and  library to implement SPI in a easy way in Labview or CVI.

 

 

0 Kudos
Message 2 of 3
(1,173 Views)

Hello

I also notice the RC522 RFID supports serial communication, just get a usb to serial adapter and  use labview sample code to get the data.

0 Kudos
Message 3 of 3
(1,169 Views)