Jump to content

INI files and cRIO


superslug

Recommended Posts

This is probably a stupid question but is there any way to store and load values from a config file on a cRIO?

Same way you do on Windows. The standard file functions work normally on the cRIO using Windows-style paths; the internal flash drive is C:.

Link to comment

This is probably a stupid question but is there any way to store and load values from a config file on a cRIO?

thanks,

Bernard

Hi Benard

Yes you can certainly do that.

The Native LabVIEW Config API works as well as LabVIEW XML, there are also some 3rd party API's too

I find file io speeds can vary on the embedded targets between options so you may want to do some benchmarking?

Cheers

-JG

Link to comment

JG,

The Native LabVIEW Config API works as well as LabVIEW XML

the XML palette doesn't appear for Real-time targets in my LabVIEW projects.

Did is miss something? I would love to use the build in XML parser without using 3rd party products.

Cheers,

Swen

Link to comment

the XML palette doesn't appear for Real-time targets in my LabVIEW projects.

Did is miss something? I would love to use the build in XML parser without using 3rd party products.

We use un/flatten to XML a bit - but its more to convert a e.g. class/cluster from disk and e.g. load it into the application.

However, yes, I am guessing that the Xpath functions would not be available on Real Time.

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.