ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in CAN

Hi,
 
I am using NI PCMCIA CAN card.I have connected the CAN Card to my DUT.I will be sending messages from DUT every 400ms.
I have executed the sample code Transmit Receive Same Port.vi.In that i will be getting same message at every 1ms delay.
I have attached the snapshot of that screen. Can u tell me what is the problem?
 
Regards
Meenatchi
0 Kudos
Message 1 of 3
(2,965 Views)
Waht is the problem that u r facing????
0 Kudos
Message 2 of 3
(2,842 Views)
So if I get what you are saying, you want to transmit every 400 ms, and get a response back.  The DUT is spamming the bus currently around every ms.  Since I have no clue what your DUT is, I don't know if this is standard operating for it, you may want to find out.  For a write every 400ms, if you want to read data back, I suggest you look at the vi I posted.  It will read all of the pending frames and return the data in an array.  Then you can use the Arbitration ID you expect to recieve as a filter to find the frame you want.  That way you don't read the data from one of the messages sent every ms instead.

Does this help?
0 Kudos
Message 3 of 3
(2,829 Views)