LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to eliminate the delay in Xcontrol?

As the attachment shows, I need to add a delay in the Xcontrol Facade  block diagram, but during its running, the test panel for the Xcontrol won't respond for any other command( for example: click an button). So this feature makes my program very unconvenient.Smiley Sad
--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 1 of 16
(4,926 Views)
the attachment
--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 16
(4,909 Views)
 up
--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 16
(4,897 Views)
more new problemswhen you create several Xcontrol in a cluster and then use cluster's property of controls as reference to access the property and method of the Xcontrol, it works properly, but when wrap it to exe, the xcontrol would fail to work.:
--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 4 of 16
(4,882 Views)

up stairs:P

 

--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 5 of 16
(4,865 Views)
Your attached zip files seem to be corrupt. They cannot be opened. 😞
0 Kudos
Message 6 of 16
(4,863 Views)


@ztyaner11 wrote:
As the attachment shows, I need to add a delay in the Xcontrol Facade  block diagram, but during its running, the test panel for the Xcontrol won't respond for any other command( for example: click an button). So this feature makes my program very unconvenient.Smiley Sad



I cannot open your attachment, but I have a really hard time trying to imagine any reason why anyone would want to add a delay to an Xcontrol. It just feels wrong!

Could you explain your reasoning?

0 Kudos
Message 7 of 16
(4,864 Views)
Sorry, I zip this file with WinRAR, and I changed the extension to ".zip", so you may need to change the extension back to ".rar" after you downloaded it.
I need to add a delay in the Xcontrol cause I want to see blinking with an indicator when alarm happens.
thank you:)
--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 8 of 16
(4,860 Views)


@ztyaner11 wrote:
Sorry, I zip this file with WinRAR, and I changed the extension to ".zip", so you may need to change the extension back to ".rar" after you downloaded it.

Ahh, this seems like important information. 🙂

I very briefly looked at your xcontrol, but I have absolutely no idea why you need a delay after setting the blinking property. Since you don't unset the property, the delay has no meaning or purpose..

I am also pretty sure that your xcontrol desgn is incorrect. I don't think there should be much in the timeout case, but you seem to pile all your code there. You also never modify the action and state clusters or even the data out. Then you have all these shared variables...

I would recommend that you study the shipping example"simple dual mode thermometer" (search for xcontrol in the example finder) for some guidelines.

What exaclty is the purpose of your xcontrol? What is is supposed to do?

0 Kudos
Message 9 of 16
(4,844 Views)
Did you run my example? If there is no delay, you cann't see the blinking of the control.
--------------------------------------------------------------------------------------------------------------------------
LabVIEW 8.20程序设计从入门到精通已经出版,敬请关注!
欢迎访问LabVIEW学习乐园: http://labviewstudy.blog.edu.cn
---------------------------------------------------------------------------------------------------------------------------
0 Kudos
Message 10 of 16
(4,828 Views)