LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create and store log file in NI Linux Real Time location using LabVIEW

Hello,

I am working on sbRIO board.

 

I want to store log data in internal memory of sbRIO board.

with the LabVIEW programming i am can able to create file in VxWorks location but not able to create file in Ni Linux Real time location of sbRIO board.

 

is there any additional permission/library required. currently, I have installed only recommended library for sbRIO.

0 Kudos
Message 1 of 3
(519 Views)

Your inquiry is very unspecific and unclear.

Can you show a VI what you are trying to do?

Both VxWorks and NI Linux use a similar filesystem that looks on the application level like Unix. While NI did create a c top level symlink to make the whole a little more like Windows (and the previous Pharlap ETS embedded targets) there is no real difference otherwise.

 

If you refered on the VxWorks target to a path as /c/data/something it would be likely now on the NI Linux system something like /usr/local/data/something. Of course you have to check on your specific target and make sure that the according directory really exists before trying to write a file into it.

Rolf Kalbermatter
My Blog
0 Kudos
Message 2 of 3
(487 Views)

Thank you for your attention to this matter.

 

later on, I have checked the read/write permissions of NI Linux directory - for my device.

I found that, writing permission was not enable for group/public. After Enabling it, I can able to create file.

 

Bhavik_3000_1-1700748086969.png

 

0 Kudos
Message 3 of 3
(469 Views)