LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Temperature sensor data to text file

Solved!
Go to solution
Solution
Accepted by topic author Aladdin2020

@Aladdin2020 wrote:

Capture.PNG


Well, that Open/Create/Replace File function is totally mis-wired.  There is no need to wire up the "prompt" input.  And that function does not need a double input for anything.  And your enum came from where?  Remove the Feedback Node and any wires connected to it, the enum, and the prompt input.  Right-click on the "operation" input and choose to create a constant.  I set it to Replace Or Create.  You also need to supply a path.


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
Message 11 of 13
(857 Views)

Thank you so much for explain the process here! This is crazy! I still don’t get any thing on text file! empty! the program would run but still won't write anything to text document! 

not sure what is missing! 

 

 

2.PNGCapture.PNG

0 Kudos
Message 12 of 13
(846 Views)

Your file path looks like a subdirectory that is on your PC, using the / folder format of a RIO.

 

Are you SURE you picked a folder that exists on the RIO?  In other words, does your device have a folder at the path /C/User/Aladdin's PC/Desktop?

 

(I kind of doubt it since it would be unlikely for a RIO device to have need for a desktop folder.)

 

If the folder doesn't exist, you may need to add code that will create any of the missing folders in the hierarchy.

Message 13 of 13
(839 Views)