Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69090

Moving from NI-CAN Transmit Periodic Waveform to NI-XNET

$
0
0

Hi,

 

I have been using the LabVIEW NI-CAN Frame API with Series 2 PXI CAN Cards to control my outgoing CAN on a test stand.

Now that those cards are being phased out, I am trying to convert my existing functionality over to the XNET API.

 

With the NI-CAN Frame API I am able to provide a set of 16 precalculated payloads and have them sent out on repeat at a precise interval. (transmit periodic waveform)

Is it possible to do the same thing (or nearly the same thing) using the XNET calls?

 

I have been forced into using precalculated payloads in the past because I have CAN and DAQ Traffic for 22 stations being managed and every bit of processing I can offload to the CAN Card is useful.

The big problem I'm running into with the XNET API is that CAN signals like a message counter or a custom checksum are just sent out with the previous value if I cannot get around to calculating new payloads and calling the Write function again in time.

 

I'm using:

LabVIEW 2011 SP1

NI-PXI-8512/2 XNET Card 

XNET Driver 14.1

NI-CAN Driver 2.7.3

 

Suggestions? =D


Viewing all articles
Browse latest Browse all 69090

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>