From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN bus frames

Solved!
Go to solution

Hello All, 

 

I'm trying to send two frames on CAN bus, but constantly I get on oscilloscope only first frame.

Equipment is USB-8502 CAN bus interface.

There is no node on bus, only USB-8502 send frames to oscilloscope...

VI is in attachment, also picture from scope.

 

 

Thanks.

Download All
0 Kudos
Message 1 of 5
(2,383 Views)

Can someone help me regarding this.

 

I created database, that have two frames, then open session as frame out stream, and then write.

On write I also provide array of two cun clusters.

 

Unfortunately I always get only first frame on the bus. There is no other frame.

Can someone advise...

 

Also i tried with queued and single point but I got same results.

 

Thank you in advance.

 

Download All
0 Kudos
Message 2 of 5
(2,297 Views)
Solution
Accepted by topic author milan87

Hi milan,

 

do you get any errors in your VI? Does your scope correctly acknowledge the CAN frames so the sender (your NI8502) can proceed correctly?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 3 of 5
(2,294 Views)

Hi Gerd,

 

No errors in VI. 

There is no acknowledge. there is just CRC part of frame. After that just exclamation mark.

please check att.

I'm not sure that this scope tecktronix can adjust ack part.

 

0 Kudos
Message 4 of 5
(2,287 Views)

Hello Gerd, 

 

I manage to get working can frames.

I connected another device that should receive can frames on the bus, nad now I have proper acknowledge.

You have right. Thanks

0 Kudos
Message 5 of 5
(2,275 Views)