Sign Up

Details

In a recent project where fast loops were running, we found out that the GetAttributes.vi performs to slow to keep up with the needed loop rates. This was due to the local variable used to typecast the the Ref number to the DVR. We added a typedef 'DVR' which is just a DVR containing the attributes cluster and replaced the local variable with a constant on this type and the DataRef indicator with a typed indicator. This improved the performance to an acceptable level. The only downside might be that the Object template gets an additional typedef.

Comments


Please sign in to leave a comment.