Jump to content

MikeEbb

Members
  • Posts

    1
  • Joined

  • Last visited

    Never

MikeEbb's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. First post, here she goes... Using LabVIEW 8.2.1, I built an application using the CAN Channel API, which works well. A colleague has recently asked me to log the raw CAN traffic on the bus for him at the same time as my program is running. I looked into using the channel API, and as I understand it, the Channel API looks for specific CAN messages and decodes them, making the channel API unsuitable for this task. I found an example in the labview examples that uses the Frame API, "CAN receive error frames.vi" which did the trick, but the Channel and Frame APIs can't be used at the same time. Looking at the documentation, From the NI-CAN manual: For example, if you have one application that uses the Channel API and another application that uses the Frame API, you cannot use CAN0 with both at the same time. As an alternative, you can connect CAN0 and CAN1 to the same network, then use CAN0 with one application and CAN1 with the other, if you have a 2-port CAN card. As another alternative, you can use CAN0 in both applications, but run each application at a different time (not simultaneously). So as I understand it, my options are either: Drop $1800 on an additional CAN card, or Rewrite my application using the frame API. Does anyone have any ideas how to work around this problem? Thanks in advance. Mike
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.