07-04-2012 03:30 AM
Hello, I got a problem acquiring data using VISA block diagrams. It doesn't read the data from my test bench correctly. As you can see on my VI, there are many sensors to show the values. The data acquisition block diagrams are obtained from the company, then I tried to connect it with my own VI with a few changes. However it turned out to be not working properly. The values don't change along with the sensors. Could you please check if there is something wrong with my VI. The sub VI "VI connection" is responsible for the data acquisition.
The attachment "Data Read (adapted)" is the VI from the company.
You can ask me anything if you don't understand my problems. Its quite hard to explain.
Thank you
07-04-2012 03:43 AM
Hi bombbooo,
after ~200 messages you still don't get the principles of dataflow!?
Your "vi connection.vi" uses while loops, which never stops. You programmed it that way. What kind of behaviour do you expect in the calling main VI?
For someone writing his Master thesis I would expect more knowledge about what he is doing...
07-04-2012 04:19 AM
The original data acquisition VI (Data Read.vi) that I attached contains a while loop too. I just extracted the block diagrams inside the while loop in that VI to put into my own while loop. Is it the wrong procedure?
07-04-2012 06:01 AM
-what function should I change in my while loop? Now it reads the data only once at the beginning. It doesn't update along with the acquired data.
07-04-2012 07:13 AM
07-04-2012 07:16 AM
07-04-2012 07:21 AM
07-04-2012 07:38 AM
07-04-2012 08:54 AM
I already tried all possibilities for the while loop stop buttons but it still comes out unstatisfying. 😞