01-19-2012 04:41 AM
hi,
I am using flat sequence for my autofocussing part of my project. It is working in one direction but not working in the other direction. I am just posting my vi can anyone suggest anything i can do for further processing.
01-19-2012 04:50 AM
Attach your subvi also.. I don't know why you are using too much flat sequences. Try to replace flat sequence with error in and error out terminals.
01-19-2012 04:59 AM
hi,
here is my sub vi
01-19-2012 08:42 AM
You are going to win the Flat Structure Abuse Award!
You need to understand how LabVIEW works and the concept of data flow. Using Flat Structures to force flow is not a good idea.
The only time that it's okay to use Flat Sequences is for the few native functions which do not have an error cluster terminal associated with it or to prevent a race condition between a notifer / queue and controls that would go into a State Machine.
To learn more about LabVIEW, I suggest you try looking at some of these tutorials.
01-19-2012 11:23 AM
@Samineni wrote:
It is working in one direction but not working in the other direction.
Impossible is nothing, that could be funny
http://screencast.com/t/M1P89HRqBVK
In general there are languages exists where writing starts from the right of the page, and continues to the left. Why dataflow in LabVIEW should always follow left to right direction?
Sorry for offtopic, Ray already has answered your question above.
01-19-2012 01:39 PM
@Andrey Dmitriev wrote:
In general there are languages exists where writing starts from the right of the page, and continues to the left.
Makes me wonder how tst wires his diagrams... 😄
01-19-2012 01:57 PM
You mean to tell me tst has been wrong all this time! I've been modeling my structures after his.
01-19-2012 01:58 PM
@Andrey Dmitriev wrote:
@Samineni wrote:
It is working in one direction but not working in the other direction.
Impossible is nothing, that could be funny
http://screencast.com/t/M1P89HRqBVK
In general there are languages exists where writing starts from the right of the page, and continues to the left. Why dataflow in LabVIEW should always follow left to right direction?
Sorry for offtopic, Ray already has answered your question above.
My brain almost blew up watching that video.
01-19-2012 04:58 PM - edited 01-19-2012 05:02 PM
I will take this even further off-topic. Try programming like this without your head exploding.
01-19-2012 08:41 PM - edited 01-19-2012 08:47 PM
@Andrey Dmitriev wrote:
@Samineni wrote:
It is working in one direction but not working in the other direction.
Impossible is nothing, that could be funny
http://screencast.com/t/M1P89HRqBVK
In general there are languages exists where writing starts from the right of the page, and continues to the left. Why dataflow in LabVIEW should always follow left to right direction?
Sorry for offtopic, Ray already has answered your question above.
Oh that is {self edited} UP! (edit)(edit)(edit) Do NOT do that (edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit) Again
Please
The Moderator for these Formus has adjusted the content to connform with our don't say "(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)or (edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)" policy
Please feel free to say "(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)(edit)"