LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

write labview measurement file

Dear All,

 

I am a beginner in Labview and I am trying to write the data generated from a RT target device. If it is not connected (Labview in Windows) the program generates a .txt file. However, when I connect to the device (RT target) after pressing the button save data, no file is generated. In summary, in windows environment the file is able to generate a .txt fil but when connected to the RT target it does not. Could you please help me to find the problem?

 

Thank you!

Marco

0 Kudos
Message 1 of 7
(2,641 Views)

Do you have code you can post so we can see what is happening?

Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 7
(2,624 Views)

Dear,

 

Please find the VI attached.

 

Thank you!

Marco 

0 Kudos
Message 3 of 7
(2,620 Views)

Hi Marco,

 

Just to clarify, are you trying to save your measurement file to your RT system or your Windows PC?

 

Regards,

0 Kudos
Message 4 of 7
(2,575 Views)

Dear Adam,

 

I am trying to save the data to my Windows PC.

 

Thanks!

Regards,

Marco

0 Kudos
Message 5 of 7
(2,572 Views)

Marco,

 

In order to save your measurement file to your PC, you'll need to use a host VI running on your PC to retrieve the data from the RT Target using a method such as a Network Published Shared Variable, and then write the data to a measurement file on the host VI.

 

I've attached a sample project utilizing a Network Published Shared Variable, please let me know if this helps or not.

 

Regards,

0 Kudos
Message 6 of 7
(2,564 Views)

I recommend setting up a shared directory on your Windows machine.  Your RT can then access that folder as a network drive and write directly to it.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 7
(2,549 Views)