Difference in performance in eWriteNames vs eWriteAddresses | LabJack
 

Difference in performance in eWriteNames vs eWriteAddresses

2 posts / 0 new
Last post
TS
Staffas's picture
Difference in performance in eWriteNames vs eWriteAddresses

I am using the T7 pro (with a tic-dac extension) to write a long series of values to different channels. I currently use the eWriteNames method to write these values but I am wondering if there is any advantage instead to use eWriteAddresses instead in terms of speed?


What is the main difference between the twofunctions,  I can't really see how they differ from each other except in syntax?

LabJack Support
labjack support's picture
Both functions use a common

Both functions use a common underlying function; the eWriteNames function is basically eWriteAddresses with internal register type lookups. eWriteAddresses could be slightly faster as a result, but the difference would be very small and trivial compared to the communication overhead that will exist for either call:

https://labjack.com/support/app-notes/maximum-command-response