XNET Hardware&SoftwareManual

Embed Size (px)

Citation preview

  • 8/10/2019 XNET Hardware&SoftwareManual

    1/1105

    XNETNI-XNET Hardware and Software Manual

    NI-XNET Hardware and Software Manual

    April 2011372840C-01

  • 8/10/2019 XNET Hardware&SoftwareManual

    2/1105

    Support

    Worldwide Technical Support and Product Information

    ni.com

    Worldwide Offices

    Visit ni.com/niglobal to access the branch office Web sites, which provide up-to-date contact information,support phone numbers, email addresses, and current events.

    National Instruments Corporate Headquarters

    11500 North Mopac Expressway Austin, Texas 78759-3504 USA Tel: 512 683 0100

    For further support information, refer to the Technical Support and Professional Services appendix. To commenton National Instruments documentation, refer to the National Instruments Web site at ni.com/info and enterthe Info Code feedback .

    20092011 National Instruments Corporation. All rights reserved.

  • 8/10/2019 XNET Hardware&SoftwareManual

    3/1105

    Important Information

    WarrantyThe NI-XNET hardware is warranted against defects in materials and workmanship for a period of one year from the date of shipment, asevidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective

    during the warranty period. This warranty includes parts and labor.The media on which you receive National Instruments software are warranted not to fail to execute programming instructions, due to defects inmaterials and workmanship, for a period of 90 days from date of shipment, as evidenced by receipts or other documentation. National Instrumentswill, at its option, repair or replace software media that do not execute programming instructions if National Instruments receives notice of such defectsduring the warranty period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside of the package before anyequipment will be accepted for warranty work. National Instruments will pay the shipping costs of returning to the owner parts which are covered bywarranty.National Instruments believes that the information in this document is accurate. The document has been carefully reviewed for technical accuracy. Inthe event that technical or typographical errors exist, National Instruments reserves the right to make changes to subsequent editions of this documentwithout prior notice to holders of this edition. The reader should consult National Instruments if errors are suspected. In no event shall NationalInstruments be liable for any damages arising out of or related to this document or the information contained in it.EXCEPT AS SPECIFIED HEREIN , NATIONAL INSTRUMENTS MAKES NO WARRANTIES , EXPRESS OR IMPLIED , AND SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE . C USTOMER S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL INSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER . NATIONAL INSTRUMENTS WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA , PROFITS , USE OF PRODUCTS , OR INCIDENTAL OR CONSEQUENTIAL DAMAGES , EVEN IF ADVISED OF THE POSSIBILITY THEREOF . This limitation ofthe liability of National Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action againstNational Instruments must be brought within one year after the cause of action accrues. National Instruments shall not be liable for any delay inperformance due to causes beyond its reasonable control. The warranty provided herein does not cover damages, defects, malfunctions, or servicefailures caused by owners failure to follow the National Instruments installation, operation, or maintenance instructions; owners modification of theproduct; owners abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or other events outsidereasonable control.

    CopyrightUnder the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical, including photocopying,recording, storing in an information retrieval system, or translating, in whole or in part, without the prior written consent of NationalInstruments Corporation.National Instruments respects the intellectual property of others, and we ask our users to do the same. NI software is protected by copyright and otherintellectual property laws. Where NI software may be used to reproduce software or other materials belonging to others, you may use NI software onlyto reproduce materials that you may reproduce in accordance with the terms of any applicable license or other legal restriction.

    TrademarksCVI, LabVIEW, National Instruments, NI, ni.com, the National Instruments corporate logo, and the Eagle logo are trademarks of NationalInstruments Corporation. Refer to the Trademark Information at ni.com/trademarks for other National Instruments trademarks.The mark LabWindows is used under a license from Microsoft Corporation. Windows is a registered trademark of Microsoft Corporation in the UnitedStates and other countries. Other product and company names mentioned herein are trademarks or trade names of their respective companies.Members of the National Instruments Alliance Partner Program are business entities independent from National Instruments and have no agency,partnership, or joint-venture relationship with National Instruments.

    PatentsFor patents covering National Instruments products/technology, refer to the appropriate location: HelpPatents in your software,the patents.txt file on your media, or the National Instruments Patent Notice at ni.com/patents .Export Compliance InformationRefer to the Export Compliance Information at ni.com/legal/export-compliance for the National Instruments global trade compliancepolicy and how to obtain relevant HTS codes, ECCNs, and other import/export data.

    WARNING REGARDING USE OF NATIONAL INSTRUMENTS PRODUCTS(1) NATIONAL INSTRUMENTS PRODUCTS ARE NOT DESIGNED WITH COMPONENTS AND TESTING FOR A LEVEL OFRELIABILITY SUITABLE FOR USE IN OR IN CONNECTION WITH SURGICAL IMPLANTS OR AS CRITICAL COMPONENTS INANY LIFE SUPPORT SYSTEMS WHOSE FAILURE TO PERFORM CAN REASONABLY BE EXPECTED TO CAUSE SIGNIFICANTINJURY TO A HUMAN.(2) IN ANY APPLICATION, INCLUDING THE ABOVE, RELIABILITY OF OPERATION OF THE SOFTWARE PRODUCTS CAN BE

    IMPAIRED BY ADVERSE FACTORS, INCLUDING BUT NOT LIMITED TO FLUCTUATIONS IN ELECTRICAL POWER SUPPLY,COMPUTER HARDWARE MALFUNCTIONS, COMPUTER OPERATING SYSTEM SOFTWARE FITNESS, FITNESS OF COMPILERSAND DEVELOPMENT SOFTWARE USED TO DEVELOP AN APPLICATION, INSTALLATION ERRORS, SOFTWARE AND HARDWARECOMPATIBILITY PROBLEMS, MALFUNCTIONS OR FAILURES OF ELECTRONIC MONITORING OR CONTROL DEVICES,TRANSIENT FAILURES OF ELECTRONIC SYSTEMS (HARDWARE AND/OR SOFTWARE), UNANTICIPATED USES OR MISUSES, ORERRORS ON THE PART OF THE USER OR APPLICATIONS DESIGNER (ADVERSE FACTORS SUCH AS THESE ARE HEREAFTERCOLLECTIVELY TERMED SYSTEM FAILURES). ANY APPLICATION WHERE A SYSTEM FAILURE WOULD CREATE A RISK OFHARM TO PROPERTY OR PERSONS (INCLUDING THE RISK OF BODILY INJURY AND DEATH) SHOULD NOT BE RELIANT SOLELYUPON ONE FORM OF ELECTRONIC SYSTEM DUE TO THE RISK OF SYSTEM FAILURE. TO AVOID DAMAGE, INJURY, OR DEATH,THE USER OR APPLICATION DESIGNER MUST TAKE REASONABLY PRUDENT STEPS TO PROTECT AGAINST SYSTEM FAILURES,INCLUDING BUT NOT LIMITED TO BACK-UP OR SHUT DOWN MECHANISMS. BECAUSE EACH END-USER SYSTEM ISCUSTOMIZED AND DIFFERS FROM NATIONAL INSTRUMENTS' TESTING PLATFORMS AND BECAUSE A USER OR APPLICATIONDESIGNER MAY USE NATIONAL INSTRUMENTS PRODUCTS IN COMBINATION WITH OTHER PRODUCTS IN A MANNER NOTEVALUATED OR CONTEMPLATED BY NATIONAL INSTRUMENTS, THE USER OR APPLICATION DESIGNER IS ULTIMATELYRESPONSIBLE FOR VERIFYING AND VALIDATING THE SUITABILITY OF NATIONAL INSTRUMENTS PRODUCTS WHENEVERNATIONAL INSTRUMENTS PRODUCTS ARE INCORPORATED IN A SYSTEM OR APPLICATION, INCLUDING, WITHOUTLIMITATION, THE APPROPRIATE DESIGN, PROCESS AND SAFETY LEVEL OF SUCH SYSTEM OR APPLICATION.

  • 8/10/2019 XNET Hardware&SoftwareManual

    4/1105

    Compliance

    Electromagnetic Compatibility InformationThis hardware has been tested and found to comply with the applicable regulatory requirements and limits for electromagneticcompatibility (EMC) as indicated in the hardwares Declaration of Conformity (DoC) 1. These requirements and limits aredesigned to provide reasonable protection against harmful interference when the hardware is operated in the intendedelectromagnetic environment. In special cases, for example when either highly sensitive or noisy hardware is being used in closeproximity, additional mitigation measures may have to be employed to minimize the potential for electromagnetic interference.

    While this hardware is compliant with the applicable regulatory EMC requirements, there is no guarantee that interference willnot occur in a particular installation. To minimize the potential for the hardware to cause interference to radio and televisionreception or to experience unacceptable performance degradation, install and use this hardware in strict accordance with theinstructions in the hardware documentation and the DoC 1.

    If this hardware does cause interference with licensed radio communications services or other nearby electronics, which can bedetermined by turning the hardware off and on, you are encouraged to try to correct the interference by one or more of thefollowing measures: Reorient the antenna of the receiver (the device suffering interference). Relocate the transmitter (the device generating interference) with respect to the receiver. Plug the transmitter into a different outlet so that the transmitter and the receiver are on different branch circuits.

    Some hardware may require the use of a metal, shielded enclosure (windowless version) to meet the EMC requirements forspecial EMC environments such as, for marine use or in heavy industrial areas. Refer to the hardwares user documentation andthe DoC 1 for product installation requirements.

    When the hardware is connected to a test object or to test leads, the system may become more sensitive to disturbances or maycause interference in the local electromagnetic environment.

    Operation of this hardware in a residential area is likely to cause harmful interference. Users are required to correct theinterference at their own expense or cease operation of the hardware.

    Changes or modifications not expressly approved by National Instruments could void the users right to operate the hardwareunder the local regulatory rules.

    1 The Declaration of Conformity (DoC) contains important EMC compliance information and instructions for the user orinstaller. To obtain the DoC for this product, visit ni.com/certification , search by model number or product line,and click the appropriate link in the Certification column.

  • 8/10/2019 XNET Hardware&SoftwareManual

    5/1105

    National Instruments Corporation vii NI-XNET Hardware and Software Manual

    Contents

    About This ManualConventions ................................................................................................................... xxxiRelated Documentation..................................................................................................xxxi

    Chapter 1Introduction

    Chapter 2Installation and Configuration

    Safety Information ......................................................................................................... 2-1

    Measurement & Automation Explorer (MAX) ............................................................. 2-3Verifying NI-XNET Hardware Installation...................................................................2-4XNET C Series Modules Firmware Update .................................................................. 2-5Configuring NI-XNET Interfaces..................................................................................2-7LabVIEW Real-Time (RT) Configuration .................................................................... 2-7Getting Started with CompactRIO.................................................................................2-8Tools ..............................................................................................................................2-12System Configuration API.............................................................................................2-13

    Chapter 3

    NI-XNET Hardware OverviewOverview........................................................................................................................3-1NI-XNET FlexRay Hardware........................................................................................3-1

    FlexRay Physical Layer...................................................................................3-1Transceiver........................................................................................3-1Bus Power Requirements .................................................................. 3-1Cabling Requirements for FlexRay...................................................3-1Cable Lengths ...................................................................................3-2Termination.......................................................................................3-2

    Pinout...............................................................................................................3-2NI-XNET CAN Hardware ............................................................................................. 3-3

    XS Software Selectable Physical Layer .......................................................... 3-3High-Speed Physical Layer ............................................................................. 3-4

    Transceiver........................................................................................3-4Bus Power Requirements .................................................................. 3-4Cabling Requirements for High-Speed CAN....................................3-4Cable Lengths ...................................................................................3-5Number of Devices ...........................................................................3-5

  • 8/10/2019 XNET Hardware&SoftwareManual

    6/1105

    Contents

    NI-XNET Hardware and Software Manual viii ni.com

    Cable Termination ............................................................................ 3-5Cabling Example .............................................................................. 3-6

    Low-Speed/Fault-Tolerant Physical Layer ..................................................... 3-7Transceiver ....................................................................................... 3-7Bus Power Requirements.................................................................. 3-7

    Cabling Requirements for Low-Speed/ Fault-Tolerant CAN........... 3-7Number of Devices........................................................................... 3-8Termination ...................................................................................... 3-8Determining the Necessary Termination Resistance

    for the Board.................................................................................. 3-9Single Wire CAN Physical Layer ................................................................... 3-10

    Transceiver ....................................................................................... 3-10Bus Power Requirements.................................................................. 3-10Cabling Requirements for Single Wire CAN ................................... 3-10Cable Length..................................................................................... 3-11Number of Devices........................................................................... 3-11Termination (Bus Loading) .............................................................. 3-11

    External CAN Transceiver.............................................................................. 3-11Pinouts............................................................................................................. 3-11

    PXI-8511/8512/8513 and PCI-8511/8512/8513............................... 3-11C Series NI 9862............................................................................... 3-13

    NI-XNET LIN Hardware .............................................................................................. 3-13LIN Physical Layer ......................................................................................... 3-13

    Transceiver ....................................................................................... 3-13Bus Power Requirements.................................................................. 3-14Cabling Requirements for LIN ......................................................... 3-14

    Cable Lengths ................................................................................... 3-14Number of Devices........................................................................... 3-14Termination ...................................................................................... 3-14

    Pinout .............................................................................................................. 3-15PXI-8516 and PCI-8516 ................................................................... 3-15

    Isolation ......................................................................................................................... 3-15LEDs.............................................................................................................................. 3-16Synchronization............................................................................................................. 3-18

    PXI NI-XNET and PCI NI-XNET.................................................................. 3-18C Series NI-XNET.......................................................................................... 3-18

    Chapter 4NI-XNET API for LabVIEW

    Getting Started............................................................................................................... 4-1LabVIEW Project............................................................................................ 4-1Examples......................................................................................................... 4-1Palettes ............................................................................................................ 4-2

  • 8/10/2019 XNET Hardware&SoftwareManual

    7/1105

    Contents

    National Instruments Corporation ix NI-XNET Hardware and Software Manual

    Basic Programming Model ............................................................................................4-3Interfaces........................................................................................................................4-4

    What Is an Interface?.......................................................................................4-4How Do I View Available Interfaces? ............................................................ 4-5

    Measurement and Automation Explorer (MAX) .............................. 4-5

    I/O Name...........................................................................................4-6LabVIEW Project..............................................................................4-6System Node .....................................................................................4-6

    Databases .......................................................................................................................4-7What Is a Database? ........................................................................................4-7What Is an Alias?.............................................................................................4-8Database Programming ................................................................................... 4-9

    Already Have File? ...........................................................................4-9Can Use File As Is?...........................................................................4-9Select From File ................................................................................ 4-10Edit and Select ..................................................................................4-11Want to Use a File?...........................................................................4-12Create New File Using the Database Editor .....................................4-12Create in Memory .............................................................................4-12

    Sessions..........................................................................................................................4-13What Is a Session?...........................................................................................4-13Session Modes.................................................................................................4-14

    Frame Input Queued Mode ............................................................... 4-15Frame Input Single-Point Mode........................................................4-18Frame Input Stream Mode ................................................................ 4-19Frame Output Queued Mode.............................................................4-22

    Frame Output Single-Point Mode ..................................................... 4-24Frame Output Stream Mode..............................................................4-27Signal Input Single-Point Mode........................................................4-29Signal Input Waveform Mode...........................................................4-31Signal Input XY Mode......................................................................4-34Signal Output Single-Point Mode ..................................................... 4-36Signal Output Waveform Mode........................................................4-37Signal Output XY Mode ................................................................... 4-40Conversion Mode..............................................................................4-44

    How Do I Create a Session?............................................................................4-46LabVIEW Project..............................................................................4-47XNET Create Session.vi ................................................................... 4-47

    Using CAN ....................................................................................................................4-47Understanding CAN Frame Timing ................................................................4-47Configuring Frame I/O Stream Sessions.........................................................4-48

  • 8/10/2019 XNET Hardware&SoftwareManual

    8/1105

    Contents

    NI-XNET Hardware and Software Manual x ni.com

    Using FlexRay............................................................................................................... 4-48Starting Communication ................................................................................. 4-48Understanding FlexRay Frame Timing........................................................... 4-50Protocol Data Unit (PDU)............................................................................... 4-50

    Using LIN...................................................................................................................... 4-50

    Changing the LIN Schedule............................................................................ 4-50Understanding LIN Frame Timing ................................................................. 4-51Using LabVIEW Real-Time.......................................................................................... 4-51

    High Priority Loops ........................................................................................ 4-51XNET I/O Names............................................................................................ 4-52Deploying Databases....................................................................................... 4-52FlexRay Timing Source .................................................................................. 4-53Creating a Built Real-Time Application ......................................................... 4-53

    NI-XNET API for LabVIEW Reference....................................................................... 4-54XNET Session Constant.................................................................................. 4-54XNET Create Session.vi ................................................................................. 4-55

    XNET Create Session (Conversion).vi............................................. 4-56XNET Create Session (Frame Input Queued).vi .............................. 4-57XNET Create Session (Frame Input Single-Point).vi ...................... 4-58XNET Create Session (Frame Input Stream).vi ............................... 4-59XNET Create Session (PDU Input Queued).vi ................................ 4-61XNET Create Session (PDU Input Single Point).vi......................... 4-61XNET Create Session (Frame Output Queued).vi ........................... 4-62XNET Create Session (Frame Output Single-Point).vi.................... 4-63XNET Create Session (Frame Output Stream).vi ............................ 4-64XNET Create Session (PDU Output Queued).vi.............................. 4-65

    XNET Create Session (PDU Output Single-Point).vi ...................... 4-65XNET Create Session (Generic).vi................................................... 4-66XNET Create Session (Signal Input Single-Point).vi ...................... 4-68XNET Create Session (Signal Input Waveform).vi ......................... 4-69XNET Create Session (Signal Input XY).vi..................................... 4-70XNET Create Session (Signal Output Single-Point).vi.................... 4-71XNET Create Session (Signal Output Waveform).vi....................... 4-72XNET Create Session (Signal Output XY).vi .................................. 4-73

    XNET Session Property Node ........................................................................ 4-74Interface Properties........................................................................... 4-75

    CAN Interface Properties................................................... 4-75Interface:CAN:External Transceiver Config ....... 4-76Interface:CAN:Listen Only?................................ 4-78Interface:CAN:Output Stream List By ID........... 4-79Interface:CAN:Pending Transmit Order.............. 4-80Interface:CAN:Single Shot Transmit?................. 4-82Interface:CAN:Termination................................. 4-83

  • 8/10/2019 XNET Hardware&SoftwareManual

    9/1105

    Contents

    National Instruments Corporation xi NI-XNET Hardware and Software Manual

    Interface:CAN:Transceiver State ......................... 4-85Interface:CAN:Transceiver Type.........................4-88

    FlexRay Interface Properties .............................................. 4-90Interface:FlexRay:Accepted Startup Range.........4-90Interface:FlexRay:Allow Halt Due To Clock?..... 4-91

    Interface:FlexRay:Allow Passive to Active......... 4-92Interface:FlexRay:Cluster Drift Damping............4-93Interface:FlexRay:Coldstart? ...............................4-94Interface:FlexRay:Decoding Correction .............. 4-95Interface:FlexRay:Delay Compensation Ch A.....4-96Interface:FlexRay:Delay Compensation Ch B.....4-97Interface:FlexRay:Key Slot Identifier..................4-98Interface:FlexRay:Latest Tx.................................4-100Interface:FlexRay:Listen Timeout ....................... 4-101Interface:FlexRay:Macro Initial Offset Ch A ...... 4-102Interface:FlexRay:Macro Initial Offset Ch B.......4-103Interface:FlexRay:Max Drift................................4-104Interface:FlexRay:Micro Initial Offset Ch A....... 4-105Interface:FlexRay:Micro Initial Offset Ch B ....... 4-106Interface:FlexRay:Microtick ................................4-107Interface:FlexRay:Null Frames To Input

    Stream?..............................................................4-108Interface:FlexRay:Offset Correction....................4-109Interface:FlexRay:Offset Correction Out.............4-110Interface:FlexRay:Rate Correction ......................4-111Interface:FlexRay:Rate Correction Out ............... 4-112

    Interface:FlexRay:Samples Per Microtick ........... 4-113Interface:FlexRay:Single Slot Enabled? .............. 4-114Interface:FlexRay:Statistics Enabled?..................4-115Interface:FlexRay:Sync Frames Channel A

    Even...................................................................4-116Interface:FlexRay:Sync Frames Channel A

    Odd ....................................................................4-117Interface:FlexRay:Sync Frames Channel B

    Even...................................................................4-118Interface:FlexRay:Sync Frames Channel B

    Odd ....................................................................4-119Interface:FlexRay:Sync Frame Status..................4-120Interface:FlexRay:Termination ............................ 4-121Interface:FlexRay:Wakeup Channel ....................4-122Interface:FlexRay:Wakeup Pattern ......................4-123

    LIN Interface Properties .....................................................4-124Interface:LIN:Break Length................................. 4-124Interface:LIN:Master?..........................................4-125

  • 8/10/2019 XNET Hardware&SoftwareManual

    10/1105

    Contents

    NI-XNET Hardware and Software Manual xii ni.com

    Interface:LIN:Schedules ...................................... 4-126Interface:LIN:Sleep ............................................. 4-127Interface:LIN:Termination................................... 4-130

    Source Terminal Interface Properties................................. 4-131Interface:Source Terminal:Start Trigger.............. 4-131

    Interface:Baud Rate............................................................ 4-132Interface:Echo Transmit? ................................................... 4-135Interface:I/O Name............................................................. 4-136Interface:Output Stream List .............................................. 4-137Interface:Output Stream Timing ........................................ 4-138

    Frame Properties............................................................................... 4-140CAN Frame Properties....................................................... 4-140

    Frame:CAN:Start Time Offset............................. 4-140Frame:CAN:Transmit Time................................. 4-141

    Frame:Active...................................................................... 4-142Frame:Skip N Cyclic Frames ............................................. 4-143

    Auto Start? ........................................................................................ 4-144Cluster............................................................................................... 4-145Database............................................................................................ 4-146List of Frames ................................................................................... 4-147List of Signals ................................................................................... 4-148Mode................................................................................................. 4-149Number in List.................................................................................. 4-149Number of Values Pending............................................................... 4-150Number of Values Unused ............................................................... 4-151Payload Length Maximum ............................................................... 4-152

    Protocol............................................................................................. 4-153Queue Size........................................................................................ 4-154Resample Rate .................................................................................. 4-160

    XNET Read.vi................................................................................................. 4-161XNET Read (Frame CAN).vi ........................................................... 4-163XNET Read (Frame FlexRay).vi...................................................... 4-167XNET Read (Frame LIN).vi............................................................. 4-172XNET Read (Frame Raw).vi ............................................................ 4-177XNET Read (Signal Single-Point).vi ............................................... 4-180XNET Read (Signal Waveform).vi .................................................. 4-181XNET Read (Signal XY).vi.............................................................. 4-183XNET Read (State CAN Comm).vi ................................................. 4-186XNET Read (State FlexRay Comm).vi ............................................ 4-190XNET Read (State LIN Comm).vi ................................................... 4-194XNET Read (State FlexRay Cycle Macrotick).vi ............................ 4-199XNET Read (State FlexRay Statistics).vi......................................... 4-201XNET Read (State Time Comm).vi ................................................. 4-203

  • 8/10/2019 XNET Hardware&SoftwareManual

    11/1105

    Contents

    National Instruments Corporation xiii NI-XNET Hardware and Software Manual

    XNET Read (State Time Current).vi ................................................ 4-204XNET Read (State Time Start).vi .....................................................4-205

    XNET Write.vi ................................................................................................4-207XNET Write (Signal Single-Point).vi...............................................4-209XNET Write (Signal Waveform).vi..................................................4-210

    XNET Write (Signal XY).vi .............................................................4-212XNET Write (Frame CAN).vi ..........................................................4-214XNET Write (Frame FlexRay).vi ..................................................... 4-218XNET Write (Frame LIN).vi ............................................................4-222XNET Write (Frame Raw).vi............................................................4-225XNET Write (State LIN Schedule Change).vi..................................4-228

    Database Subpalette.........................................................................................4-231XNET Database Property Node........................................................4-231

    Clusters ...............................................................................4-232ShowInvalidFromOpen?.....................................................4-233

    XNET Database Constant ................................................................. 4-234XNET Cluster Property Node ...........................................................4-234

    FlexRay Properties .............................................................4-235FlexRay:Action Point Offset................................4-235FlexRay:CAS Rx Low Max ................................. 4-236FlexRay:Channels ................................................4-237FlexRay:Cluster Drift Damping...........................4-238FlexRay:Cold Start Attempts ............................... 4-239FlexRay:Cycle......................................................4-240FlexRay:Dynamic Segment Start.........................4-241FlexRay:Dynamic Slot Idle Phase........................4-242

    FlexRay:Latest Guaranteed Dynamic Slot...........4-243FlexRay:Latest Usable Dynamic Slot .................. 4-244FlexRay:Listen Noise...........................................4-245FlexRay:Macro Per Cycle .................................... 4-246FlexRay:Macrotick...............................................4-247FlexRay:Max Without Clock Correction Fatal ....4-248FlexRay:Max Without Clock Correction

    Passive ...............................................................4-249FlexRay:Minislot Action Point Offset ................. 4-250FlexRay:Minislot..................................................4-251FlexRay:Network Management Vector Length...4-252FlexRay:NIT Start ................................................ 4-253FlexRay:NIT.........................................................4-254FlexRay:Number of Minislots..............................4-255FlexRay:Number of Static Slots...........................4-256FlexRay:Offset Correction Start...........................4-257FlexRay:Payload Length Dynamic Maximum.....4-258FlexRay:Payload Length Maximum ....................4-259

  • 8/10/2019 XNET Hardware&SoftwareManual

    12/1105

    Contents

    NI-XNET Hardware and Software Manual xiv ni.com

    FlexRay:Payload Length Static ........................... 4-260FlexRay:Static Slot .............................................. 4-261FlexRay:Symbol Window Start........................... 4-262FlexRay:Symbol Window.................................... 4-263FlexRay:Sync Node Max..................................... 4-264

    FlexRay:TSS Transmitter .................................... 4-265FlexRay:Wakeup Symbol Rx Idle ....................... 4-266FlexRay:Wakeup Symbol Rx Low...................... 4-267FlexRay:Wakeup Symbol Rx Window................ 4-268FlexRay:Wakeup Symbol Tx Idle ....................... 4-269FlexRay:Wakeup Symbol Tx Low ...................... 4-270

    Baud Rate ........................................................................... 4-271Comment ............................................................................ 4-272Configuration Status........................................................... 4-272Database ............................................................................. 4-273ECUs .................................................................................. 4-273Frames ................................................................................ 4-274LIN:Schedules.................................................................... 4-275LIN:Tick............................................................................. 4-276Name (Short) ...................................................................... 4-277PDUs .................................................................................. 4-279PDUs Required?................................................................. 4-280Protocol .............................................................................. 4-282Signals ................................................................................ 4-282

    XNET Cluster Constant.................................................................... 4-283XNET ECU Property Node .............................................................. 4-283

    Cluster ................................................................................ 4-284FlexRay:Coldstart?............................................................. 4-284Comment ............................................................................ 4-285Configuration Status........................................................... 4-285Frames Received ................................................................ 4-286Frames Transmitted............................................................ 4-286LIN:Master? ....................................................................... 4-287LIN:Protocol Version......................................................... 4-287Name (Short) ...................................................................... 4-288FlexRay:Startup Frame ...................................................... 4-290

    XNET ECU Constant ....................................................................... 4-291XNET Frame Property Node ............................................................ 4-291

    CAN:Extended Identifier?.................................................. 4-291CAN:Timing Type ............................................................. 4-292CAN:Transmit Time .......................................................... 4-294Cluster ................................................................................ 4-295Comment ............................................................................ 4-295Configuration Status........................................................... 4-296

  • 8/10/2019 XNET Hardware&SoftwareManual

    13/1105

    Contents

    National Instruments Corporation xv NI-XNET Hardware and Software Manual

    Default Payload ..................................................................4-297FlexRay:Base Cycle ...........................................................4-299FlexRay:Channel Assignment ............................................ 4-301FlexRay:Cycle Repetition...................................................4-302FlexRay:Payload Preamble?...............................................4-304

    FlexRay:Startup? ................................................................ 4-305FlexRay:Sync?....................................................................4-306FlexRay:Timing Type.........................................................4-307FlexRay:In Cycle Repetitions:Channel Assignments.........4-308FlexRay:In Cycle Repetitions:Enabled?.............................4-309FlexRay:In Cycle Repetitions:Identifiers ........................... 4-310Identifier .............................................................................4-311LIN:Checksum....................................................................4-313Mux:Data Multiplexer Signal.............................................4-314Mux:Is Data Multiplexed?..................................................4-314Mux:Static Signals..............................................................4-315Mux:Subframes ..................................................................4-315Name (Short) ......................................................................4-316Payload Length ................................................................... 4-318PDU_Mapping....................................................................4-319Signals ................................................................................4-320

    XNET Frame Constant......................................................................4-321XNET PDU Property Node...............................................................4-321

    Cluster.................................................................................4-322Comment ............................................................................4-322Configuration Status ........................................................... 4-323

    Frames ................................................................................4-324Mux:Data Multiplexer Signal.............................................4-324Mux:Is Data Multiplexed?..................................................4-325Mux:Static Signals..............................................................4-325Mux:Subframes ..................................................................4-326Name (Short) ......................................................................4-327Payload Length ................................................................... 4-328Signals ................................................................................4-329

    XNET PDU Constant........................................................................4-329XNET Subframe Property Node ....................................................... 4-330

    Dynamic Signals.................................................................4-331Frame .................................................................................. 4-331Multiplexer Value...............................................................4-332Name (Short) ......................................................................4-333PDU ....................................................................................4-335

    XNET Signal Property Node ............................................................4-336Byte Order ..........................................................................4-337Comment ............................................................................4-339

  • 8/10/2019 XNET Hardware&SoftwareManual

    14/1105

    Contents

    NI-XNET Hardware and Software Manual xvi ni.com

    Configuration Status........................................................... 4-340Data Type ........................................................................... 4-341Default Value ..................................................................... 4-342Mux:Dynamic?................................................................... 4-343Frame.................................................................................. 4-344

    Maximum Value................................................................. 4-344Minimum Value ................................................................. 4-345Mux:Multiplexer Value...................................................... 4-345Mux:Data Multiplexer? ...................................................... 4-346Name (Short) ...................................................................... 4-347Number of Bits................................................................... 4-349PDU.................................................................................... 4-350Scaling Factor..................................................................... 4-351Scaling Offset ..................................................................... 4-351Start Bit .............................................................................. 4-352Mux:Subframe.................................................................... 4-354Unit..................................................................................... 4-354

    XNET Signal Constant ..................................................................... 4-355XNET Database Open.vi .................................................................. 4-355

    XNET Database Open (Cluster).vi..................................... 4-356XNET Database Open (Database).vi ................................. 4-358XNET Database Open (ECU).vi ........................................ 4-360XNET Database Open (Frame).vi...................................... 4-361XNET Database Open (PDU).vi ........................................ 4-363XNET Database Open (Signal).vi...................................... 4-365XNET Database Open (Subframe).vi................................. 4-367

    XNET Database Open (LIN Schedule).vi.......................... 4-369XNET Database Open (LIN Schedule Entry).vi ................ 4-370

    XNET Database Close.vi.................................................................. 4-372XNET Database Close (Cluster).vi .................................... 4-373XNET Database Close (Database).vi ................................. 4-374XNET Database Close (ECU).vi........................................ 4-375XNET Database Close (Frame).vi ..................................... 4-376XNET Database Close (PDU).vi........................................ 4-377XNET Database Close (Signal).vi ..................................... 4-378XNET Database Close (Subframe).vi ................................ 4-379XNET Database Close (LIN Schedule).vi ......................... 4-380XNET Database Close (LIN Schedule Entry).vi ............... 4-381

    XNET Database Create Object.vi..................................................... 4-382XNET Database Create (Cluster).vi................................... 4-383XNET Database Create (Dynamic Signal).vi .................... 4-385XNET Database Create (ECU).vi ...................................... 4-387XNET Database Create (Frame).vi .................................... 4-389XNET Database Create (PDU).vi ...................................... 4-391

  • 8/10/2019 XNET Hardware&SoftwareManual

    15/1105

    Contents

    National Instruments Corporation xvii NI-XNET Hardware and Software Manual

    XNET Database Create (Signal).vi ....................................4-392XNET Database Create (Subframe).vi ............................... 4-394XNET Database Create (LIN Schedule).vi ........................4-396XNET Database Create (LIN Schedule Entry).vi...............4-398

    XNET Database Delete Object.vi .....................................................4-400

    XNET Database Delete (Cluster).vi ...................................4-401XNET Database Delete (ECU).vi.......................................4-402XNET Database Delete (Frame).vi .................................... 4-403XNET Database Delete (PDU).vi.......................................4-404XNET Database Delete (Signal).vi ....................................4-405XNET Database Delete (Subframe).vi ............................... 4-406XNET Database Delete (LIN Schedule).vi ........................4-407XNET Database Delete (LIN Schedule Entry).vi...............4-408

    XNET Database Save.vi ...................................................................4-409File Management Subpalette.............................................................4-410

    XNET Database Add Alias.vi ............................................4-410XNET Database Remove Alias.vi ......................................4-412XNET Database Get List.vi................................................4-413XNET Database Deploy.vi ................................................. 4-415XNET Database Undeploy.vi .............................................4-417

    XNET LIN Schedule Property Node ................................................ 4-418Cluster.................................................................................4-418Comment ............................................................................4-419Configuration Status ........................................................... 4-420Entries.................................................................................4-421Name (Short) ......................................................................4-422

    Priority ................................................................................ 4-423Run Mode ...........................................................................4-424

    XNET LIN Schedule Entry Property Node ......................................4-425Collision Resolving Schedule.............................................4-426Delay...................................................................................4-427Event Identifier ................................................................... 4-427Frames ................................................................................4-428Name (Short) ......................................................................4-429Schedule..............................................................................4-430Type....................................................................................4-431

    XNET Database Get DBC Attribute.vi.............................................4-432Notify Subpalette.............................................................................................4-434

    XNET Wait.vi ...................................................................................4-434XNET Wait (Transmit Complete).vi .................................. 4-435XNET Wait (Interface Communicating).vi ........................4-436XNET Wait (CAN Remote Wakeup).vi.............................4-438XNET Wait (LIN Remote Wakeup).vi...............................4-439

  • 8/10/2019 XNET Hardware&SoftwareManual

    16/1105

    Contents

    NI-XNET Hardware and Software Manual xviii ni.com

    XNET Create Timing Source.vi ....................................................... 4-440XNET Create Timing Source (FlexRay Cycle).vi ............. 4-440

    Advanced Subpalette....................................................................................... 4-449XNET Start.vi ................................................................................... 4-449XNET Stop.vi ................................................................................... 4-451

    XNET Clear.vi.................................................................................. 4-453XNET Flush.vi.................................................................................. 4-454XNET Connect Terminals.vi ............................................................ 4-455XNET Disconnect Terminals.vi ....................................................... 4-461XNET Terminal Constant................................................................. 4-462XNET System Property Node .......................................................... 4-462

    Devices ............................................................................... 4-463Interfaces (FlexRay)........................................................... 4-463Interfaces (All) ................................................................... 4-464Interfaces (CAN) ................................................................ 4-464Interfaces (LIN).................................................................. 4-465Version:Build ..................................................................... 4-466Version:Major .................................................................... 4-467Version:Minor .................................................................... 4-468Version:Phase..................................................................... 4-469Version:Update................................................................... 4-470

    XNET Device Property Node........................................................... 4-471Form Factor ........................................................................ 4-471Interfaces............................................................................ 4-472Number of Ports ................................................................. 4-473Product Name..................................................................... 4-473

    Product Number ................................................................. 4-474Serial Number .................................................................... 4-474Slot Number ....................................................................... 4-475

    XNET Interface Property Node ........................................................ 4-475CAN.Termination Capability ............................................. 4-476CAN.Transceiver Capability.............................................. 4-477Device................................................................................. 4-478Name .................................................................................. 4-478Number............................................................................... 4-479Port Number ....................................................................... 4-480Protocol .............................................................................. 4-481

    XNET Interface Constant ................................................................. 4-482XNET Blink.vi.................................................................................. 4-482XNET System Close.vi..................................................................... 4-484XNET String to IO Name.vi............................................................. 4-485

    XNET String to IO Name (Session).vi............................... 4-486XNET String to IO Name (Interface).vi............................. 4-487XNET String to IO Name (Signal).vi................................. 4-488

  • 8/10/2019 XNET Hardware&SoftwareManual

    17/1105

    Contents

    National Instruments Corporation xix NI-XNET Hardware and Software Manual

    XNET String to IO Name (Frame).vi.................................4-489XNET String to IO Name (Subframe).vi............................4-490XNET String to IO Name (ECU).vi ................................... 4-491XNET String to IO Name (Cluster).vi................................4-492XNET String to IO Name (Database Alias).vi ................... 4-493

    XNET String to IO Name (Database Filepath).vi .............. 4-494XNET String to IO Name (LIN Schedule).vi.....................4-495XNET String to IO Name (LIN Schedule Entry).vi...........4-496

    XNET Convert.vi ..............................................................................4-497XNET Convert (Frame CAN to Signal).vi.........................4-498XNET Convert (Frame FlexRay to Signal).vi....................4-501XNET Convert (Frame LIN to Signal).vi...........................4-504XNET Convert (Frame Raw to Signal).vi..........................4-506XNET Convert (Signal to Frame CAN).vi.........................4-508XNET Convert (Signal to Frame FlexRay).vi....................4-510XNET Convert (Signal to Frame LIN).vi...........................4-513XNET Convert (Signal to Frame Raw).vi .......................... 4-515

    Controls Palette ...............................................................................................4-517XNET Session Control......................................................................4-517Database Controls .............................................................................4-517System Controls ................................................................................4-518

    Additional Topics .......................................................................................................... 4-519Overall .............................................................................................................4-519

    Creating a Built Application .............................................................4-519Cyclic and Event Timing ..................................................................4-520Error Handling ..................................................................................4-521

    Fault Handling...................................................................................4-522Multiplexed Signals ..........................................................................4-524Raw Frame Format............................................................................4-526Required Properties...........................................................................4-531State Models......................................................................................4-533

    CAN.................................................................................................................4-540NI-CAN.............................................................................................4-540CAN Timing Type and Session Mode..............................................4-541

    FlexRay............................................................................................................4-545FlexRay Timing Type and Session Mode.........................................4-545Protocol Data Units (PDUs) in NI-XNET ........................................4-548

    LIN ..................................................................................................................4-551LIN Frame Timing and Session Mode..............................................4-551

    XNET I/O Names............................................................................................4-553I/O Name Classes..............................................................................4-555XNET Cluster I/O Name...................................................................4-556XNET Database I/O Name ...............................................................4-559XNET Device I/O Name...................................................................4-562

  • 8/10/2019 XNET Hardware&SoftwareManual

    18/1105

  • 8/10/2019 XNET Hardware&SoftwareManual

    19/1105

    Contents

    National Instruments Corporation xxi NI-XNET Hardware and Software Manual

    Signal Input Waveform Mode...........................................................5-25Signal Input XY Mode......................................................................5-27Signal Output Single-Point Mode ..................................................... 5-29Signal Output Waveform Mode........................................................5-30Signal Output XY Mode ................................................................... 5-33

    Conversion Mode..............................................................................5-37NI-XNET API for C Reference ..................................................................................... 5-40Functions ......................................................................................................... 5-40

    nxBlink..............................................................................................5-40nxClear ..............................................................................................5-42nxConnectTerminals ......................................................................... 5-43nxConvertFramesToSignalsSinglePoint ........................................... 5-49nxConvertSignalsToFramesSinglePoint ........................................... 5-51nxCreateSession ................................................................................ 5-53nxCreateSessionByRef......................................................................5-58nxdbAddAlias ...................................................................................5-60nxdbCloseDatabase...........................................................................5-62nxdbCreateObject..............................................................................5-63nxdbDeleteObject..............................................................................5-65nxdbDeploy.......................................................................................5-66nxdbFindObject.................................................................................5-68nxdbGetDatabaseList ........................................................................ 5-70nxdbGetDatabaseListSizes................................................................5-72nxdbGetDBCAttribute ...................................................................... 5-74nxdbGetDBCAttributeSize ............................................................... 5-76nxdbGetProperty ...............................................................................5-77

    nxdbGetPropertySize ........................................................................ 5-78nxdbOpenDatabase ...........................................................................5-79nxdbRemoveAlias.............................................................................5-80nxdbSaveDatabase ............................................................................5-81nxdbSetProperty................................................................................5-82nxdbUndeploy...................................................................................5-83nxDisconnectTerminals ....................................................................5-84nxFlush..............................................................................................5-86nxGetProperty ................................................................................... 5-87nxGetPropertySize ............................................................................5-89nxGetSubProperty.............................................................................5-90nxGetSubPropertySize...................................................................... 5-91nxReadFrame ....................................................................................5-92nxReadSignalSinglePoint..................................................................5-95nxReadSignalWaveform ................................................................... 5-97nxReadSignalXY ..............................................................................5-99nxReadState ......................................................................................5-101nxSetProperty....................................................................................5-113

  • 8/10/2019 XNET Hardware&SoftwareManual

    20/1105

    Contents

    NI-XNET Hardware and Software Manual xxii ni.com

    nxSetSubProperty ............................................................................. 5-114nxStart............................................................................................... 5-115nxStatusToString .............................................................................. 5-117nxStop ............................................................................................... 5-118nxSystemClose ................................................................................. 5-120

    nxSystemOpen.................................................................................. 5-121nxWait .............................................................................................. 5-122nxWriteFrame ................................................................................... 5-124nxWriteSignalSinglePoint ................................................................ 5-126nxWriteSignalWaveform.................................................................. 5-127nxWriteSignalXY ............................................................................. 5-129nxWriteState ..................................................................................... 5-131

    Properties ........................................................................................................ 5-133XNET Cluster Properties.................................................................. 5-133

    Baud Rate ........................................................................... 5-133Comment ............................................................................ 5-134Configuration Status........................................................... 5-134Database ............................................................................. 5-135ECUs .................................................................................. 5-135FlexRay:Action Point Offset .............................................. 5-136FlexRay:CAS Rx Low Max ............................................... 5-137FlexRay:Channels .............................................................. 5-138FlexRay:Cluster Drift Damping......................................... 5-139FlexRay:Cold Start Attempts ............................................. 5-140FlexRay:Cycle.................................................................... 5-141FlexRay:Dynamic Segment Start ....................................... 5-142

    FlexRay:Dynamic Slot Idle Phase...................................... 5-143FlexRay:Latest Guaranteed Dynamic Slot......................... 5-144FlexRay:Latest Usable Dynamic Slot ................................ 5-145FlexRay:Listen Noise......................................................... 5-146FlexRay:Macro Per Cycle.................................................. 5-147FlexRay:Macrotick............................................................. 5-148FlexRay:Max Without Clock Correction Fatal .................. 5-149FlexRay:Max Without Clock Correction Passive .............. 5-150FlexRay:Minislot................................................................ 5-151FlexRay:Minislot Action Point Offset ............................... 5-152FlexRay:Network Management Vector Length ................. 5-153FlexRay:NIT....................................................................... 5-154FlexRay:NIT Start.............................................................. 5-155FlexRay:Number of Minislots............................................ 5-156FlexRay:Number of Static Slots......................................... 5-157FlexRay:Offset Correction Start......................................... 5-158FlexRay:Payload Length Dynamic Maximum................... 5-159FlexRay:Payload Length Maximum .................................. 5-160

  • 8/10/2019 XNET Hardware&SoftwareManual

    21/1105

    Contents

    National Instruments Corporation xxiii NI-XNET Hardware and Software Manual

    FlexRay:Payload Length Static ..........................................5-161FlexRay:Static Slot .............................................................5-162FlexRay:Symbol Window ..................................................5-163FlexRay:Symbol Window Start..........................................5-164FlexRay:Sync Node Max....................................................5-165

    FlexRay:TSS Transmitter ................................................... 5-166FlexRay:Wakeup Symbol Rx Idle......................................5-167FlexRay:Wakeup Symbol Rx Low.....................................5-168FlexRay:Wakeup Symbol Rx Window .............................. 5-169FlexRay:Wakeup Symbol Tx Idle ......................................5-170FlexRay:Wakeup Symbol Tx Low ..................................... 5-171Frames ................................................................................5-172Name (Short) ......................................................................5-173PDUs...................................................................................5-174PDUs Required? .................................................................5-175Protocol...............................................................................5-177Schedules ............................................................................ 5-177Signals ................................................................................5-178Tick.....................................................................................5-179

    XNET Database Properties ...............................................................5-180Clusters ...............................................................................5-180ShowInvalidFromOpen?.....................................................5-181

    XNET Device Properties ..................................................................5-182Form Factor ........................................................................5-182Interfaces ............................................................................5-182Number of Ports..................................................................5-183

    Product Name .....................................................................5-183Product Number..................................................................5-184Serial Number.....................................................................5-184Slot Number........................................................................5-185

    XNET ECU Properties......................................................................5-186Cluster.................................................................................5-186Comment ............................................................................5-186Configuration Status ........................................................... 5-187FlexRay:Coldstart? .............................................................5-188FlexRay:Startup Frame.......................................................5-188Frames Received.................................................................5-189Frames Transmitted ............................................................5-189LIN Master .........................................................................5-190LIN Version........................................................................5-190Name (Short) ......................................................................5-191

    XNET Frame Properties....................................................................5-192CAN:Extended Identifier?..................................................5-192CAN:Timing Type..............................................................5-193

  • 8/10/2019 XNET Hardware&SoftwareManual

    22/1105

    Contents

    NI-XNET Hardware and Software Manual xxiv ni.com

    CAN:Transmit Time .......................................................... 5-195Cluster ................................................................................ 5-196Comment ............................................................................ 5-196Configuration Status........................................................... 5-197Default Payload .................................................................. 5-198

    FlexRay:Base Cycle........................................................... 5-200FlexRay:Channel Assignment............................................ 5-202FlexRay:Cycle Repetition .................................................. 5-203FlexRay:In Cycle Repetitions:Channel Assignments ........ 5-205FlexRay:In Cycle Repetitions:Enabled? ............................ 5-206FlexRay:In Cycle Repetitions:Identifiers........................... 5-207FlexRay:Payload Preamble? .............................................. 5-208FlexRay:Startup?................................................................ 5-209FlexRay:Sync? ................................................................... 5-210FlexRay:Timing Type ........................................................ 5-211Identifier............................................................................. 5-212LIN:Checksum ................................................................... 5-214Mux:Data Multiplexer Signal............................................. 5-215Mux:Is Data Multiplexed? ................................................. 5-215Mux:Static Signals ............................................................. 5-216Mux:Subframes .................................................................. 5-216Name (Short) ...................................................................... 5-217Payload Length................................................................... 5-218PDU References ................................................................. 5-219PDU Start Bits.................................................................... 5-220PDU Update Bits................................................................ 5-221

    Signals ................................................................................ 5-222XNET Interface Properties ............................................................... 5-223

    CAN.Termination Capability ............................................. 5-223CAN.Transceiver Capability.............................................. 5-224Device................................................................................. 5-225Name .................................................................................. 5-225Number............................................................................... 5-226Port Number ....................................................................... 5-227Protocol .............................................................................. 5-228

    XNET LIN Schedule Properties ....................................................... 5-229Cluster ................................................................................ 5-229Comment ............................................................................ 5-229Configuration Status........................................................... 5-230Entries................................................................................. 5-231Name .................................................................................. 5-231Priority................................................................................ 5-232Run Mode........................................................................... 5-233

  • 8/10/2019 XNET Hardware&SoftwareManual

    23/1105

    Contents

    National Instruments Corporation xxv NI-XNET Hardware and Software Manual

    XNET LIN Schedule Entry Properties..............................................5-234Collision Resolving Schedule.............................................5-234Delay...................................................................................5-234Event Identifier ................................................................... 5-235Frames ................................................................................5-236

    Name...................................................................................5-237Name Unique to Cluster ..................................................... 5-238Schedule..............................................................................5-238Type....................................................................................5-239

    XNET PDU Properties......................................................................5-240Cluster.................................................................................5-240Comment ............................................................................5-240Configuration Status ........................................................... 5-241Frames ................................................................................5-242Mux:Data Multiplexer Signal.............................................5-242Mux:Is Data Multiplexed?..................................................5-243Mux:Static Signals..............................................................5-243Mux:Subframes ..................................................................5-244Name (Short) ......................................................................5-244Payload Length ................................................................... 5-245Signals ................................................................................5-246

    XNET Session Properties..................................................................5-247Interface Properties.............................................................5-247

    CAN Interface Properties .....................................5-247Interface:CAN:External Transceiver

    Config .................................................5-247

    Interface:CAN:Listen Only?..................5-250Interface:CAN:Output Stream List

    By ID...................................................5-251Interface:CAN:Pending Transmit

    Order ...................................................5-252Interface:CAN:Single Shot Transmit?...5-254Interface:CAN:Termination...................5-255Interface:CAN:Transceiver State...........5-257Interface:CAN:Transceiver Type ..........5-260

    FlexRay Interface Properties................................5-262Interface:FlexRay:Accepted Startup

    Range ..................................................5-262Interface:FlexRay:Allow Halt Due

    To Clock?............................................5-263Interface:FlexRay:Allow Passive

    to Active..............................................5-264Interface:FlexRay:Cluster Drift

    Damping..............................................5-265

  • 8/10/2019 XNET Hardware&SoftwareManual

    24/1105

    Contents

    NI-XNET Hardware and Software Manual xxvi ni.com

    Interface:FlexRay:Coldstart?................. 5-266Interface:FlexRay:Decoding

    Correction........................................... 5-267Interface:FlexRay:Delay

    Compensation Ch A ........................... 5-268

    Interface:FlexRay:DelayCompensation Ch B............................ 5-269Interface:FlexRay:Key Slot Identifier ... 5-270Interface:FlexRay:Latest Tx.................. 5-272Interface:FlexRay:Listen Timeout ........ 5-273Interface:FlexRay:Macro Initial

    Offset Ch A......................................... 5-274Interface:FlexRay:Macro Initial

    Offset Ch B......................................... 5-275Interface:FlexRay:Max Drift................. 5-276Interface:FlexRay:Micro Initial

    Offset Ch A......................................... 5-277Interface:FlexRay:Micro Initial

    Offset Ch B......................................... 5-278Interface:FlexRay:Microtick ................. 5-279Interface:FlexRay:Null Frames To

    Input Stream?...................................... 5-280Interface:FlexRay:Offset Correction..... 5-281Interface:FlexRay:Offset

    Correction Out .................................... 5-282Interface:FlexRay:Rate Correction........ 5-283

    Interface:FlexRay:Rate CorrectionOut ...................................................... 5-284

    Interface:FlexRay:SamplesPer Microtick ...................................... 5-285

    Interface:FlexRay:Single SlotEnabled? ............................................. 5-286

    Interface:FlexRay:StatisticsEnabled? ............................................. 5-287

    Interface:FlexRay:Sync Frame Status ... 5-288Interface:FlexRay:Sync Frames

    Channel A Even.................................. 5-289Interface:FlexRay:Sync Frames

    Channel A Odd ................................... 5-290Interface:FlexRay:Sync Frames

    Channel B Even.................................. 5-291Interface:FlexRay:Sync Frames

    Channel B Odd ................................... 5-292Interface:FlexRay:Termination ............. 5-293

  • 8/10/2019 XNET Hardware&SoftwareManual

    25/1105

    Contents

    National Instruments Corporation xxvii NI-XNET Hardware and Software Manual

    Interface:FlexRay:Wakeup Channel......5-294Interface:FlexRay:Wakeup Pattern........5-295

    LIN Interface Properties.......................................5-296Interface:LIN:Break Length ..................5-296Interface:LIN:Master? ...........................5-297

    Interface:LIN:Schedule Names..............5-298Interface:LIN:Sleep ...............................5-299Interface:LIN:Termination.....................5-302

    Source Terminal Interface Properties...................5-303Interface:Source Terminal:Start

    Trigger.................................................5-303Interface:Baud Rate..............................................5-304Interface:Echo Transmit? .....................................5-307Interface:Output Stream List................................5-308Interface:Output Stream Timing .......................... 5-309

    Frame Properties.................................................................5-311CAN Frame Properties.........................................5-311

    Frame:CAN:Start Time Offset...............5-311Frame:CAN:Transmit Time...................5-312

    Frame:Skip N Cyclic Frames ............................... 5-313Auto Start?..........................................................................5-314ClusterName ....................................................................... 5-315DatabaseName.................................................................... 5-315List ......................................................................................5-316Mode...................................................................................5-316Number in List....................................................................5-317

    Number of Values Pending.................................................5-317Number of Values Unused .................................................5-318Payload Length Maximum .................................................5-319Protocol...............................................................................5-319Queue Size..........................................................................5-320Resample Rate .................................................................... 5-326

    XNET Signal Properties....................................................................5-327Byte Order ..........................................................................5-327Comment ............................................................................5-329Configuration Status ........................................................... 5-330Data Type ...........................................................................5-331Default Value......................................................................5-332Frame .................................................................................. 5-333Maximum Value ................................................................. 5-333Minimum Value..................................................................5-334Mux:Data Multiplexer? ......................................................5-335Mux:Dynamic? ................................................................... 5-336Mux:Multiplexer Value ......................................................5-337

  • 8/10/2019 XNET Hardware&SoftwareManual

    26/1105

    Contents

    NI-XNET Hardware and Software Manual xxviii ni.com

    Mux:Subframe.................................................................... 5-337Name (Short) ...................................................................... 5-338Name Unique to Cluster..................................................... 5-339Number of Bits................................................................... 5-340PDU.................................................................................... 5-341

    Scaling Factor..................................................................... 5-341Scaling Offset ..................................................................... 5-342Start Bit .............................................................................. 5-343Unit..................................................................................... 5-345

    XNET Subframe Properties.............................................................. 5-345Dynamic Signals ................................................................ 5-345Frame.................................................................................. 5-346Multiplexer Value .............................................................. 5-347Name (Short) ...................................................................... 5-348Name Unique to Cluster..................................................... 5-349PDU.................................................................................... 5-349

    XNET System Properties.................................................................. 5-350Devices ............................................................................... 5-350Interfaces (All) ................................................................... 5-351Interfaces (CAN)................................................................ 5-351Interfaces (FlexRay)........................................................... 5-352Interfaces (LIN).................................................................. 5-352Version:Build ..................................................................... 5-353Version:Major .................................................................... 5-354Version:Minor .................................................................... 5-355Version:Phase..................................................................... 5-356

    Version:Update................................................................... 5-357Additional Topics .......................................................................................................... 5-358

    Overall............................................................................................................. 5-358Cyclic and Event Timing .................................................................. 5-358Multiplexed Signals .......................................................................... 5-359Raw Frame Format ........................................................................... 5-361Requ