From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error in file logging

Hi,

 

I have problem in logging data into a file.

File error says that the file is not valid, but there is a valid path and file.

 

Please help.

0 Kudos
Message 1 of 8
(2,664 Views)

Show us your code, it is hard to find what is the cause without seeing the block diagram

0 Kudos
Message 2 of 8
(2,660 Views)

Here is my code.

0 Kudos
Message 3 of 8
(2,657 Views)

What part of your code is throwing the error?


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 4 of 8
(2,653 Views)

I figured it out

Thanks

0 Kudos
Message 5 of 8
(2,645 Views)

Care to explain what was happening so that other people can learn from your experience?


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 6 of 8
(2,641 Views)

Its not logging again!

This time no error but not logging.

0 Kudos
Message 7 of 8
(2,632 Views)

You could be logging only on the first 4 iterations of your loop.  Was the intent to log every 4 samples?  If so, then you need to use the Remainder, not the Quotient, of the Quotient & Remainder function.


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 8 of 8
(2,627 Views)