取消
显示结果 
搜索替代 
您的意思是: 

XControl timing

No it's not fixed and it might never be apparently.

 

It all depends on getting people serious about calling it a serious bug which hasn't happened so far.

 

Try going HERE to vote for a change.

 

Shane.

0 项奖励
11 条消息(共 16 条)
1,844 次查看

I called in and opened a help request on this.  An applications engineer is currently working on this.

 

I have thought of another work around.  I am going to simply put a condition inside the XControl that will only acknowledge every Nth datat that is sent.  So, I will put all of my code inside a case structure and then keep a running total of the execution loops and disregard every so many samples.  This isn't the best workaround but I am out of ideas to eliminate the data buffering of the XControl.

0 项奖励
12 条消息(共 16 条)
1,842 次查看

Correct URL is:

http://ni.lithium.com/t5/LabVIEW-Idea-Exchange/XControls-as-rate-limiters/idi-p/951254

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 项奖励
13 条消息(共 16 条)
1,826 次查看


Thanks Ton

0 项奖励
14 条消息(共 16 条)
1,817 次查看

Stumbled upon this issue too. I tried using the new "Flush Event Queue" to flush any old "Data Change"-events in the buffer, but that did nothing.

 

Adding the following parameter to the xctrl xml-file I found somewhere in a discussion did magic. Try adding this parameter: "<Property Name="NI.XCtl.OptimizeDataUpdate" Type="Bool">true</Property>".

 

 

Certified LabVIEW Architect
0 项奖励
15 条消息(共 16 条)
1,713 次查看

@ Intaris :

 

 

I never realised that an XControl was actually a fancy way of having a parallel process ...

I can think of LOTS of ways to misuse this....

 

 

open "Target.vi" in edit mode.

 

Target.vi is an FGV ... this FGV is drived by an XControl and this xctl makes this FGV fully polymorphic.

 

never remove broken wires inside the FGV, just rewire another input data type.

(never use "Edit / remove broken wires")

 

to stop the vi : boolean "RUN? = false" - file/exit

 

edit:

after "boolean RUN?=false"

to run again ... RUN?=true + operate/run

 

 

0 项奖励
16 条消息(共 16 条)
1,705 次查看