Jump to content

aaronfleishman

Members
  • Posts

    1
  • Joined

  • Last visited

LabVIEW Information

  • Version
    LabVIEW 2018
  • Since
    2017

aaronfleishman's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I need to be able to communicate data between LabVIEW and another program. We need LV to write to a file (e.g. *.txt.) about 1x per second (only writing about 10-20 string controls) and the other software reads it at about 20x-60x per second. The data in this file will be read by the 3rd party software. The 3rd party software will only be reading, LV will be doing all of the writing. The method that the 3rd party software company proposed (since they had worked with it before) is memory mapping, or mapping the file to memory. Has anybody had any success in doing this before? I am trying to rework some code posted before @ NI Developer Forums. I am also using MSDN to get all of the function calls. The main problem I am having is how am I able to read back the data? I thought I was close, but based on the code attached, it didn't return anything. Also, does the filemapping update when the referenced file is changed? Or will I need to read and write through through the memory mapping? Here is the MSDN site for File Mapping. I'm really stuck on implementing the code in this section. -Aaron Note: I've been asked about using TCP/IP to send the data. The above method was suggested by the 3rd party company.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.