收藏 分销(赏)

NI-XNET工具和实用程序帮助手册.pdf

上传人:曲**** 文档编号:228992 上传时间:2023-03-18 格式:PDF 页数:66 大小:2.05MB
下载 相关 举报
NI-XNET工具和实用程序帮助手册.pdf_第1页
第1页 / 共66页
NI-XNET工具和实用程序帮助手册.pdf_第2页
第2页 / 共66页
NI-XNET工具和实用程序帮助手册.pdf_第3页
第3页 / 共66页
NI-XNET工具和实用程序帮助手册.pdf_第4页
第4页 / 共66页
NI-XNET工具和实用程序帮助手册.pdf_第5页
第5页 / 共66页
点击查看更多>>
资源描述

1、NI-XNET Tools&Utilities2023-03-01NI-XNET Tools&UtilitiesContentsNI-XNET Tools and Utilities Help.5Measurement&Automation Explorer(MAX)for NI-XNET.6Introduction to MAX.6Capabilities of MAX for NI-XNET.6Getting Started.7Tools.7NI-XNET Devices.8Accessing NI-XNET Devices.8Testing an NI-XNET Device.9Acce

2、ssing NI-XNET Interfaces.10Renaming NI-XNET Interfaces.11Calling the Bus Monitor for an NI-XNET Device.12Troubleshooting Self Test Failures.12Application in Use.12LabVIEW Real-Time(RT)Configuration.13Installation.13Hardware Configuration.13Bus Monitor.14Overview.14Launching the Bus Monitor.14User In

3、terface.17Menu.19Get Transmit Frame Configuration from Database.19CAN Interface and Database Settings.21FlexRay Interface and Database Settings.24LIN Interface and Database Settings.27Logging Settings.28Display Settings.30Signal Settings.31TCP/IP Settings.32Tool Bar.32Main Window.33Database Editor.4

4、4/NI-XNET Tools&UtilitiesOverview.44Why Databases?.44Database Formats.45Clusters.45Frames.45PDUs.46Signals.46LIN Schedules.47ECUs.47Main Window.47Main Menu.48Context-Sensitive Menus.49Keyboard Navigation.50Selecting Multiple Objects.50Database Cluster Import/Export.51Right Pane Dialogs.52Getting Sta

5、rted Dialog.53CAN Cluster Dialog.53FlexRay Cluster Dialog.54LIN Cluster Dialog.55PDU Dialog.56CAN Frame Dialog.56FlexRay Frame Dialog.57LIN Frame Dialog.58J1939 Frame Dialog.59Signal Dialog.60LIN Schedule Dialog.61CAN ECU Dialog.63FlexRay ECU Dialog.63LIN ECU Dialog.64J1939 ECU Dialog.64Transmitted/

6、Received Frames Dialog.65Frame List Dialog.65Full FlexRay Cluster Dialog.65 National InstrumentsNI-XNET Tools&UtilitiesCommon Questions664 NI-XNET Tools&UtilitiesAugust 2020,372842P-01The NI-XNET Tools and Utilities Help describes how to use Measurement&Automation Explorer(MAX)to configure your NI-X

7、NET hardware and interact with your CAN,LIN,or FlexRay network.This help also includes information about the NI-XNET Bus Monitor and Database Editor utilities.National InstrumentsNI-XNET Tools&UtilitiesMeasurement&Automation Explorer(MAX)Hep for NI-XNETThis section includes information about configu

8、ring and testing NI-XNET devices and RT Series NI-XNET devices using Measurement&Automation Explorer(MAX).Introduction to MAXCapabilities of MAX for NI-XNETGetting StartedToolsNI-XNET DevicesTroubleshooting Self Test FailuresLabVIEW Real-Time(RT)ConfigurationIntroduction to MAXYou can configure your

9、 NI-XNET products with Measurement&Automation Explorer(MAX).Nl MAX informs other programs about which products you have in the system and how they are configured.Use MAX to configure and test an NI-XNET product.To get information about an NI-XNET device,expand Devices and Interfaces in the configura

10、tion tree.Click your device to see information about the device resources.The information appears in the middle pane.Note Press or select ViewRefresh to refresh the screen.Capabilities of MAX for NI-XNETYou can use MAX for the following configuration actions:Verifying the installation of your NI-XNE

11、T hardware.Interacting with your CAN,LIN,or FlexRay network using various tools.6 NI-XNET Tools&Utilities Renaming NI-XNET interfaces.Testing the functionality of NI-XNET devices installed in the system.Getting Sta rtedClick the following links for more information about completing the most common N

12、I-XNET-related tasks in MAX.NI-XNET DevicesHow do I access an NI-XNET device?How do I test an NI-XNET device?RT Series NI-XNET DevicesHow do I access an RT Series NI-XNET device?How do I test an RT Series NI-XNET device?NI-XNET InterfacesHow do I rename an NI-XNET interface?ToolsNI-XNET includes a B

13、us Monitor utility you can launch from MAX.The Bus Monitor displays statistics for CAN,LIN,and FlexRay frames.This is a basic tool for analyzing CAN,LIN,or FlexRay network traffic.Launch this tool by right-clicking a CAN,LIN,or FlexRay interface and selecting Bus Monitor from the context menu.The Bu

14、s Monitor offers several capabilities,including:Listing bus traffic.Displaying all data bytes of all transmitted frames on the bus.Displaying statistics about all frames.Logging of all or single frames.National InstrumentsNI-XNET Tools&UtilitiesNote The Bus Monitor supports Windows targets only.NI-X

15、NET DevicesAccessing NI-XNET DevicesTesting an NI-XNET DeviceAccessing NI-XNET InterfacesRenaming NI-XNET InterfacesCalling the Bus Monitor for ar NI-XNET DeviceAccessing NI-XNET DevicesTo access NI-XNET devices,expand Devices and Interfaces in the configuration tree.If you are using a remote RT tar

16、get,expand Remote Systems,find and expand your target,and expand Device and Interfaces.You can perform the following tasks:Test a device in your configuration.Get a detailed overview of a device in your configuration.The MAX interface right pane displays the following information about the device hi

17、ghlighted in Devices and Interfaces.ProductShows the device type.Serial NumberShows the device serial number.Form FactorShows the device form factor.8 NI-XNET Tools&UtilitiesNumber of PortsIndicates how many ports are available on the device.Test StatusIndicates the self test current status.This inf

18、ormation is lost if you close MAX.The test status indicates one of the following states:口,Not testedThe device has not been tested yet.PassedThe device has successfully passed the self test.Fai ledThe device did not pass the self test.In this case,a moredetailed error description is displayed.Firmwa

19、re MismatchThe devices firmware does not work with theNI-XNET driver version.In this case,change to the Firmware tab and update the NI-XNET device firmware.ConnectorShows a picture of the device.The currently selected port and LEDs assigned to that port are marked with red circles.Self TestPerforms

20、a Self Test operation on the device.Testing an NI-XNET DeviceUse the NI-XNET Self Test functionality to test your devices.Complete the following steps to run the seIf test:1.Expand Devices and Interfaces in the configuration tree.If you are using a remote RT target,expand Remote Systems,find and exp

21、and your target,and expand Devices and Interfaces.2.Right-click the NI-XNET device and select Self Test to run the test.National InstrumentsNI-XNET Tools&UtilitiesorSelect the NI-XNET device you want to test.Click Self Test on the MAX toolbar.The self test result is shown under Test Status.The Self

22、Test operation performs internal tests on the device;if a test fails,Self Test reports an appropriate error.You can call the Self Test function only when no other application is using the device.If you call the Self Test function while another application is using the device,the test fails with an a

23、ppropriate error message,and the device is marked as a device that has failed the self test.Accessing NI-XNET InterfacesTo access NI-XNET interfaces,expand Devices and Interfaces in the configuration tree.Select and expand the device that holds the interface you want to access.If you are using a rem

24、ote RT target,expand Remote Systems and find and expand your target.Expand Device and Interfaces and find and expand the device that holds the interface you want to access.You can perform the following tasks:Rename the interface in your configuration.Get a detailed overview of an interface in your c

25、onfiguration.Call the Bus Monitor tool.The MAX interface right pane displays the following information about the interface highlighted in your selected device.Interface NameShows the current name of the NI-XNET interface.Use the combo box selector to see a list of available names for this interface.

26、This list contains only valid interface names,so you can be sure to select an interface name unique to your system.ProductShows the device type.10 NI-XNET Tools&UtilitiesSerial NumberShows the device serial number.Port NumberShows the interface physical port number.Transceiver Type(CAN Interfaces On

27、ly)Shows which CAN transceiver is installed for this port.The transceiver type may be:High Speed Low Speed Single Wire Software SelectablePort StateIndicates the current state of the port.The indicated port states may be:Blinking for identificationThe device LEDs assigned to this port are blinking,s

28、o that you easily can identify the port on the system.Interface in useAnother application currently uses the port,and it is not possible to let the LEDs blink for identification.To enable the LED blinking,stop or close all applications that may use this port,select another item from the MAX configur

29、ation tree and reselect the interface.ConnectorShows a picture of the device.The currently selected port and LEDs assigned to that port are marked with red circles.Bus MonitorOpens the Bus Monitor for that port.National InstrumentsNI-XNET Tools&UtilitiesRenaming NI-XNET InterfacesComplete the follow

30、ing steps to rename an NI-XNET interface:1.Expand Devices and Interfaces in the configuration tree.If you are using a remote RT target,expand Remote Systems,find and expand your target and expand Devices and Interfaces.2.Find and select the interface you want to rename.3.Open the combo box named Int

31、erface Name and select a new name for your interface.Calling the Bus Monitorfor an NI-XNET DeviceComplete the following steps to call the Bus Monitorfor an NI-XNET interface:1.Expand Devices and Interfaces in the configuration tree.2.Find and select the interface for which you want to call the Bus M

32、onitor.3.Right-click the NI-XNET interface and select Bus Monitor to launch the Bus Monitor.orSelect the NI-XNET interface you want to test.Click Bus Monitor on the MAX toolbar.Troubleshooting Self Test FailuresThe following topic explains common error message the Self Test operation generates.Appli

33、cation in UseApplication in UseThis error occurs if you are running an application that uses the NI-XNET hardware.The self test aborts to avoid adversely affecting your application.Before runningthe 上 NI-XNET Tools&Utilitiesself test,exit all applications that use NI-XNET.If you are using LabVIEW,yo

34、u may need to exit LabVIEW to unload the NI-XNET driver.LabVIEW Real-Time(RT)ConfigurationLabVIEW RT combines easy-to-use LabVIEW programming with the power of realtime systems.When you use an Nl PXI controller as a LabVIEW Real-Time system or a CompactRIO controller,you can install a PXI NI-XNET ca

35、rd or a CompactRIO XNET C Series module and use the NI-XNET APIs to develop real-time applications.For example,you can simulate the behavior of a control algorithm within a CAN,LIN,or FlexRay device,by using data from received CAN,LIN,or FlexRay messages to generate outgoing CAN,LIN,or FlexRay messa

36、ges with deterministic response times.InstallationHardware ConfigurationInstallationAs with any other Nl product for LabVIEW RT,you download the NI-XNET software to your LabVIEW RT system by using the Remote Systems branch in MAX.For more information,refer to the LabVIEW RT documentation.Hardware Co

37、nfigurationAfter you install your PXI NI-XNET cards or NI-XNET CompactRIO modules and download the NI-XNET software to your LabVIEW RT system,you need to verify the installation and assign interface names to NI-XNET interfaces.For more information about accessing NI-XNET devices on LabVIEW RT,refer

38、to Accessing NI-XNET Devices.National InstrumentsNI-XNET Tools&UtilitiesBus MonitorOverviewUse 门 nterfaceOverviewThe NI-XNET Bus Monitor is a universal analysis tool for displaying and logging CAN,LIN,or FlexRay network data.You can display network information in eitherthe most recent data or histor

39、ical data view.To identify more detailed frame information,you can assign a network database to the NI-XNET Bus Monitor.If a received frame is found in the database,you can display the message name and comment information in the Monitor view or ID Log view as well as display signal data.In addition

40、to the network data,the monitor can provide statistical information.For offline data analysis,you can stream all received network data to disk into a log file.The NI-XNET Bus Monitor supports any NI-XNET device on your local host or remote target with LabVIEW Real-Time installed.If running the Bus M

41、onitor in the CAN protocol mode,you can transmit an event frame or periodic frame onto the network interactively.This way,you can quickly verify the correct setup of your CAN network and debug your communication with the device under test.NI-XNET errors that may appear while doing a CAN,UN,or FlexRa

42、y measurement within the Bus Monitor are shown in the main user interface.Launching the Bus MonitorLaunchingthe Bus MonitorYou can launch the NI-XNET Bus Monitor in three distinct protocol modes:CAN,LIN,or FlexRay,from MAX,the NI-XNET Windows Start menu,orthe Nl Launcher.You cannot switch from one p

43、rotocol mode to the other during run time.You can run the Bus Monitor in multiple instances on different ports to verify the network communication on several CAN,LIN,or FlexRay bus topologies in parallel.On a remote target,you can run a single NI-XNET Bus Monitor instance at a time.14 NI-XNET Tools&

44、UtilitiesLaunching the Bus Monitor from MAX on Your Local HostNavigate to the NI-XNET device and port name under Devices and Interfaces.Then click the NI-XNET Bus Monitor link in the right pane or right-click the port name in the MAX configuration tree to access the Bus Monitor in the pop-up menu.Th

45、is launches the Bus Monitor in the predefined protocol mode,CAN,LIN,or FlexRay,related to the selected device port name.Launching the Bus Monitor on Your Local Host from the Windows Start Menu orthe Nl LauncherNavigate to the Windows StartProgramsNational lnstrumentsNI-XNET menu from the Windows Sta

46、rt menu or the Nl Launcher and select NI-XNET Bus Monitor.This launches the Bus Monitor in a non-predefined protocol mode if NI-XNET boards of different protocol types(CAN,LIN,or FlexRay)are detected.An interface selection dialog specifies the port of interest.Set the Mode to Local to run the Bus Mo

47、nitor on your local host.Launching the Bus Monitor from MAX on a Remote TargetNavigate to the appropriate remote target and NI-XNET device and port name under NeighborhoodDevices and Interfaces.Then click the NI-XNET Bus Monitor link in the right pane or right-click the port name in the MAX configur

48、ation tree to access the Bus Monitor in the pop-up menu.This launches the Bus Monitor in the predefined protocol mode,CAN,LIN,or FlexRay,related to the selected device port name.Launching the Bus Monitor on a Remote Target from the Windows Start MenuNavigate to the Windows StartProgramsNational lnst

49、rumentsNI-XNET menu from the Windows Start menu orthe Nl Launcher and select NI-XNET Bus Monitor.This launches the Bus Monitor in a non-predefined protocol mode if NI-XNET boards of different protocol types(CAN,LIN,or FlexRay)are detected.An interface selection dialog specifies the port of interest.

50、Set the Mode to Remote to run the Bus Monitor on your remote target.You need to define the IP address of your National InstrumentsNI-XNET Tools&Utilitiesremote system as well as the Remote Port number.Port 13456 is the default value.If you need to change the default Remote Port,store the Remote Port

展开阅读全文
部分上传会员的收益排行 01、路***(¥15400+),02、曲****(¥15300+),
03、wei****016(¥13200+),04、大***流(¥12600+),
05、Fis****915(¥4200+),06、h****i(¥4100+),
07、Q**(¥3400+),08、自******点(¥2400+),
09、h*****x(¥1400+),10、c****e(¥1100+),
11、be*****ha(¥800+),12、13********8(¥800+)。
相似文档                                   自信AI助手自信AI助手
百度文库年卡

猜你喜欢                                   自信AI导航自信AI导航
搜索标签

当前位置:首页 > 应用文书 > 其他

移动网页_全站_页脚广告1

关于我们      便捷服务       自信AI       AI导航        获赠5币

©2010-2024 宁波自信网络信息技术有限公司  版权所有

客服电话:4008-655-100  投诉/维权电话:4009-655-100

gongan.png浙公网安备33021202000488号   

icp.png浙ICP备2021020529号-1  |  浙B2-20240490  

关注我们 :gzh.png    weibo.png    LOFTER.png 

客服