PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

writing data from shared variable to hard disk

In LabVIEW 7.1 I transfered data from an input queue to an output queue and then wrote it to the disk as a binary file.  The data was an array of U16.  Now in LabVIEW 8.6.1 I've modified the process.  Data is transfered from a shared variable to an output queue and then written to the disk as a binary file.  The data is an array of SGL.  Everything seems to be working correctly until the actual writing to the file.  Then the Page File Usage on the computer skyrockets until is uses up all the available memory.  Needless to say this stalls the computer.  Without the calling the Write to Binary File function the Page File Usage is around 348 MB.  I've enclosed snapshots of the code.  Any suggestions on what I'm not considering.
0 Kudos
Message 1 of 3
(3,350 Views)

Hi faustina,

 

I would recommend a few things.  First of all, when you  post code to the forums, it's easiest for forum visitors to help you debug it if it is the actual code not screenshots.  Secondly, this is a LabVIEW issue that was posted in the PXI forum, so that is why you might not have seen as many responses to this email as you might have expected in the LabVIEW forum.

 

As far as troubleshooting this goes, I am having trouble doing so because of my first point.  If you could repost with your VIs (perhaps in the LV forum), you might have better luck.

Stephen Meserve
National Instruments
0 Kudos
Message 2 of 3
(3,328 Views)

Hi faustina,

why do you change from queue to shared variable? Can you please show a picture of the entire code or post your vi?

 

Mike

0 Kudos
Message 3 of 3
(3,324 Views)