LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mac Read.vi slower than PC Read vi (?)

Anyone have any gorey details about why using the same standard (CIN based) Read vi is slower on a Mac than a PC? Even when the datalog file is stored on a RAM disk, the speed for the read operation is much slower than the same vi on a PC reading from the HD. The processing of the data that is read in is equavalent, it's just getting the data in that is slow.
Any NI techs have any insight as to why? Is there some Endian conversion being done internally? Any workarounds?
0 Kudos
Message 1 of 2
(2,426 Views)
> Any NI techs have any insight as to why? Is there some Endian
> conversion being done internally? Any workarounds?

Well, there isn't any endian conversions going on. Both the file and
Mac memory model are big-endian. But the classic Mac file I/O is pretty
slow. The only thing I can recommend is to do the reads in larger
blocks. I've also heard some people claim that running their file I/O
bound apps underneath OSX will speed things up. In other words, running
an OS9 app underneath OSX is actually more efficient because it replaces
all of the OS9 code. So, you could give that a shot.

Greg McKaskle
0 Kudos
Message 2 of 2
(2,426 Views)