LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI-XNET EXAMPLE

CAN BUS examples

I am using NI-XNET examples with USB 8502

I am expecting to send one CAN BUS frame but it sends out a continual string of identical frames.

I removed the While Loop around the XNET Write thinking it would stop but it still gives a long string of frames.

Any one know how to stop the frames after just one 

then change the frame length for the next frame.

0 Kudos
Message 1 of 3
(1,614 Views)

john@crane wrote:

CAN BUS examples

I am using NI-XNET examples with USB 8502

I am expecting to send one CAN BUS frame but it sends out a continual string of identical frames.

I removed the While Loop around the XNET Write thinking it would stop but it still gives a long string of frames.

Any one know how to stop the frames after just one 

then change the frame length for the next frame.


Hi, john@crane,

I am not sure about other forum users, but I, personally, have never used NI-XNET. Since I haven't installed the NI-XNET driver, that also means I do not have access to the examples.

However, if you were to provide the actual VI that you are working on, then I (or someone else more experienced) could see what exactly you are doing. This would go a long way in getting you the help you need.

 

Could you please attach your VI(s)?

 

Thanks,

joeorbob

0 Kudos
Message 2 of 3
(1,553 Views)

Here is the example:

It is unchanged from NI.

 

 

 

Download All
0 Kudos
Message 3 of 3
(1,503 Views)