How do I communicate on LIN - neoVI API
//Use J1850 Message structure
//This breaks the ARBID into 4 bytes
icsSpyMessageJ1850 stJMsg;
long lNetworkID;
//Set the Network ID
lNetworkID = NETID_LIN; //16 for LIN1
//Set the LIN ID, use the Protected ID
stJMsg.Header[0] = 0xf0;
//Set the Number of Databytes to 0
stJMsg.NumberBytesData = 0;
//Set the Init Message flag. This tells the
//Hardware that this is a Master frame
stJMsg.StatusBitField=SPY_STATUS_INIT_MESSAGE;
stJMsg.StatusBitField2=0;
//Set the number of Header bytes to 1
stJMsg.NumberBytesHeader = 1;
//Send the message
lResult = icsneoTxMessages(m_hObject, (icsSpyMessage * )&stJMsg, lNetworkID, 1);PreviousHow do I open more than one channel on a single piece of hardware? - neoVI APINextHow do I send a Extended Frame or a High Voltage Wakeup or ISO9141/KW2K Init? - neoVI API
Last updated