08-09-2006 06:33 AM
08-09-2006 10:16 AM
08-10-2006 12:24 AM
08-10-2006 06:37 AM
08-10-2006 08:27 AM
Hi
The 2.3.2 allows you to simulate 2 CAN Ports (CAN256 and CAN257) directly in your code. But you can not, as you know from DAQ, simulate CAN devices within MAX.
DirkW
01-06-2015 07:02 AM
Does CAN version 2.7.5 allow the simulation of CAN card.Kindly clarify regarding the same.
01-06-2015 08:19 AM
Did you read the post, CAN256 and CAN257 can be used as types of simulation. It routes CAN data to virtual ports and you can write your code to do what ever you want with that data.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
01-07-2015 03:03 AM
yes,I am clarified.Is it possible to post a sample code related to the same?
01-07-2015 08:12 AM
No posting of code is needed, open the Help >> Example Finder.
Search for the example CAN Receive.vi, and Transmit Receive same Port.vi. Before running the CAN Receive.vi set the interface to CAN257, then run it. Then in the Transmit Receive same Port.vi set the interface to CAN256 and then run it. Now when you click Write it will send a frame out on CAN256. CAN256 and CAN257 are virtual loop back ports. What is sent on one is received on the other. So you should see the frame you wrote appear in the CAN Receive.vi which is monitoring 257.
Using this technique you can write code that monitors one of these ports, then reacts sending simulated data when requested, or set it up to just periodically send the data you want.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord