<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: vxlapi in LabVIEW</title>
    <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791813#M1069709</link>
    <description>&lt;P&gt;access mask value is 2&lt;/P&gt;</description>
    <pubDate>Fri, 11 May 2018 09:41:49 GMT</pubDate>
    <dc:creator>Kdbrose</dc:creator>
    <dc:date>2018-05-11T09:41:49Z</dc:date>
    <item>
      <title>vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3757511#M1058231</link>
      <description>&lt;P&gt;Hey Mr. TroyK&lt;/P&gt;
&lt;P&gt;I m trying to interface your code with CANcaseXL.&lt;/P&gt;
&lt;P&gt;With My ECU for LIN but the problem I m facing is that when I send header 1B to my ECU it show me response but at the same time my CANcaseXL error LED Flashes..so could you please provide the solution for it or could you also help me with error decoding code for LIN.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 09:32:22 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3757511#M1058231</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-02-21T09:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3775795#M1064079</link>
      <description>&lt;P&gt;Have you defined the checksum type correctly?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 07:03:37 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3775795#M1064079</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-04-03T07:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791389#M1069566</link>
      <description>&lt;P&gt;the error I am getting is invalid access mask.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 07:57:16 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791389#M1069566</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-10T07:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791698#M1069660</link>
      <description>&lt;P&gt;The error light on the hardware does not light when there is an access mask problem.&lt;/P&gt;
&lt;P&gt;The error light blinks for LIN hardware when a LIN frame is received that the port has not been configured to handle.&lt;/P&gt;
&lt;P&gt;Invalid access mask is an error returned by the API when you try to open port or execute a function but the access mask you have supplied doesn't exist or isn't a LIN channel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you start with one of my examples?&lt;/P&gt;
&lt;P&gt;Have you turned on execution highlighting and confirmed which vi the error originates in?&lt;/P&gt;
&lt;P&gt;Is the access mask correctly defined? What is it's value at the point where the error occurs?&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 21:54:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791698#M1069660</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-10T21:54:28Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791753#M1069683</link>
      <description>&lt;P&gt;As from the image you can see that my master request ID is 3B and my slave ID is 1B but in the bus monitor I am unable to receive slave response..&lt;/P&gt;
&lt;P&gt;You can check the images which I have attached to it and thanks for helping me..&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 05:24:24 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791753#M1069683</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-11T05:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791805#M1069706</link>
      <description>&lt;P&gt;"&lt;A href="https://youtu.be/G9kUgzT5Jnc?t=3m26s" target="_blank"&gt;Yeah... Nice picture.&lt;/A&gt;"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In order to diagnose what the problem is, can you please do the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Probe the "accessMask" line just before where the error comes out.&lt;/LI&gt;
&lt;LI&gt;Also probe the "error out" cluster exactly where the error occurs and set the probe to pause when there is an error.&lt;/LI&gt;
&lt;LI&gt;Reply with the "accessMask" value.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe the access mask is not a valid value.&amp;nbsp; That is why it is causing the "invalid access mask" error.&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 09:20:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791805#M1069706</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-11T09:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791813#M1069709</link>
      <description>&lt;P&gt;access mask value is 2&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2018 09:41:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3791813#M1069709</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-11T09:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792153#M1069842</link>
      <description>&lt;P&gt;An accessmask of 2 sounds like a valid one (if you have only ever plugged in one CANcase and there's a LINpiggy in channel 2).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BUT... Error code 6255 occurs when the driver doesn't know what went wrong. Something has gone wrong before this point.&lt;/P&gt;
&lt;P&gt;The error you described at the beginning, was it:&lt;/P&gt;
&lt;P&gt;6112 XL_ERR_INVALID_ACCESS or&lt;/P&gt;
&lt;P&gt;6204 XL_ERR_INVALID_CHANNEL_MASK&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my experience, sometimes when the driver has gotten to the point where it is putting out a 6255 error, the only way to to clear it is to unplug the hardware and plug it back in again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way, an error has occurred before this one. That's the one that needs to be found and fixed.&lt;/P&gt;</description>
      <pubDate>Sat, 12 May 2018 01:33:33 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792153#M1069842</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-12T01:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792368#M1069922</link>
      <description>&lt;P&gt;Check this project as I am unable to get slave response.&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 06:47:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792368#M1069922</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-14T06:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792744#M1070040</link>
      <description>&lt;P&gt;This vi you've attached is different to the pictures you were referring to above.&lt;/P&gt;
&lt;P&gt;It looks like a slightly modified version of my LIN network simulator example (which works btw otherwise I wouldn't have uploaded it).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. You have put a diagram disable structure around all code in the slave node configuration case (SetSlaves).&amp;nbsp; So of course they aren't going to answer.&lt;/P&gt;
&lt;P&gt;2. Is your hardware set up as instructed and specified on the front panel?&lt;/P&gt;
&lt;P&gt;The default values of the controls on your front panel specify: 1 x Master @ Hw0/Ch1 and 1 x Slave @ Hw1/Ch0&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;This implies you have 2 CANcases with the first as the Master and its second channel connected to the LIN bus and configured (pullup), then the second CANcase as a slave with it's first channel connected to the LIN bus.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Excerpt from front panel instruction:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P style="padding-left: 30px;"&gt;&lt;EM&gt;"NOTE: For this to work in full simulation mode you must have a minimum of 2 LIN channels. One for a Master and one for a slave node. All node grounds must be linked and the Master node must have some sort of pull-up on the LIN line."&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;3. You will be more successful debugging and getting help with your problem if you focus on one simplest version of your code.&lt;/P&gt;</description>
      <pubDate>Mon, 14 May 2018 22:43:51 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792744#M1070040</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-14T22:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792963#M1070129</link>
      <description>&lt;P&gt;Hello MR. TroyK&lt;/P&gt;
&lt;P&gt;I really appreciate your work and your support and thanks for the solution now my VI works exactly fine.&lt;/P&gt;
&lt;P&gt;really thanks for your support.&lt;/P&gt;
&lt;P&gt;but there is another issue which I am facing is related to your CAN e.g I will attach the VI just please check that VI as I am facing difficulty in the bus monitor.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 May 2018 13:10:58 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3792963#M1070129</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-15T13:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793203#M1070198</link>
      <description>&lt;P&gt;The VI attached is my CAN receive example, unmodified, from my &lt;A href="https://decibel.ni.com/content/docs/DOC-30180" target="_self"&gt;vxlapi wrapper library here&lt;/A&gt;. You don't have to attach it if it's already on ni.com somewhere, just refer to it with a link if you like.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is it not working? What is your CAN bus setup?&lt;/P&gt;
&lt;P&gt;From your front panel picture I see what appears to be a CAN frame with all 00s for ID and content.&amp;nbsp; This is probably an error frame.&amp;nbsp; I did not include code in the example to differentiate between normal received CAN frames and error frames.&lt;/P&gt;
&lt;P&gt;First things to check are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;that there is another node on the bus to ACK the sent frames&lt;/LI&gt;
&lt;LI&gt;that both nodes are set to use the same bit rate&lt;/LI&gt;
&lt;LI&gt;that the physical bus has appropriate termination&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 15 May 2018 22:50:28 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793203#M1070198</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-15T22:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793265#M1070214</link>
      <description>&lt;P&gt;there is an modification done on that VI is that I have used your CAN transmit VI with the CAN receive VI because my objective is to obtain Tx &amp;amp; Rx frames from one single CAN.&lt;/P&gt;
&lt;P&gt;Please check my VI one more time so that you can tell&amp;nbsp; e what thing I am missing in that VI and how to solve that error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 05:32:49 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793265#M1070214</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-16T05:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793278#M1070217</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://ni.lithium.com/t5/user/viewprofilepage/user-id/593949"&gt;@Kdbrose&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;my objective is to obtain Tx &amp;amp; Rx frames from one single CAN. &lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You need to two nodes on the bus. One to transmit, one to ACK.&lt;/P&gt;
&lt;P&gt;If you want to see your own transmit messages, you need to xlCanSetChannelMode to generate tx receipts.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is there another node on the bus to ACK the sent frames?&lt;/LI&gt;
&lt;LI&gt;Are all nodes set to use the same bit rate?&lt;/LI&gt;
&lt;LI&gt;Does the physical bus have appropriate termination?&lt;/LI&gt;
&lt;LI&gt;Do you understand how CAN works?&lt;/LI&gt;
&lt;LI&gt;Have you read the vxlapi documentation to understand how the API works?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 16 May 2018 06:05:34 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793278#M1070217</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-16T06:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793281#M1070219</link>
      <description>&lt;P&gt;for your ques:-&lt;/P&gt;
&lt;P&gt;1. Yes I have the real ECU&lt;/P&gt;
&lt;P&gt;2. yes the termination is properly&lt;/P&gt;
&lt;P&gt;3. Yes I know&lt;/P&gt;
&lt;P&gt;4. which part I need to learn to understand this API concept for CAN&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 06:12:46 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793281#M1070219</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-16T06:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793311#M1070232</link>
      <description>&lt;P&gt;I recommend starting with section 2.4.1 - CAN Application flowchart in the XL Driver Library description document.&lt;/P&gt;
&lt;P&gt;It shows you which functions you can use in which order. Then look at the specific functions, they have a description of what they do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you ask questions here, be &lt;U&gt;specific &lt;/U&gt;about what you're expecting from your code and what you're getting.&lt;/P&gt;
&lt;P&gt;Also explain what you have done to try and resolve the issue yourself. Then I won't have to repeat things that you already know.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 06:52:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793311#M1070232</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-16T06:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793371#M1070251</link>
      <description>&lt;P&gt;As per the document the XL_CAN Transmit should contain message count but our dll doesn't contains that message count can you please explain why it is like this.&lt;/P&gt;</description>
      <pubDate>Wed, 16 May 2018 08:29:07 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3793371#M1070251</guid>
      <dc:creator>Kdbrose</dc:creator>
      <dc:date>2018-05-16T08:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: vxlapi</title>
      <link>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3794921#M1070818</link>
      <description>&lt;P&gt;The message count in was connected, but the output was missed.&lt;/P&gt;
&lt;P&gt;Feel free to connect it yourself.&lt;/P&gt;</description>
      <pubDate>Sun, 20 May 2018 22:35:41 GMT</pubDate>
      <guid>https://ni.lithium.com/t5/LabVIEW/vxlapi/m-p/3794921#M1070818</guid>
      <dc:creator>TroyK</dc:creator>
      <dc:date>2018-05-20T22:35:41Z</dc:date>
    </item>
  </channel>
</rss>

