<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>U100归档 - Kvaser</title>
	<atom:link href="https://www.kvaser.cn/support/developer-blog/tag/u100/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kvaser.cn/support/developer-blog/tag/u100/</link>
	<description>先进的CAN总线解决方案专家</description>
	<lastBuildDate>Wed, 27 Sep 2023 08:03:15 +0000</lastBuildDate>
	<language>zh-CN</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.kvaser.cn/wp-content/uploads/2024/06/favicon-3.ico</url>
	<title>U100归档 - Kvaser</title>
	<link>https://www.kvaser.cn/support/developer-blog/tag/u100/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>KVASER CANlib &#038; Python第3部分：U100和Python</title>
		<link>https://www.kvaser.cn/developer-blog/kvaser-canlib-and-python-part-3-u100-python-highlights/</link>
		
		<dc:creator><![CDATA[Logan Via]]></dc:creator>
		<pubDate>Fri, 06 Jan 2023 07:47:38 +0000</pubDate>
				<guid isPermaLink="false">https://www.kvaser.cn/?post_type=developer_blog&#038;p=1011893</guid>

					<description><![CDATA[<p>The post <a href="https://www.kvaser.cn/developer-blog/kvaser-canlib-and-python-part-3-u100-python-highlights/">KVASER CANlib &#038; Python第3部分：U100和Python</a> appeared first on <a href="https://www.kvaser.cn">Kvaser</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>在这个简短的指南中，我们将介绍U100接口上的LED的工作原理和使用方式。</p>
<p>作者：Anton Carlsson，软件开发人员</p>
<p>共同作者： L-G Fredriksson，现场应用工程师</p>
<p>版本： 2021-08-09A</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<h4>本文的目标读者有哪些？</h4>
<p>本指南适用于那些希望通过CANlib和canlib Python包设置和使用Kvaser CAN接口的用户。</p>
<p>在使用这个指南前，您必须拥有Kvaser U100接口。</p>
<p>在使用这个指南之前，我们建议您阅读以下内容：</p>
<ul>
<li><a href="https://www.kvaser.cn/developer-blog/kvaser-canlib-and-python-part-1-initial-setup/">Kvaser CANlib &amp; Python 第1部分，首次设置</a></li>
<li><a href="https://www.kvaser.cn/developer-blog/kvaser-canlib-and-python-part-2-tests-and-samples/">Kvaser CANlib &amp; Python 第2部分，测试和示例</a></li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<h2>快速入门与关键命令</h2>
<p>如果您中断了操作或忘记了使用的命令/流程，请使用以下强大的命令和说明列表。</p>
<ul>
<li>启动Windows Powershell：<br />
<strong>powershell.exe</strong></li>
<li>切换到您存放Python脚本的目录：<strong>cd</strong>（如果您已经有一个虚拟环境并且具有运行权限，则跳过接下来的两个步骤）</li>
<li>创建一个虚拟环境：<br />
<strong>py -3 -m venv .venv –prompt .</strong></li>
<li>如果您是使用新计算机或没有权限的新用户：<strong><br />
Set-ExecutionPolicy Unrestricted -Scope CurrentUser</strong></li>
<li>激活虚拟环境：<strong><br />
.\.venv\Scripts\activate</strong></li>
<li>如果您尚未在此虚拟环境中安装canlib，请执行以下操作：<strong><br />
pip install canlib</strong></li>
<li>…</li>
<li>运行脚本：<strong>py check_ch.py</strong>（py一直可以运行，以确保所需的接口已连接）</li>
<li>启动编辑器：<br />
<strong>python -m idlelib</strong><br />
<strong>python -m idlelib check_ch.py</strong></li>
<li>…</li>
<li>停用虚拟环境：<br />
<strong>deactivate</strong></li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<h4>Kvaser U100接口</h4>
<p>与前几代Kvaser接口相比，U100进行了一些更新。除了比其他设备更加坚固之外，最明显的变化是接口上的LED。不仅LED在尺寸和形状上发生了变化，它们的工作方式也做出了调整。这些变化使用户更容易看到LED，并从LED获取有关设备的更多信息。</p>
<p>首先，之前迭代的CAN接口有两个LED用于PW，每个可用的CAN通道上各有两个LED。然而，U100只有两个LED条，用于设备上唯一可用的CAN通道。一个LED条用于TX，另一个LED条用于RX。然而，这些LED具有更多的功能，可以显示多种颜色。</p>

		</div>
	</div>
<div class="vc_row wpb_row vc_inner vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-8"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<h2>U100 LEDs</h2>
<p>与以前的设备上拥有的三种颜色（黄色、红色和绿色）不同，U100具有五种颜色。这些颜色包括：黄色、绿色、红色、白色和蓝色。LED条具有两个状态区域，如图所示，每条指示灯有一个状态区域。</p>
<p>当首次连接U100时，两个LED条会先缓慢闪烁一次绿光，然后状态区域会亮起白光。当通道上线时，白色状态区域将变为绿色。当U100接收或发送报文时，其中一个状态区域将闪烁黄色。如果设备接收到报文，RX状态区域将闪烁黄色。如果设备发送报文，TX状态区域将闪烁黄色。如果在传输过程中出现错误，LED将在一定程度上显示我们接收到的错误类型。如果我们尝试在总线上没有其他通道的情况下使用U100发送报文时，通道将进入错误被动状态，两个状态区域都会闪烁红色。此外，由于通道正在传输错误帧，TX LED条将变为红色。如果我们尝试以不匹配的比特率读取报文，状态区域仍将闪烁红色。但是由于我们现在正在接收错误帧，RX LED条将变为红色，而不是TX灯条。</p>
<p>如果我们增加总线负载（增加发送的报文数量），LED指示灯也会随之亮起。根据总线负载的不同，从TX或RX LED的状态区域开始，更多的LED将亮起黄光，这取决于我们是在发送还是接收。要测试LED，我们可以编写以下脚本并将其命名为u100.py。</p>

		</div>
	</div>
</div></div></div><div class="wpb_column vc_column_container vc_col-sm-4"><div class="vc_column-inner"><div class="wpb_wrapper"><div class="single-image"><img decoding="async" src="https://www.kvaser.cn/wp-content/uploads/2023/09/u100-e1692663478908png.webp" class="vc_single_image-img  attachment-full" alt="" title="u100-e1692663478908.png" srcset="https://www.kvaser.cn/wp-content/uploads/2023/09/u100-e1692663478908png.webp 671w, https://www.kvaser.cn/wp-content/uploads/2023/09/u100-e1692663478908png-324x668.webp 324w, https://www.kvaser.cn/wp-content/uploads/2023/09/u100-e1692663478908png-416x857.webp 416w, https://www.kvaser.cn/wp-content/uploads/2023/09/u100-e1692663478908png-146x300.webp 146w, https://www.kvaser.cn/wp-content/uploads/2023/09/u100-e1692663478908png-497x1024.webp 497w, https://www.kvaser.cn/wp-content/uploads/2023/09/u100-e1692663478908png-300x618.webp 300w" sizes="(max-width: 671px) 100vw, 671px" /></div></div></div></div></div>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>&gt; .\.venv\Scripts\activate</p>
<p>(pyproj)&gt; py .\u100.py</p>

		</div>
	</div>
<pre class="code-toolbar1 code-wrapper line-numbers"><code class="language-c">import time
from canlib import canlib, Frame

# First create two frames with different id:s.
frame_a = Frame(id_=1, data=[72, 69, 76, 76, 79, 33])
frame_b = Frame(id_=2, data=[72, 69, 76, 76, 79, 33])

# Second, open two channels, one for the U100 and one for another interface.
# In this example the U100 is connected to channel 3 and a USBcan is
# connected to channel 2. And set their bitrate.
ch_a = canlib.openChannel(channel=2, bitrate=canlib.Bitrate.BITRATE_100K)
ch_b = canlib.openChannel(channel=3, bitrate=canlib.Bitrate.BITRATE_100K)

#set both channels to normal and go on bus.
ch_a.setBusOutputControl(canlib.Driver.NORMAL)
ch_b.setBusOutputControl(canlib.Driver.NORMAL)
ch_a.busOn()
ch_b.busOn()

# To get a clearer sense of what happens, you will need to press enter between
# each test.
input(&quot;Press enter to continue&quot;)
# In the first example we will transmit messages with the U100. In the
# second example we will receive messages with the U100. And in the third
# and last example we will both send and receive messages with the U100.
# In all examples we will send 50 messages, you can test to increase this
# number to see its effect.
for i in range(50):
# We will make use of the try function during these tests. The program will
# try to execute the commands within the try-block (the indented region
# underneath). If the program encounters an CanGeneralError (indicated by
# the except command) the program will instead execute the commands within
# the except block. In this example the messages might be sent to quickly
# and result in a CanGeneralError which is why we will wait for 0.1 seconds
# with time.sleep if this happens.
    try:
        # This is the try-block.
        ch_b.write(frame_b)
        ch_a.read(1000)
    except canlib.exceptions.CanGeneralError:
        # This is the except block.
        time.sleep(0.1)

input(&quot;Press enter to continue&quot;)

for i in range(50):
    try:
        ch_a.write(frame_a)
        ch_b.read(1000)
    except canlib.exceptions.CanGeneralError:
        time.sleep(0.1)

input(&quot;Press enter to continue&quot;)

for i in range(50):
    try:
        ch_b.write(frame_b)
        ch_a.read(1000)
        ch_a.write(frame_a)
        ch_b.read(1000)
    except canlib.exceptions.CanGeneralError:
        time.sleep(0.1)

ch_a.close()
ch_b.close()</code></pre>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>在测试过程中，TX和RX的LED将亮起。如果我们增加报文的数量（在支持范围内的数量），总线负载就会增加，更多的LED灯将变成黄色。</p>

		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.kvaser.cn/developer-blog/kvaser-canlib-and-python-part-3-u100-python-highlights/">KVASER CANlib &#038; Python第3部分：U100和Python</a> appeared first on <a href="https://www.kvaser.cn">Kvaser</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>比较新产品Kvaser U100 和Kvaser Leaf Pro HS v2</title>
		<link>https://www.kvaser.cn/developer-blog/%e6%af%94%e8%be%83%e6%96%b0%e4%ba%a7%e5%93%81kvaser-u100-%e5%92%8ckvaser-leaf-pro-hs-v2/</link>
		
		<dc:creator><![CDATA[Lars-Göran Fredriksson]]></dc:creator>
		<pubDate>Mon, 06 Jun 2022 11:08:45 +0000</pubDate>
				<guid isPermaLink="false">https://www.kvaser.cn/?post_type=developer_blog&#038;p=1011207</guid>

					<description><![CDATA[<p>The post <a href="https://www.kvaser.cn/developer-blog/%e6%af%94%e8%be%83%e6%96%b0%e4%ba%a7%e5%93%81kvaser-u100-%e5%92%8ckvaser-leaf-pro-hs-v2/">比较新产品Kvaser U100 和Kvaser Leaf Pro HS v2</a> appeared first on <a href="https://www.kvaser.cn">Kvaser</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div class="wpb-content-wrapper"><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>在本博客中我将比较一些单通道Kvaser CAN 接口:</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<ul>
<li>Kvaser U100 73-30130-01173-1</li>
<li>Kvaser U100P 73-30130-01174-8</li>
<li>Kvaser Leaf Pro HS v2 73-30130-00843-4</li>
<li>Kvaser Leaf Light HS v2 73-30130-00685-0</li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>我将展示与现有的Kvaser Leaf 系列接口产品相比，新的Kvaser U100/U100P接口快多少。相对于其他制造商的CAN接口产品，这些数据可为你提供良好的性能基准。如果你的应用程序需要更快响应速度，则需要确保Kvaser U100/U100P的响应时间可靠。</p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>我将展示，在某些极端情况下，Kvaser U100的速度是Kvaser Leaf Light的4倍，和几乎是Kvaser Leaf Pro的2倍。</p>

		</div>
	</div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>Kvaser Leaf 通讯仪</p>
<ul>
<li>Kvaser Leaf Light HS v2 (73-30130-00685-0)</li>
<li>Kvaser Leaf Pro HS v2 (73-30130-00843-4)</li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>Kvaser Leaf系列经过应用证明是非常耐用可靠的CAN通讯仪。它们几乎适用于所有应用。只是在需要极短延迟的应用中，Kvaser PCIe通讯卡更有优势。</p>
<p>LIGHT系列提供基本功能，适合许多标准应用。PRO系列增加了一些高级功能和扩展性能，例如，错误帧生成和安静模式。</p>

		</div>
	</div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p><strong>Kvaser U100 </strong><strong>通讯仪</strong></p>
<ul>
<li>Kvaser U100 (73-30130-01173-1)</li>
<li>Kvaser U100P (73-30130-01174-8)</li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>Kvaser U100和U100P系列带来了更多的新特性:</p>
<ul>
<li>轻质玻璃纤维增强聚酰胺IP67外壳</li>
<li>加强型电隔离功能</li>
<li>直观的LED指示灯</li>
<li>宽工作温度范围 (-40 °C到 +85 °C)</li>
<li>有4种不同的连接器, DB9, OBD-II, M12 和 J1939-II。</li>
</ul>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>Kvaser U100和Kvaser U100P都支持CAN FD。</p>

		</div>
	</div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><h3 align="" class="vc-header-block vc-header-block-h2">Kvaser U100和U100P还带来了什么新功能 ?</h3>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>除了上述新功能外，Kvaser U100和U100P还有一个关键的新功能:</p>
<ul>
<li>快速USB响应处理。</li>
</ul>
<p>与Kvaser Leaf系列相比，Kvaser U100 USB通信得到极大优化。无需对CAN帧进行任何智能“重新打包和捆绑”，因为U100具备同时处理USB和CAN通信的能力。</p>
<p>这对更高级别的协议有非常重要的作用。U100系列比Kvaser Leaf Pro快75%。在某些情况下，U100可与Kvaser PCIe CAN通信卡相媲美。</p>

		</div>
	</div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><h3 align="" class="vc-header-block vc-header-block-h2">测试方法 CAN Q&amp;A（CAN问答）</h3><div class="single-image"><img decoding="async" src="https://www.kvaser.cn/wp-content/uploads/2022/05/single-image.png" class="vc_single_image-img  attachment-full" alt="" title="Single image" srcset="https://www.kvaser.cn/wp-content/uploads/2022/05/single-image.png 1344w, https://www.kvaser.cn/wp-content/uploads/2022/05/single-image-324x246.png 324w, https://www.kvaser.cn/wp-content/uploads/2022/05/single-image-416x316.png 416w, https://www.kvaser.cn/wp-content/uploads/2022/05/single-image-300x228.png 300w, https://www.kvaser.cn/wp-content/uploads/2022/05/single-image-1024x778.png 1024w, https://www.kvaser.cn/wp-content/uploads/2022/05/single-image-768x583.png 768w, https://www.kvaser.cn/wp-content/uploads/2022/05/single-image-1200x912.png 1200w" sizes="(max-width: 1344px) 100vw, 1344px" /></div>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>在CAN总线上发送报文时，让对方接收报文，并让该对方返回相应答复。这就是CAN Q&amp;A的定义。</p>
<p>我们一秒钟能发送多少次问答？</p>
<p>限制可处理的报文数量的一些因素:</p>
<ul>
<li>CAN报文长度</li>
<li>CAN总线比特率</li>
<li>CAN接口硬件延迟</li>
<li>软件延迟</li>
</ul>
<p>在比较接口时，我将使用四种不同的设置。</p>

		</div>
	</div>
<pre class="code-toolbar1 code-wrapper line-numbers"><code class="language-c">比特率	       ID	    DLC	      每秒Q&amp;A的最大数量（Q&amp;A/s）
1000          11bit      0              10416
1000          11bit      8               4464
 500          11bit      8               2232
 250          11bit      8               1116
</code></pre>
	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><h3 align="" class="vc-header-block vc-header-block-h2">什么是“每秒Q&amp;A的最大数量”?</h3>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>当以1000 kbit/s比特率、11位ID和0字节作为有效负载发送CAN帧时，总线上每秒可承载不超过20833个CAN帧。因此，每秒Q&amp;A的最大数量为20833/2=10416 PP/s。</p>
<p>如果我的软件绝对没有延迟，接口也没有延迟，那么我应该能够达到每秒10416 PP。</p>
<p>这是理想状态。软件和通讯仪没有延迟！但是在我们能拥有基于超导性和量子计算的硬件之前，必须接受软件和硬件的延迟。（是的，软件没有延迟，因为它们是在硬件中执行的，但你明白这一点）。</p>

		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper">
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p><strong>我期待多少Q&amp;A/s?</strong></p>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>我创建了一个用DELPHI（Pascal）编写的简单测试软件，并调用了Kvaser CANlib SDK中的Global Callback(全局回调)函数。我没有尝试优化我的程序，因为它的运行应该类似典型的CAN应用程序。</p>
<p>过程很简单。发送报文，等待回复，然后重复该过程。统计软件每秒执行此操作的次数。</p>
<p><strong>Q&amp;A</strong><strong>的对方</strong></p>
<p>要进行这个“乒乓”测试，必须要有“对手”。</p>
<p>我使用标准的Windows 10工作站，配备一个Kvaser PCIEcan HS v2通讯卡。此设备上运行的软件检查总线上是否有任何CAN报文，读取它们并立即将其发送回去（返回给发送方）。</p>
<p>这个软件以很简单方式编写，没有经过优化。</p>

		</div>
	</div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><h3 align="" class="vc-header-block vc-header-block-h2">典型测试系列</h3><div class="single-image"><img decoding="async" src="https://www.kvaser.cn/wp-content/uploads/2022/05/diagram.png" class="vc_single_image-img  attachment-full" alt="" title="Diagram" srcset="https://www.kvaser.cn/wp-content/uploads/2022/05/diagram.png 1344w, https://www.kvaser.cn/wp-content/uploads/2022/05/diagram-324x234.png 324w, https://www.kvaser.cn/wp-content/uploads/2022/05/diagram-416x301.png 416w, https://www.kvaser.cn/wp-content/uploads/2022/05/diagram-300x217.png 300w, https://www.kvaser.cn/wp-content/uploads/2022/05/diagram-1024x740.png 1024w, https://www.kvaser.cn/wp-content/uploads/2022/05/diagram-768x555.png 768w, https://www.kvaser.cn/wp-content/uploads/2022/05/diagram-1200x867.png 1200w" sizes="(max-width: 1344px) 100vw, 1344px" /></div>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<h6 style="text-align: center;"><em><span style="font-weight: 400;">Diagram 1, Kvaser U100, 1Mbit/s, 0 byte DLC</span></em></h6>

		</div>
	</div>

	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>此测试持续2.5秒（x轴是以秒为单位的时间）。我开始发送100 PP/s，目标是在测试结束时发送10000 PP/s。</p>
<p>我们可以看到，我们从100 PP/s（右轴）开始，曲线在4750 PP/s（右轴）左右变平缓。</p>

		</div>
	</div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><h3 align="" class="vc-header-block vc-header-block-h2">此Q&amp;A测试结果</h3><div class="single-image"><img decoding="async" src="https://www.kvaser.cn/wp-content/uploads/2022/05/graph-1.png" class="vc_single_image-img  attachment-full" alt="" title="Graph" srcset="https://www.kvaser.cn/wp-content/uploads/2022/05/graph-1.png 1054w, https://www.kvaser.cn/wp-content/uploads/2022/05/graph-1-324x151.png 324w, https://www.kvaser.cn/wp-content/uploads/2022/05/graph-1-416x194.png 416w, https://www.kvaser.cn/wp-content/uploads/2022/05/graph-1-300x140.png 300w, https://www.kvaser.cn/wp-content/uploads/2022/05/graph-1-1024x478.png 1024w, https://www.kvaser.cn/wp-content/uploads/2022/05/graph-1-768x358.png 768w" sizes="(max-width: 1054px) 100vw, 1054px" /></div><pre class="code-toolbar1 code-wrapper line-numbers"><code class="language-c">                    1Mbit/s, 0 DLC    1Mbit/s, 8 DLC    500Kbit/s, 8 DLC    250Kbit/s, 8 DLC
U100/U100P              4758              2787                1678                934
Leaf Pro HS v2          2719              2002                1335                802
Leaf Light HS v2         988               988                 988                496
</code></pre>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>我们在上面的测试中可看到，Kvaser U100和Kvaser U100P总是比Leaf Light和Leaf Pro提供更高的传输量。</p>
<p>它们的速度几乎与固定安装的KVASER PCIEcan HS v2一样快。当我比较它们时，Kvaser U100和Kvaser U100P达到PCIe板性能的85-95%左右。</p>

		</div>
	</div>
<pre class="code-toolbar1 code-wrapper line-numbers"><code class="language-c">                   Bitrate         ID        DLC
Setting 1:        1 Mbit/s      11bit    0 bytes
Setting 2:        1 Mbit/s      11bit    8 bytes
Setting 3:      500 kbit/s      11bit    8 bytes 
Setting 4:      250k bit/s      11bit    8 bytes</code></pre>
	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><h3 align="" class="vc-header-block vc-header-block-h2">问题解答</h3>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p><strong>我可以从Kvaser Leaf Light HS v2</strong><strong>转到Kvaser U100</strong><strong>吗?</strong><br />
Kvaser U100支持Kvaser Leaf Light HS v2所具备的所有功能。通常不需要对软件进行调整。</p>
<p><strong>我可以从Kvaser Leaf Pro HS v2</strong><strong>转到Kvaser U100P</strong><strong>吗?</strong><br />
Kvaser U100P支持Kvaser Leaf Pro所具备的所有功能，只有一个例外；U100P不支持t脚本。</p>
<p><strong>我需要新驱动程序和SDK</strong><strong>吗?</strong></p>
<p>所有Kvaser接口共享相同的驱动程序和SDK包。为Kvaser Leaf light或Kvaser Leaf Pro编写的软件通常可与Kvaser U100和Kvaser U100P一起使用，无需任何更改。（但用最新的Kvaser SDK更新/重新编译软件从来没错）。</p>
<p><strong>为什么Kvaser U100</strong><strong>比Kvaser Leaf Light and Leaf Pro</strong><strong>更快?</strong></p>
<p>在内部:     与Kvaser Pro和Kvaser Light接口相比，Kvaser U100使用了更强大的处理器。而且尽管它更强大，它消耗的能量更少。</p>
<p>在外部:     在Kvaser U100硬件和Kvaser驱动程序中，USB通信都得到了极大优化。无需对CAN帧进行任何智能“重新打包和捆绑”，因为Kvaser U100具备同时处理USB和CAN通信的能力。</p>
<p><strong>USB</strong><strong>连接的接口能像内置板卡接口一样快吗？</strong></p>
<p>根据目前使用的技术，比起外置的CAN通讯仪，内置的CAN通讯卡总是更快。</p>
<p><strong>U100</strong><strong>使用USB2</strong><strong>，未来使用USB3</strong><strong>会更快吗？</strong></p>
<p>切换到USB3可能不大可能给接口带来更高的传输量。USB2是一种非常可靠的通信方法，可满足我们今天和未来多年的要求。多数通信延迟是由计算机、接口电路和CPU引起的。</p>
<p><strong>Kvaser U100</strong><strong>是否需要快速主机？</strong></p>
<p>Kvaser U100几乎可在任何硬件上运行。与Kvaser Leaf Pro或Leaf Light相比，Kvaser U100在USB通信中不进行CAN帧的重新打包和捆绑，因此生成更多的USB数据包。在主机CPU上的负载将更高，因此建议主机应用程序能够访问足够的CPU内核。Kvaser U100还需要快速且具有充足处理能力的USB控制器和集线器。（几乎所有过去5年销售的电脑都具备此适宜水平的性能）。</p>

		</div>
	</div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div><div class="vc_row wpb_row vc_row-fluid"><div class="wpb_column vc_column_container vc_col-sm-12"><div class="vc_column-inner"><div class="wpb_wrapper"><h3 align="" class="vc-header-block vc-header-block-h2">你需要更多信息或还有任何问题？</h3>
	<div class="wpb_text_column wpb_content_element" >
		<div class="wpb_wrapper">
			<p>欢迎联系我们！</p>
<p>我们的联系方式:</p>
<p><a href="mailto:SUPPORT@KVASER.COM">SUPPORT@KVASER.COM</a></p>
<p>你还可直接与我联系:</p>

		</div>
	</div>
    <div class='contact_person'>
        <div class='get_start_inner_left'>
                        <h4>Field application engineer</h4>

                        <h3>Lars-Göran “HELGE” Fredriksson</h3>

                        <a href='mailto:"lgfr@kvaser.com'>lgfr@kvaser.com</a>

                    </div>
        <div class='get_start_inner_right'>
            <div class='client_img'>
            <img decoding="async" width="94" height="94" src="https://www.kvaser.cn/wp-content/uploads/2022/06/lorgan-94x94.jpeg" class="attachment-contact_person size-contact_person" alt="" srcset="https://www.kvaser.cn/wp-content/uploads/2022/06/lorgan-94x94.jpeg 94w, https://www.kvaser.cn/wp-content/uploads/2022/06/lorgan-100x100.jpeg 100w, https://www.kvaser.cn/wp-content/uploads/2022/06/lorgan.jpeg 150w" sizes="(max-width: 94px) 100vw, 94px" />            </div>
        </div> 	
    </div>

	<div class="wpb_raw_code wpb_raw_html wpb_content_element" >
		<div class="wpb_wrapper">
			<br />
		</div>
	</div>
</div></div></div></div>
</div><p>The post <a href="https://www.kvaser.cn/developer-blog/%e6%af%94%e8%be%83%e6%96%b0%e4%ba%a7%e5%93%81kvaser-u100-%e5%92%8ckvaser-leaf-pro-hs-v2/">比较新产品Kvaser U100 和Kvaser Leaf Pro HS v2</a> appeared first on <a href="https://www.kvaser.cn">Kvaser</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
