LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Shift Registers or Bundle Lines and Shift Bundle

I am developing an App to control a motor via the CAN bus. I must
issue a particular CAN command every 10 ms. The speed of the loop
worries me so I'm trying to keep the code as efficient as possible.

My questions is:
I have 6 variables I wish to keep track of (Max, Min etc) and would
like to know if anyone has recommendation as to whether I should use
multiple shift registers or bundle all my variables and use one shift
register for the bundle.

Thanks

extremeNone
0 Kudos
Message 1 of 3
(2,609 Views)

Hi Anonymous,

in this case a would prefer single shift registers.

Mike

0 Kudos
Message 2 of 3
(2,602 Views)

If you don't have big amount of data (array or other), i would preffer to bundle them.

The data you need seems to be simple numbers, and the use of one shift register is more nice, than six.

Although six shift registers would be faster, 10msec it's a long time....

0 Kudos
Message 3 of 3
(2,588 Views)