04-22-2025 07:15 AM
Hi Ikeda,
@ikeda_kaoru wrote:I have one more question!
I made some improvements based on the program you gave me, but I could not connect the wires.
It is where I connect the 1D array data coming from the FIFO to the Index Array in the For loop.
I am attaching an image and would appreciate your advice.
Unfortunately your image is stucked in virus scan, but I guess you forgot to change the input tunnel mode for the array wire…
04-22-2025 09:56 AM
@ikeda_kaoru wrote:
@Yamaeda さんは書きました:
@ikeda_kaoru wrote:
Hi LVNinja
Thanks for your reply!
I have checked the attached program.I ran the program with 1000 arrays and 198 to extract, but the Array Indexes to extract indicator shows 0,198,396,594,792.
990 should also be output, but why is it not?
Since you also extract index 0 you get a 1-offset issue, which is quite common. Modify the VI like this:
(The round towards -inf is to make sure it doesn't round up so you get 1 too many extractions)
Hi Yamaeda
I have one more question!
I made some improvements based on the program you gave me, but I could not connect the wires.
It is where I connect the 1D array data coming from the FIFO to the Index Array in the For loop.
I am attaching an image and would appreciate your advice.
Per default an array passing into a For-loop gets Auto-indexed. R-click the little [ ] on the border and turn off Auto-index
04-22-2025 11:46 AM
@Yamaeda さんは書きました:
@ikeda_kaoru wrote:
@Yamaeda さんは書きました:
@ikeda_kaoru wrote:
Hi LVNinja
Thanks for your reply!
I have checked the attached program.I ran the program with 1000 arrays and 198 to extract, but the Array Indexes to extract indicator shows 0,198,396,594,792.
990 should also be output, but why is it not?
Since you also extract index 0 you get a 1-offset issue, which is quite common. Modify the VI like this:
(The round towards -inf is to make sure it doesn't round up so you get 1 too many extractions)
Hi Yamaeda
I have one more question!
I made some improvements based on the program you gave me, but I could not connect the wires.
It is where I connect the 1D array data coming from the FIFO to the Index Array in the For loop.
I am attaching an image and would appreciate your advice.Per default an array passing into a For-loop gets Auto-indexed. R-click the little [ ] on the border and turn off Auto-index
Thanks for the advice!
It worked.
I am trying to save the data (data read 1000 elements at a time) as a binary or CSV file before taking the 198 intervals.
I concatenate the x,y,x values of the data using the “Build Array” function and put them into a case structure.
How can I improve it so that I end up with 3 rows and 12976128 columns of data to save in the file? (3 rows are x,y,z values, 12976128 columns = 198 x 256 x 256 number of data)
Any good ideas would be appreciated.
04-22-2025 11:53 AM
Hi GerdW,
@GerdW さんは書きました:
Hi Ikeda,
@ikeda_kaoru wrote:I have one more question!
I made some improvements based on the program you gave me, but I could not connect the wires.
It is where I connect the 1D array data coming from the FIFO to the Index Array in the For loop.
I am attaching an image and would appreciate your advice.Unfortunately your image is stucked in virus scan, but I guess you forgot to change the input tunnel mode for the array wire…
Thanks for the advice!
I fixed it and it worked!
I am trying to save the data (data read 1000 elements at a time) as a binary or CSV file before taking the 198 intervals.
I concatenate the x,y,x values of the data using the “Build Array” function and put them into a case structure.
How can I improve it so that I end up with 3 rows and 12976128 columns of data to save in the file? (3 rows are x,y,z values, 12976128 columns = 198 x 256 x 256 number of data)
Any good ideas would be appreciated.
The program for the relevant section is attached.
04-22-2025 11:56 AM
@ikeda_kaoru さんは書きました:
@Yamaeda さんは書きました:
@ikeda_kaoru wrote:
@Yamaeda さんは書きました:
@ikeda_kaoru wrote:
Hi LVNinja
Thanks for your reply!
I have checked the attached program.I ran the program with 1000 arrays and 198 to extract, but the Array Indexes to extract indicator shows 0,198,396,594,792.
990 should also be output, but why is it not?
Since you also extract index 0 you get a 1-offset issue, which is quite common. Modify the VI like this:
(The round towards -inf is to make sure it doesn't round up so you get 1 too many extractions)
Hi Yamaeda
I have one more question!
I made some improvements based on the program you gave me, but I could not connect the wires.
It is where I connect the 1D array data coming from the FIFO to the Index Array in the For loop.
I am attaching an image and would appreciate your advice.Per default an array passing into a For-loop gets Auto-indexed. R-click the little [ ] on the border and turn off Auto-index
Thanks for the advice!
It worked.
I am trying to save the data (data read 1000 elements at a time) as a binary or CSV file before taking the 198 intervals.
I concatenate the x,y,x values of the data using the “Build Array” function and put them into a case structure.
How can I improve it so that I end up with 3 rows and 12976128 columns of data to save in the file? (3 rows are x,y,z values, 12976128 columns = 198 x 256 x 256 number of data)
Any good ideas would be appreciated.
I forgot to attach the program for the relevant part.
04-22-2025 02:32 PM
Hi ikeda,
@ikeda_kaoru wrote:How can I improve it so that I end up with 3 rows and 12976128 columns of data to save in the file? (3 rows are x,y,z values, 12976128 columns = 198 x 256 x 256 number of data)
Any good ideas would be appreciated.
The program for the relevant section is attached.
Nope, you didn't attach any code. All we got is an image: we cannot edit/debug/run images in LabVIEW!
Suggestion: instead of saving to a ".bin" file you should use TDMS functions instead! They allow for proper handling of additional information together with your data. (Excel isn't able to handle 12976128 rows or columns!)
04-23-2025 03:04 AM
@GerdW さんは書きました:
Hi ikeda,
@ikeda_kaoru wrote:How can I improve it so that I end up with 3 rows and 12976128 columns of data to save in the file? (3 rows are x,y,z values, 12976128 columns = 198 x 256 x 256 number of data)
Any good ideas would be appreciated.
The program for the relevant section is attached.
Nope, you didn't attach any code. All we got is an image: we cannot edit/debug/run images in LabVIEW!
Suggestion: instead of saving to a ".bin" file you should use TDMS functions instead! They allow for proper handling of additional information together with your data. (Excel isn't able to handle 12976128 rows or columns!)
Thanks for the advice.
I used the TDSM function to get the data. How can I check the data in the file?The program and images of the relevant sections are attached.
04-23-2025 03:28 AM - edited 04-23-2025 03:31 AM
Hi ikeda,
you REALLY need to learn to create CLEAN code! Use more (or any) subVIs…
Example:

@ikeda_kaoru wrote:I used the TDSM function to get the data. How can I check the data in the file?
The program and images of the relevant sections are attached.
You can use the TDMSFileViewer function to load and visualize TDMS data…
04-27-2025 04:07 AM
When saving binary data, I get the following error.
I do not know the cause and would appreciate your advice.
04-27-2025 05:49 AM
Hi ikeda,
@ikeda_kaoru wrote:
When saving binary data, I get the following error.
I do not know the cause and would appreciate your advice.
Provding an image with mostly Japanese text doesn't help us to help you.
Mind to share English information?