LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

change input depending on while loop content


@Nizzo wrote:

I got it working. For anyone running into the same issue you will need to use local variables to communicate between loops. Dragging a line between them does not work work if your situation is like mine.


It is called a "wire", not a "line" and data dependent execution order is a core principle of dataflow, probably mentioned in one of the very first basic lessons (and in several of my posts above!).

 

There are plenty of ways to communicate between independent loops (queues, notifiers, action engines, channel wires, etc.) and local variables are often not the best choice..

0 Kudos
Message 11 of 14
(299 Views)

I don't care if local variables are not the best choice, if you wanted to help you could have done so in all your previous responses, however you spent the whole time telling me that diagrams didn't help you, that my architecture is not correct, that I'm doing stuff wrong and that I didn't do the tutorials right.

I know my code isn't good, I've been using LabVIEW for a month, and in this time I've had to make it do some relatively complicated tasks while learning the programming language and adapt to the previous code that was also made by someone that wasn't too knowledgeable about the language.

Next time if you wanna help maybe ask exactly what you need to help, I've tried to give you as much information as possible, I said that I wouldn't upload the code as it's a huge tangled mess and it would have taken too long to explain where my issue is, however I sent screenshots of exactly the components I needed to communicate and the use case, and you still weren't able to help/didn't want to help.

I spent 2 days on this issue before I posted in the forums so I did as much research as I could before wasting anyone's time and I got my answer from another user elsewhere.

So maybe you're just not as good as you think you are.

0 Kudos
Message 12 of 14
(291 Views)

@Nizzo wrote:

I don't care if local variables are not the best choice, if you wanted to help you could have done so in all your previous responses, however you spent the whole time telling me that diagrams didn't help you, that my architecture is not correct, that I'm doing stuff wrong and that I didn't do the tutorials right.

I know my code isn't good, I've been using LabVIEW for a month, and in this time I've had to make it do some relatively complicated tasks while learning the programming language and adapt to the previous code that was also made by someone that wasn't too knowledgeable about the language.

Next time if you wanna help maybe ask exactly what you need to help, I've tried to give you as much information as possible, I said that I wouldn't upload the code as it's a huge tangled mess and it would have taken too long to explain where my issue is, however I sent screenshots of exactly the components I needed to communicate and the use case, and you still weren't able to help/didn't want to help.

I spent 2 days on this issue before I posted in the forums so I did as much research as I could before wasting anyone's time and I got my answer from another user elsewhere.

So maybe you're just not as good as you think you are.


I understand your frustration of taking longer to find a direct answer, but the experts here were trying to get you on the right track to learn LabVIEW and fix it yourself. If you're taking up LabVIEW as part of your career, you will one day understand why the experts were asking for the actual VI instead of the answer just based on the snippets, this is analogous to why Google's diagnosis of a disease is widely different from how a real doctor approaches the symptoms.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 13 of 14
(270 Views)

@Nizzo wrote:

So maybe you're just not as good as you think you are.


This forum is for discussions of technical issues here, not people. Right?

 

From a logic standpoint, your comment makes absolutely no sense because it compares two things that are completely unknown to you and anyone else (especially for point #2): (1) "how good I am" and (2) "what I think". It is a completely meaningless statement that does not even belong here. Maybe I think that I am a really bad programmer and the world thinks otherwise. 😄

 

You can ask a moderator to edit your post so it conforms to the community guidelines.

0 Kudos
Message 14 of 14
(243 Views)