08-02-2006 10:35 AM
08-02-2006 10:49 AM
08-02-2006 10:56 AM
Jasonhill,
CAn you adjust it to see in main or tell me how do it?.
Regards.
08-02-2006 02:08 PM
Hi, can anyone help me?. I would like hear advise to get it. I dont know a lot on queues.
Regards, Fonsi.
08-02-2006 03:25 PM - edited 08-02-2006 03:25 PM

Message Edited by Novatron on 08-02-2006 04:25 PM
08-02-2006 03:35 PM
Hi novatron,
I got it, i did it, and it runs but I have the same problem, the numbers only appear in main vi, when i close the subvi, I would like the data would arrive to main at the same time the sub-vi is getting the numbers. Since i want this subvi show several dials with the data and main vi, show graph with all the data fitted to it. Right now, removing the Release queue, it run JUST when i close the subvi.
Is possible recieve in main at the same time than subvi or bit time later, but not when it is closed???.
Thanks.
08-02-2006 03:38 PM
08-02-2006 04:06 PM
Thanks again Jason,
I tested it, i only got in the subvi- gets the same first number in the 3 possition, since it didnt delete the previous value. And the main got the same problem only when i close the sub-vi it gets the numbers, therefore is wrong for my application.
I am confused with it. Any help?
Thanks for help!.
08-02-2006 04:17 PM - edited 08-02-2006 04:17 PM
Message Edited by jasonhill on 08-02-2006 04:18 PM
08-02-2006 04:34 PM - edited 08-02-2006 04:34 PM
Jason,
Yes, the vis is too much difficult than this example. I maintained the loops since i have the same. Keep in mind, I am readings from serial port, each time i read 8 bytes. So it would be 8 readings each time. The values of serial port are sent to the down loop to show the frequency while it is reading the serial port. Right now works in this way. It read serial port, with queue send to down loop to show the freq and another parameters, and when i finish the acquisition, push stop and show all the readings fitted in graph on main vi. But the problem is I got the graph when it is finished. I want the graph goes drawing while it is getting the figures from serial port. I put this example simplified, to easy fitted.
Therefore, it is possible get it with this structure??. Keep in mind in main vi, i call the subvi with if-else then show the subvi, I want read from serial port and draw the graph in the same time on main vi.
If you can send me the last program, i use LV7.1
Mensaje editado por Fonsi