• 大小: 4.97MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-11-14
  • 语言: C#
  • 标签: impinj  RFID  测距  

资源简介

这是基于impinj官方提供的软件改的程序,压缩包里面的Template_WinForms文件夹里的程序可实现基于RSSI的实时测距功能的实现。

资源截图

代码片段和文件信息


// Copyright (c) 2010 Impinj Inc. All rights reserved.

//
// Example1 -- Query Features
//
// Connect to a Speedway reader and report its model name
// version information and the status of each antenna port.
//

using System;
using System.Collections.Generic;
using System.Text;
using Impinj.OctaneSdk;


namespace Example1_QueryFeatures
{
    class Ex1_QueryFeatures
    {
        /// 
        /// Static entry point for the example.
        /// 

        /// Space delimited command line arguments.
        static void Main(string[] args)
        {
            bool isInteractive = false;

            string readerName = null;

            if (args.Length == 0)
            {
                isInteractive = true;
                Console.Write(“Example 1 Reader => “);
                readerName = Console.ReadLine();
            }
            else
            {
                readerName = args[0];
            }

            Example example = new Example();
            example.Run(readerName);

            if (isInteractive)
            {
                Console.Write(“Done => “);
                Console.ReadLine();
            }
        }
    }

    class Example
    {
        public SpeedwayReader Reader = new SpeedwayReader();

        public void Run(string readerName)
        {
            try
            {
                // Change the level of logging detail. The default is Error.
                Reader.LogLevel = LogLevel.Error;

                // Attach to events
                Reader.Logging += new EventHandler(LoggingHandler);

                // Connect to the reader. The name is the host name
                // or IP address.
                Reader.Connect(readerName);

                // Clear the reader of any RFID operation and configuration.
                Reader.ClearSettings();

                // Query the features of the reader. This includes model
                // name version information subregion transmit powers
                // frequencies sensitivities modes etc.
                FeatureSet featureSet = Reader.QueryFeatureSet();

                Console.WriteLine(“Model              {0}“ featureSet.ModelName);
                Console.WriteLine(“Software Version   {0}“ featureSet.SoftwareVersion);
                Console.WriteLine(“Firmware Version   {0}“ featureSet.FirmwareVersion);
                Console.WriteLine(“PCBA Version       {0}“ featureSet.PcbaVersion);
                Console.WriteLine(“FPGA Version       {0}“ featureSet.FpgaVersion);
                Console.WriteLine(“Regulator Region   {0}“ featureSet.Subregion);

                // Query the status of the reader. This includes the
                // connection state of each antenna the state of each
                // general purpose input (GPI) the state of the RFID
                // op

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       2732  2018-07-07 11:25  更改程序后的OctaneSdk\.vs\OctaneSdk\DesignTimeBuild\.dtbcache

    ..A..H.    235520  2018-07-22 11:13  更改程序后的OctaneSdk\.vs\OctaneSdk\v15\.suo

     文件          0  2018-04-27 21:57  更改程序后的OctaneSdk\.vs\OctaneSdk\v15\Server\sqlite3\db.lock

     文件    1273856  2018-07-17 09:47  更改程序后的OctaneSdk\.vs\OctaneSdk\v15\Server\sqlite3\storage.ide

     文件      32768  2018-07-18 20:36  更改程序后的OctaneSdk\.vs\OctaneSdk\v15\Server\sqlite3\storage.ide-shm

     文件    3193032  2018-07-22 11:13  更改程序后的OctaneSdk\.vs\OctaneSdk\v15\Server\sqlite3\storage.ide-wal

     文件       6459  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example1_QueryFeatures\Ex1_QueryFeatures.cs

     文件       2948  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example1_QueryFeatures\Example1_QueryFeatures.csproj

     文件       1478  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example1_QueryFeatures\Properties\AssemblyInfo.cs

     文件       5251  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example2_QueryTags\Ex2_QueryTags.cs

     文件       2936  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example2_QueryTags\Example2_QueryTags.csproj

     文件       1470  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example2_QueryTags\Properties\AssemblyInfo.cs

     文件       6466  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example3A_AsyncTags\Ex3A_AsyncTags.cs

     文件       2939  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example3A_AsyncTags\Example3A_AsyncTags.csproj

     文件       1472  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example3A_AsyncTags\Properties\AssemblyInfo.cs

     文件       8456  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example3_AsyncTags\Ex3_AsyncTags.cs

     文件       2935  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example3_AsyncTags\Example3_AsyncTags.csproj

     文件       1465  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example3_AsyncTags\Properties\AssemblyInfo.cs

     文件       8059  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example4_GPIO\Ex4_GPIO.cs

     文件       2921  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example4_GPIO\Example4_GPIO.csproj

     文件       1460  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example4_GPIO\Properties\AssemblyInfo.cs

     文件       7358  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example5_SettingsFiles\Ex5_SettingsFiles.cs

     文件       2948  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example5_SettingsFiles\Example5_SettingsFiles.csproj

     文件       1478  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example5_SettingsFiles\Properties\AssemblyInfo.cs

     文件      11086  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example6_DisconnectedOps\Ex6_DisconnectedOps.cs

     文件       2954  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example6_DisconnectedOps\Example6_DisconnectedOps.csproj

     文件       1482  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example6_DisconnectedOps\Properties\AssemblyInfo.cs

     文件       5102  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example7_WriteTags\Ex7_WriteTags.cs

     文件       2936  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example7_WriteTags\Example7_WriteTags.csproj

     文件       1470  2010-12-17 14:42  更改程序后的OctaneSdk\Backup\Example7_WriteTags\Properties\AssemblyInfo.cs

............此处省略622个文件信息

评论

共有 条评论