07-24-2006 11:09 AM
07-24-2006 11:28 AM
07-24-2006 11:47 AM
07-25-2006 12:05 PM
Dennis:
Thank you wor your replay. The other LabVIEW Application programs are stand alone executables. I can not use Data Sockets because it dramatically slow down the data acquisition process.
Basically the system consists of a Data Acquisition Program (witten in LabVIEW 7.0) which collect data from different sources. To make this data available to other programs (client programs) and still have an acceptable scan cycle I was thinking to buffer the data into the PC RAM Memory and then other application programs can take it from there.
The data Acquisition loop should be able to acquire 40Kb in less than 10ms. If I use data publishing on Data Socket the program scan cycle is affected dramatically. (I'm using Intel Xeon 2.8GHz, 2GB RAM). Logging all the data into a file from where other application programs can take the part of data they need also slow down the DAQ process.
The last thing I though was to use Global Data Variables, but unfortunately LabVIEW makes copies of the data for each Global variable which on a large number of channels (3000x 32-bit SGL) at a high logging rate will negatively influenc the memory consumption of the main application program.
I know LabVIEW has the "Visa Move in 32" and Visa Move out 32" subVis tha can read and write, from and to the Local PC Memory.
My question now would be:
On the "Visa Move in 32" subVi How do I get wired my 2D Data Array (in LabVIEW) to this Function. it requires a "Visa instrument resource name" which I don't have beacuse I have the data already in LabVIEW.
Basically is moving the data from the LabVIEW enviroment memory space (unknow to the user) to a user defined RAM memory location
Any suggestions on this issue will be highly appreciated.
07-25-2006 12:23 PM
07-25-2006 01:40 PM
07-25-2006 02:10 PM - edited 07-25-2006 02:10 PM
Message Edited by Jarrod S. on 07-25-2006 02:11 PM
07-25-2006 03:57 PM
Maybe this will get you something.
07-25-2006 08:34 PM
Hi Felix,
How-about writing the data to a file stored on a ram-drive, then let each application open the same file. I suspect there would be some conflict if more than one app tries to open the file for writing.
Hey, if there's a reflective-memory card, do you think you could allocate some memory on the RM card, and access it from multiple apps?
Cheers
07-25-2006 10:35 PM