LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

About Binary Data Acquisition

I would like to add a program to the attached program to retrieve binary data.
The number of data being read from the FIFO is 198 x 256 x 256 = 12976128. I want to get this data as an array as binary data.
Thank you in advance for your help.

Download All
0 Kudos
Message 1 of 7
(206 Views)

添付したプログラムに、バイナリデータを取得するプログラムを追加したいです。
FIFOから読み取っているデータ数は198×256×256=12976128です。

このデータを配列としてバイナリデータとして取得したいです。
よろしくお願いいたします。

Download All
0 Kudos
Message 2 of 7
(172 Views)

I'm still very confused about what hardware you are using.  Do you really have an FPGA that can save all those images?  Why/how are you using the FPGA?

 

I'm assuming that you are saving the 3D data (the first dimension being X, the second Y, and the third Image # (or Z), with indexing on alternate X and Y possibly alternating (increasing/decreasing), the first thing to do is to transform the linear scan to a 3D (XY images x Image # = video) representation that you should be able to view in an IMAQdx Window display.  You'll read the data in 256 pixels-at-a-time, reversing every other scan (assuming you are using a "back-and-forth" scanning motion (and possibly also "flipping" every other 256 x 256 images, if you not only scanned left-rignt but also down-up Y scannng).  Juat read the image data 256 elements at a time and with the same logic that you used to run the scan, use it to reassemble the video images.

 

Bob Schor

0 Kudos
Message 3 of 7
(187 Views)

I computers, everything is "binary" one way or another, so you need to be much more specific.

 

Most of your code is highly disorganized and flawed. For example connecting a local variable to its own terminal is completely senseless. Then you have plenty of interactive greedy loops. Who wrote this? Does it work well?

 

altenbach_1-1743873765290.png

 

 

 

 

0 Kudos
Message 4 of 7
(153 Views)

This program was written by a senior who was in the lab four years ago. I have taken it over, but I do not understand it in some parts.
I will post a more specific explanation later.

Thank you in advance for your help.

0 Kudos
Message 5 of 7
(24 Views)

I am using NI PXIe-8840 for FPGA processing.
I will explain the details of how I use FPGAs later.

Thank you in advance.

0 Kudos
Message 6 of 7
(21 Views)

Hi Ikeda,

 


@ikeda_kaoru wrote:

I am using NI PXIe-8840 for FPGA processing.


The PXIe-8840 is an older CPU/controller, no longer available from NI!

It has NOTHING to do with "FPGA processing" at all…

 


@ikeda_kaoru wrote:

I will explain the details of how I use FPGAs later.


Please do so…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 7
(10 Views)