Skip to content

Latest commit

 

History

History

dotnet

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

.NET SPC sample code

This code shows how to use SpcInterfaceControl class to communicate with a device running on SPC mode.

For details on SPC communication check Useful Links

Requirements

  • IDE (for example Visual Studio)
  • Micro-Sensys RFID reader with appropriate script running
  • RFID transponders

For compatible script files, check Useful Links

Implementation

This code shows how to use iIDReaderLibrary.SpcInterfaceControl class to communicate with a device running on SPC mode. For demo purposes a .NET Core console is provided. Code used for these projects is written in C# or VisualBasic

Steps

Import the project into your IDE, chose a project and launch it. First in the console application you can select the communication port name for the RFID reader (for example /dev/ttyUSB0). Then a sort of menu is shown to select the function to call

Screenshot

  1. Select the device parameters to use for Initialize (communication port type and name, and interface type). Once the initialization process finishes, the result will be shown including the Reader ID number.
  2. Received data will be automatically decoded as Heartbeat or other data
  3. Use READ/WRITE buttons to trigger the processes built in the script

Useful Links

Contact

Authors