06-02-2015 02:47 PM
Attach your main VI - I'm guessing there may be the issue
06-02-2015 02:49 PM - edited 06-02-2015 02:52 PM
i just created the example vi which attached
so that it is simple to understand the problem !
06-02-2015 02:54 PM
What example? Nothing is attached.
06-02-2015 02:55 PM
the one i attached in the beginning !
06-02-2015 02:57 PM
The very simple one that doesn't match your screenshot in the beginning, the description of your problem, and actually executes just fine?
06-02-2015 02:57 PM
this is the main code !
i am still working on it
so it will not work and hence vi file does not hold any importance !
06-02-2015 03:01 PM
How do you control timing of your loop? I guess the reading and writing is pretty quick, therefore the loop complete quickly so you don't have the chance to see the results. Try running it on highlighted execution, and then observe the LED indicators
06-02-2015 03:01 PM
The VI file does hold importance because it is the file where your code is not actually working!
Have you looked at the data coming in from the VISA Read and actually compared it to the cases of the case structure? Did you do what I said and check to see whether any control codes or termination characters are interfering with your case structure comparison?
06-02-2015 03:21 PM - edited 06-02-2015 03:21 PM
@jay_sidd wrote:
this is the main code !
i am still working on it
so it will not work and hence vi file does not hold any importance !
Oh my...
Right off the top of my head I would do something like this.
06-02-2015 06:23 PM
u made the day !!
kudos to u !