Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

HELP--send message by channel

Hi

I have sent a message in the discussion, and get a lot of help, but now ma question has not been solved. And I have tried it according to your help. Now I describe my question again.

I have s CANdb database, and I want to choose a signal from the database, and twrite a data to it, then send the message to the hardwire of PXI 8464. I choose channel API to send it, and use the control of CAN write to write the data, and it runs normally, but it can not be received by CANoe. I do not know why. Look forward to your reply. Thank you!

 

Regards

 

Vivian
0 Kudos
Message 1 of 4
(6,434 Views)
Can you receive the message on a second NI-CAN port/device? My guess is that CANoe uses a different db file and therefore cannot read/decode the channel.
 
DirkW
0 Kudos
Message 2 of 4
(6,422 Views)

Hi

I do not know how to use another NI/CAN port or device to receive, but when I use Frame API to send message, CANoe can receive the message. Do I need to convert channel to frame? Or choose a signal from the db file, then create a message to build a frame, and send it. CANoe is the capable of receiving the message of CAN, which is unrelated to db file. Look for forward to your reply. Thank you!

 

Regards

 

Vivian

0 Kudos
Message 3 of 4
(6,420 Views)

Hi

I do not know how to use another NI/CAN port or device to receive, but when I use Frame API to send message, CANoe can receive the message. Do I need to convert channel to frame? Or choose a signal from the db file, then create a message to build a frame, and send it. CANoe is the capable of receiving the message of CAN, which is unrelated to db file. Look for forward to your reply. Thank you!

 

Regards

 

Vivian

0 Kudos
Message 4 of 4
(6,420 Views)