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 4
(118 Views)

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

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

Download All
0 Kudos
Message 2 of 4
(84 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 4
(99 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 4
(65 Views)