You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Good day. I found "can.sendFrame()" always sends a message to interface #1 regardless of the function parameter. I use the peak interface (2 can buses) under Windows 11 x64. I tried different versions - the behavior is the same everywhere. An example of a simple script is below:
`function setup ()
{
can.setFilter(0x000, 0x000, 0);
can.setFilter(0x000, 0x000, 1);
}
function gotCANFrame (bus, id, len, data)
{
if (bus == 0) {
can.sendFrame(1, id, len, data);
return;
}
if (bus == 1) {
can.sendFrame(0, id, len, data);
return;
}
}`
In addition, when trying to recompile the script or close it, the program closes itself.
The text was updated successfully, but these errors were encountered:
Good day. I found "can.sendFrame()" always sends a message to interface #1 regardless of the function parameter. I use the peak interface (2 can buses) under Windows 11 x64. I tried different versions - the behavior is the same everywhere. An example of a simple script is below:
`function setup ()
{
can.setFilter(0x000, 0x000, 0);
can.setFilter(0x000, 0x000, 1);
}
function gotCANFrame (bus, id, len, data)
{
if (bus == 0) {
can.sendFrame(1, id, len, data);
return;
}
if (bus == 1) {
can.sendFrame(0, id, len, data);
return;
}
}`
In addition, when trying to recompile the script or close it, the program closes itself.
The text was updated successfully, but these errors were encountered: