08-16-2016 08:23 PM
Hello all
I use the usb-8476s, I want to use it control my slave device.I use LIN Master Send Full Frame and Receive.vi
now,I meet some problems,if i setting IsRemote 17 ,I can receive full Frame,but the data is ignore ,can not control my device.if i set 18 that i receive error.the error code is 40 10 and 20 11.i don't know what i should do.who can help me.
thanks!
Solved! Go to Solution.
08-17-2016 11:20 AM
Before I can offer much assistance we will need to elaborate on some details in your post. Currently I assume that the only modification you are making to the LIN Master Send Full Frame and Receive.vi is to change the outgoing isRemote value:
The manual shows that a value of 17 is undefined on page 10-87:
http://www.ni.com/pdf/manuals/370289p.pdf
I would like to better interpret your error code to help guide you so some clarification is needed. Are those the values of an error frame or an actual error code? Are they in hexidecimal? Can you attach a screenshot with more detail?
08-17-2016 09:03 PM - edited 08-17-2016 09:16 PM
Hi Jefel
Thanks for your replay,I set Arbitration 31 when i set Isremote 18 ,I receive LIN bus error ,20 11 01 04 00 00 34 when i set I sremote 17,i can receive LIN full frame,i don't select Self Reception.,i don't know set DATA.
can you gave me some help.
thanks.
08-17-2016 09:34 PM
Dear Jefel
I'm so sorry,i can't slove this prloblem.It's click error..In the LIN master send full frame and receive.vi ,i add two ncSetAttr.vi,one is the LIN Checksum another is lin sleep ,set lin sleep is 0.
08-22-2016 10:27 PM
If you set IsRemote 17, then only header frame is sent with no data. If you set IsRemote 18 and select Self Reception, then full frame is sent. But if you do not select Self Reception, no data will be received.