Jump to content

writing to file


Recommended Posts

I want to write data read from a device to a file. I have figured out to do so. However, I would like to automatically create a file that is named after the serial number of the device. Is there a way that I can do this?

Essentially creating a file name from a string and then putting data into the file without having to manually type in a file name and location in the popup box

Link to comment

Awesome, thank you

Just out of curiosity. On my computer I have a vi with multiple sub vis. I also call from folders that I have on my computer. If I was to send over my labVIEW code to someone would I have to attach all sub vis and folders used so they can also use my program?

Link to comment

Most people compile their code into an EXE for distribution. But, yes, plan B would be to send the top level VI and all the dependencies. One way to do that is to use the "save as previous" feature which will automatically pick up most of the dependencies. https://www.ni.com/docs/en-US/bundle/labview/page/saving-for-a-previous-version.html

Edited by infinitenothing
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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