LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to save data from sbRIO9651?

Solved!
Go to solution

Hi, everyone!

 

I am trying to catch a data from I/O using SPI interface and sbRIO board, but I have the problem with putting data inside array. Everything works fine until I add array with indicator (Saved Array, marked with red line), for actually see inside array. 

 

mainmain

 

Then I get errors, but all my arrays have fixed and the same size and type of data, so I don't understand why I get errors.

 

errorserrors

 

So, can someone tell me how to save all the data to table or array, which I can save as Excel file for further processing? Is there any other more simple way to do this?

0 Kudos
Message 1 of 3
(867 Views)
Solution
Accepted by topic author Zhargal

The Error Message explains the Error exactly.  You have an Array (of some size) on a Shift Register, and change the Array size by passing the Wire through an "Insert into Array" (which changes the array size!).  You should use "Replace Subset" (or use a DVR with a pre-allocated Array).

 

Bob Schor

Message 2 of 3
(855 Views)

Thank you so much for help! I just started to be familiar with Labview 😅 Thanks again, I am very appreciated

0 Kudos
Message 3 of 3
(825 Views)