LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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 Kudos
Message 11 of 16
(1,582 Views)

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 Kudos
Message 12 of 16
(1,580 Views)

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 Kudos
Message 13 of 16
(1,564 Views)


Thanks Ton

0 Kudos
Message 14 of 16
(1,555 Views)

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 Kudos
Message 15 of 16
(1,451 Views)

@ 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 Kudos
Message 16 of 16
(1,443 Views)