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.
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.
03-04-2015 01:42 AM
Hello everyone.
I have a dynamic array which results from calculations then plots graphs. I would like to record the data to view the graphs elsewhere or later.
My routine does not work, can somebody explain me why?
NB: this is based on an example I found in the help window of "Read from binary file"
Solved! Go to Solution.
03-04-2015 02:32 AM - edited 03-04-2015 02:32 AM
Hi Alain,
in your picture there is no "Dynamic Datatype" array. There is no "dynamic" data at all. All I see is a 2D array constant…
My routine does not work, can somebody explain me why?
What does not work?
Which errors do you get?
What have you tried to debug your routine?
03-04-2015 08:20 AM
Hello Gerd.
in your picture there is no "Dynamic Datatype" array. There is no "dynamic" data at all. All I see is a 2D array constant…
When I said I had a dynamic array, I did not mean Dynamic Datatype array but an array (in orange, on the left) that may vary in size, depending on previous calculations.
What does not work?
What should happen is the indicator Result reading should be active and look like Reading,
Which errors do you get?
What have you tried to debug your routine?
I do not get what you mean here. I think I have not tried to debug anything yet.
Here is a repost with simpler base path and file name...
(to try the routine, just drag and drop this image in the Block Diagram of a blank VI)
03-04-2015 08:32 AM
i really also want to try this program, it is related to my labview program to analyze raw data from satellite and analyze all the data back to its original messagecamera raw data, aodcs , high voltage solar array data etc
03-04-2015 08:41 AM
03-04-2015 11:36 AM
Thanks...am new to labview can you illustrate some of the blocks for me to easily pick search on my labview program version 2012?
03-05-2015 07:16 AM - edited 03-05-2015 07:18 AM
Hello GerdW,
Thank you very much, this works just fine!!!
Can you explain me why you use this?
Thank you again.
Best regards,
Alain.
03-05-2015 07:31 AM
Hi Alain,
IndexArray: ReadFromBinaryFile expects a description (or the datatype) of ONE data element in your file. As you wrote an array of elements you need to provide the scalar element as datatype description.
-1 constant: read the help of ReadFromBinaryFile. It explains the "-1"…
03-05-2015 08:05 AM
Hello mon39Por,
Here is a repost of my VI with all labels on it.
As I said earlier, the second part of my VI is based on Right-click < File I/O < Read from binary file < Detailed Help < 3rd example. Then I merged both VI's.
Regards,
Alain.
PS: Are you from France?
03-05-2015 08:12 AM
Ok, now I get it.
Thank you again.
Regards,
Alain.