06-02-2008 08:26 PM
06-02-2008 08:41 PM
06-02-2008 08:50 PM
06-02-2008 10:35 PM
If you want to program in LabVIEW, you need to become familiar with shift registers. There are one of the most efficient way to operate on data in-place and usually provide a very elegant solution if done right.
RSibagatullin wrote:
For some reason it is very hard for me to deal with the arrays located in the shift registers since to me it seems thery unnatural way of working with arrays. I think I can't break my C thinking.
RSibagatullin wrote:
Will it be OK to create a regular array and make it invisible programmatically and operate it via property in the code?
06-03-2008 01:42 AM
To work efficiently in LabVIEW, you need to stop thinking of "the variable" and try thinking about "which data is flowing through that specific wire". Wires are not variables, but they are the closest thing you have in that they are used to transfer data from one point to another. Using controls as variables is tempting (especially once you discover local variables) and on some occasions may even be legitimate (cue rotten tomatoes now), but it's not natural to LabVIEW and is definitely not efficient. It also has the potential of creating race conditions, which in a parallel language like LabVIEW can be very easy to create and very hard to find if you're not aware of how things work.
RSibagatullin wrote:
I think I can't break my C thinking.
06-03-2008 12:33 PM
06-04-2008 09:01 PM - edited 06-04-2008 09:03 PM
06-04-2008 10:29 PM - edited 06-04-2008 10:31 PM
Captain Kirby wrote:
One quick comment.
06-05-2008 12:43 AM - edited 06-05-2008 12:48 AM
06-05-2008 01:37 AM