LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph be animated like lorenz attractor

Could you look at the attached file I added shift registers as you recommened but I still have an error.

 

0 Kudos
Message 31 of 42
(1,969 Views)
Could you look at the attached file, I added shift registers as you recommended but I still have an error?
0 Kudos
Message 32 of 42
(1,969 Views)
You are still converting arrays of data down to only one point.  Also, it's hard to know what's going wrong if you only say that you are getting an error.  What is throwing the error? What is the error message? 
ColeR
Field Engineer
0 Kudos
Message 33 of 42
(1,958 Views)

I attached here the error message

 

 

0 Kudos
Message 34 of 42
(1,956 Views)

Hello Eng. Ahmad,

 

I would recommend posting a summary of what you are trying to do and also indicate where the error is occuring. This would make it much easier to troubleshoot. Thank you,

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
Message 35 of 42
(1,924 Views)

Dear Eng. Vivek.

 

Finally I debugged the code, It is working well now I made the following:

 

I removed the feedback wires from inside for-loop to outside.

 

I replaced the feedback wires with a value property node for each variable then I found that the vi worked well.

 

I don't know why the feedback wires outside the for-loop made this error? is it right? 

 

Could you please send me your email Eng. Vivek on my email ahmad_t_azar@yahoo.com if it is possible to ask you about any problems ?

 

Thanks for all NI groups for quickly replying and helping me.

 

I'm very proud that I'm a member in this Ni discussion forum and every day I learn new somthing in labview

 

 

0 Kudos
Message 36 of 42
(1,911 Views)

Hello Eng. Ahmad,

 

I am not too sure what you meant by the feedback wires and variables. I am glad you have got this working. I would recommend signing up for the SSP if you would like to get e-mail and phone support from Application Engineers at NI. Also, I would suggest taking a look at the LabVIEW courses we offer as they will definitely help you get up to speed much more easily.

 

Hope this helps!

Vivek Nath
National Instruments
Applications Engineer
Machine Vision
0 Kudos
Message 37 of 42
(1,870 Views)

Dear ALL

 

if you look at the attached example, I want to the stop button to stop the execution of both while loop and for loop at the same time. Then I want to add another button to exit labview. I tried to use flat sequence structure but it doesn't work properly. Could you modify the attached example to guide me. Because I'm trying now to convert the vi to exe and so that I need to add the exit button to terminate the program.

 

Thanks and I'm waiting

 

Ahmad

Download All
0 Kudos
Message 38 of 42
(1,820 Views)

Eng.Ahmad wrote:

Because I'm trying now to convert the vi to exe and so that I need to add the exit button to terminate the program.


The exe sould always run, so you could just kill it with the[X] button in the upper right corner and eliminate the stop button entirely.

 

If you want to stop both with the stop button, you need to place it inside the FOR loop, show the conditional terminal of the FOR loop, and wire the button to it and to the termination condition of the while loop.

 

You still have way too much code as mentioned before. Why make a cluster, convert to an array, and then take the subset of the entire array, for example. Just use "built array" in one step.

 

Here's a quick example:

 

Message Edited by altenbach on 05-23-2009 05:13 PM
Download All
Message 39 of 42
(1,817 Views)

Thanks very very much for quickly replying and helping me.

 

 

0 Kudos
Message 40 of 42
(1,803 Views)