LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I have Time problem when I launch VI configured on PC computer (P 2.6 GHz), on MacOS (500 MHz).

Hello sir,
I composed VI on PC (WinXP) then put it on MacOS. So I cann't solve Time problem occured: Time on MacOS several times greater than one on PC computer. I attached the VI, please give me your opinion.
Regards,
Gen
Download All
0 Kudos
Message 1 of 4
(2,742 Views)
I could not see anything that would explain why the code is slower on the Mac. This is not to say that there is no problem--I just could not see it. Does the Mac have a lot of memory? I recommend running the VI profiler (if you have pro) to see what is taking so much time. You should also disable the graph to see if its updating is taking the time.
0 Kudos
Message 2 of 4
(2,742 Views)
If you do not have VI profiler, edit your code to use the tick count. This way you can have the program itself tell you the timing statistics.
0 Kudos
Message 3 of 4
(2,742 Views)
You might try moving the "Saving Data" led off the graph. I know in Windows that when you have controls overlapping it can slow things down quite a bit. I also have found WinXP to be slower than older Windows versions, especially if you don't have at least 500 MB of memory.
Message 4 of 4
(2,742 Views)