04-03-2007 05:59 AM
04-03-2007 09:28 AM
Straight question, straight answer: Yes there are examples for how to read a single frame. See the attached examples for standart (STD) ID and extended (XTD) ID.
DirkW
04-04-2007 03:18 AM
Thanks for your reply...
Why did you put a while loop in the reception side. Is that for continuous reception ? But assume that message which i want to receive is a response to another message which i have already sent. In that case, should i go for a while loop ? I am using CAN series 2. I read somewhere that series 2 may not support filtering properly. Please clarify these doubts
Thanks in advance
Anoop
04-04-2007 01:02 PM
04-04-2007 11:32 PM
Thanks again .. But still some doubts remain
This is a paragraph from the Ni CAN software/hardware manual
" The Philips SJA1000 does not support distinct standard and extended masking. Therefore, on Series 2 interfaces the StandardMask/Comparator and Extended Mask/Comparator attributes are implemented in software (for backward compatibility). Since software masking can have an adverse impact on receive performance, National Instruments recommends that you disable software masking for Series 2 interfaces. Disable software masking by specifying don’t-care (0) for all four mask/comparator attributes of ncConfigCANNet.vi." Here they said to disable the masking for series 2 interfaces. I am not able to co relate what you said and th one mentioed above. Please clarify me. Also its mentioned that to apply 0 to diasble all comparator/masing functionalities. But in the code which you have provided , 0 have been applied to all comparator/Masking attributes of ncConfigCANNet.vi but you have used the comparator/masking functionalities. How will that work. Please clarify this as well
Thanks in advance
Anoop
04-05-2007 10:29 AM