キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Getting started with xnet / lin

解決済み
解決策を見る

Dear All,

 

I didn't found any practical getting started guide to this topic, please help me.

 

I have an NI LIN card on one side. On the other side, I have many LIN-communicating devices. They can mechanically open / close. For the slaves (pump) I have the documentation (protol description understood by the uController inside). To set them to a certain position, I have to send a signal e.g. starting with 0x17 (ID field), then 7 additional bytes, starting with NAD, then the parameters. 

 

This part I understood, until this point, it is a well-known and widely used definition of the communication. My problems start here. I have installed the NI-XNET package, read many tutorials, descriptions, from bird's view I'm familiar with, but I'm a bit confused how to start communication with the device relally. Where should I put this eight bytes among the XNET VIs? The physical port where the device is connected is defined by the user somehow.

 

What was really helpful for me, a let's say "flowchart" with the XNET VIs, starting that point that I connect an unknown device (pump) - actually, the eight bytes to send are defined by the type, which I know - and I would like to configure it, ater that ask for some info (the frame for that is also written in the device documentation), e.g. position, error etc.

 

Thank you in advance for any help!

 

0 件の賞賛
メッセージ1/3
3,846件の閲覧回数

Dear All,

 

I think the 0th problem is here, that on win10 / LV2015 the NI-XNET 18.5 I should be able to install, but I'm not. Each option except MAX is disabled. According to the compatibility matrixes, this combination should work. What should be the problem here? 

 

Thank you!

 

vilagvevo_0-1574673556065.png

0 件の賞賛
メッセージ2/3
3,751件の閲覧回数
解決策
トピック作成者VA.KIが受理

Hello vilagvevo,

Have you viewed this article?

Also, I recommend to review XNET Create Session.vi and XNET Write (Frame LIN).vi

You can use examples from LabVIEW to understand functionality of those VIs.

This forum discussion may be helpful too.

 

Regarding second issue look at this KB.

 

Please let me know does my suggestions help you solve your issues.

__________________________________________
The best way to thank, is to give KUDOS
0 件の賞賛
メッセージ3/3
3,593件の閲覧回数