Discussion:
HELP--send message by channel
(too old to reply)
Weihua Cao
2008-04-25 02:10:06 UTC
Permalink
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
DirkW
2008-04-25 18:40:10 UTC
Permalink
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
Weihua Cao
2008-04-26 01:10:04 UTC
Permalink
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
Weihua Cao
2008-04-26 01:10:05 UTC
Permalink
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

Continue reading on narkive:
Loading...