Discussion:
Disable LIN inactive frame
(too old to reply)
tezaa
2008-07-17 02:40:05 UTC
Permalink
Hello, First let me say that I am not using Labview for my LIN programming - I am using Visual C++. The NI forum wouldn't let me specify a version for VC++ and hence would not let me continue ... (BUG?)Note: I am using the NI Visual C++ examples as a base for my software development along with the NI USB-8476 LIN Interface.My question is: How do I disable the LIN bus "inactive frame" from being entered onto the read queue? Presently, after four seconds of inactivity - an inactive frame is placed on the read queue. The NI CAN/LIN Manual says:"Regardless of whether the LIN interface is acting as a master or slavedevice, a bus inactive frame will always be loaded into the read queue afterfour seconds of bus inactivity. ... The NI-CAN Frame API for LINprovides the option of ignoring the bus inactive frame or sleep request, orplacing the interface into sleep mode by setting the sleep attribute to true."I don't want to put any devices into sleep mode (ever) - but I do want to ignore inactive frames. Any further information would be appreciated.Kind regards,Terry
DirkW
2008-07-17 20:40:08 UTC
Permalink
Hi Terry,
Unfortunately... it cannot be disabled with set attribute... You will have to filter out that frame type in your app if you want to ignore it.
DirkW

Loading...