LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview copy data from VI to executable

I have a VI with a 1D array of numerics that I want to copy its data (as an array) to a LabVIEW executable which also contains a 1D array of numerics.

 

I do not think this can be done but want to get confrimation from the community.

 

 


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 1 of 5
(3,238 Views)

Once the executable is built, the binary composition is completed.  You can't change that. 

 

If you have access to the executable's source, you can easily write to a file that is shared.  The VI writes to the file and the executable reads from it.  That passes the data between the two.  I wouldn't try to access it from both at the same time.

0 Kudos
Message 2 of 5
(3,233 Views)

That is not what I was asking.  I will restate:

 

As an operator, I want to copy data from the executable (Ctrl-C) and paste (Ctrl-V) it into VI.  Like copying data from say Visual Studio development environment to an Executable made by Visual Studio.

 

 

 

 


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 3 of 5
(3,222 Views)

While you are running your executable can you right click on the array (make sure it's not an individual element) and copy data?  Then try putting down an array in an empty block diagram and pressing run continuously which should change the available RCM so that when you right click the array you can paste data.

 

This worked VI to VI so I was just kind of hoping it would work from executable to VI so I have not actually tried this.

Matt J | National Instruments | CLA
0 Kudos
Message 4 of 5
(3,197 Views)

I just noticed your two posts have you starting and ending in different locations but it should be the same idea.

Matt J | National Instruments | CLA
0 Kudos
Message 5 of 5
(3,183 Views)