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: 

Receiving/Reading/Writing data stream to-from PXI-8513

I have a PXI-8513 connected to an IMU that I want to be able to read the hex data stream from it as well as parsing it as every byte has information about the products I am working on. Reading the data stream and parsing it is the challenge. Also, CAN or XNET as devices are connected through ethernet. 
I have attached a sample screenshots of the NI-XNET and my code in progress.

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

Hi mjafarin,

 

If you're starting out using NI XNET (or CAN), I'd recommend taking a look at the shipping examples as well as these documents as reference:

Getting Started with the NI-XNET API for LabVIEW

NI-XNET Hardware and Software Manual

 

It sounds like you're working on creating a frame input stream, so the "CAN Frame Input Stream.vi" example should be a good starting point.

0 Kudos
Message 2 of 3
(2,883 Views)

hey could u please repost the link. its disapert

0 Kudos
Message 3 of 3
(284 Views)