LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating a Labview pointer to data stored in memory.

Hi,

I have a Labview VI generating a large amount of data and would like to allocate this data to a memory location and generate a pointer to this data within the VI.

I then intend to pass this data pointer out of the VI into TestStand so that other programs (running as later TestStand sequence steps) can access the data and perform analysis.

(The reason for not simply passing the data itself is that it is very large!)

Can anyone suggest an approach (or example) for putting the data in memory and generating a memory data pointer within Labview?

Thanks
0 Kudos
Message 1 of 6
(3,631 Views)
In LabVIEW, you can store data in a vi in an unitialised shift register. If you don't exit LV, I see no point in why following shouldn't work.
Store the data in the SR-vi at the end of your say acquisition vi.
In the analysis vi, read-out the values from the SR-vi.
This is easy platform-independant G-coding.
0 Kudos
Message 2 of 6
(3,631 Views)
This may be a good way to get around the situation but not satisfactory for knowing exactly in RAM where the data is.
I have a similar situation. On a serial port I communicate with a device that sends me non-printable binary data. I would like to see the data captured in memory to verify that it is correct without depending on LV to decode it for me.
0 Kudos
Message 3 of 6
(3,631 Views)
This is effectively what I want to do although I need to generate a pointer to the memory location as the Analysis program is not definately going to be a VI.
0 Kudos
Message 4 of 6
(3,631 Views)
dan,

Please refer to the following link in the NI -Developer zone.This a llb of vi's to access data pointers from LabVIEW.
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/c94071199e8f18ad86256b6400829e4e?OpenDocument

Cyril
Cyril Bouton
Active LabVIEW Developper
0 Kudos
Message 5 of 6
(3,632 Views)
Cyril:

Is there an update link for this?  Your link is broken and I could not find it in the library.
Joe Gerhardstein
Viasat
Certified LabVIEW Architect
Certified TestStand Developer
Certified Professional Instructor
http://www.viasat.com
0 Kudos
Message 6 of 6
(3,518 Views)