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: 

Write to file at exact ms intervals

If it is now looking like something specific to your machine...

 

Virus Checking software?

 

Disk Indexing?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 21 of 33
(892 Views)

Ben, I was starting to think the same thing. On my laptop I can't disable anti-virus software, disk encryption etc.. That's why I'm now installing LabVIEW to my desktop computer where I can do all those things. Will post an update as soon as everything is up and running

0 Kudos
Message 22 of 33
(885 Views)

@tbob wrote:
But I didn't have to do that and it worked fine.  Something screwy here.

 

Windoze has some strange performace behavior unrelated to hardware. 

I have certain suspicions... 

 

Regardless, there are ways to circumvent bad OS limitations...  😉

0 Kudos
Message 23 of 33
(876 Views)

@Ray.R wrote:

 

Regardless, there are ways to circumvent bad OS limitations...  😉


Yes I agree.  Use a Mac.  They RULE!!!

- tbob

Inventor of the WORM Global
0 Kudos
Message 24 of 33
(871 Views)

LOL!!

 

Actually... you are right.  And to think that ~10 years ago (okay... 15) I used to be pro PC / anti-MAC.  What an idiot..  I'm getting my first MAC soon.  Most PC's are going Linux.  I will keep a couple of PC's on win-xpee.

 

 

0 Kudos
Message 25 of 33
(857 Views)

@Ray.R wrote:

LOL!!

 

Actually... you are right.  And to think that ~10 years ago (okay... 15) I used to be pro PC / anti-MAC.  What an idiot..  I'm getting my first MAC soon.  Most PC's are going Linux.  I will keep a couple of PC's on win-xpee.

 

 


It will take some getting used to the new OS at first.  But in a very short while you will love the Mac and hate PCs.  I wish the business community would switch to Macs and that Winblows OS would die a quick death.

- tbob

Inventor of the WORM Global
0 Kudos
Message 26 of 33
(858 Views)

it's starting... or it's started...

0 Kudos
Message 27 of 33
(849 Views)

(sad) update:

 

this is from my desktop computer, fresh install of labview today

Download All
0 Kudos
Message 28 of 33
(835 Views)

That last image looks like you have about 0.1 ms of jitter in the time stamps.

 

Is that an issue?

 

What is nature of your real data source, is it more deterministic that that?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 29 of 33
(820 Views)

0.1ms is usually considered pretty good.  1 sec delta for every 10000 samples.

 

Have you considered the two loops and set each to a different core?

 

OR 

 

Trigger writing to file at every 10 second interval and see if that causes some improvement. 

 

Also, did you post your entire code?  We could look at it and see if there is some performance improvements that could be suggested.

0 Kudos
Message 30 of 33
(809 Views)