Papang Posted September 24, 2010 Report Share Posted September 24, 2010 Hi everyone, I'm trying to insert 2 data from string control into an array. I was done to insert 1 data from string control into an array but when I try to add 1 string control, it not works. Could you guys assist me? Thank you Array.vi Quote Link to comment
Francois Normandin Posted September 24, 2010 Report Share Posted September 24, 2010 This is a dataflow problem. When you split a wire, you split data. You've created a race condition where you carry the information on two wires, modify the data differently on both and then each one races to update the Array. Remember that LabVIEW is not using pointers to controls or indicators. Follow one wire and make each function work on the data previously modified by the node before. <object id="scPlayer" class="embeddedObject" width="630" height="378" type="application/x-shockwave-flash" data="http://content.screencast.com/users/normandinf/folders/Jing/media/40e1f056-bf17-46df-bd03-df951dffa53d/jingh264player.swf" > <param name="movie" value="http://content.screencast.com/users/normandinf/folders/Jing/media/40e1f056-bf17-46df-bd03-df951dffa53d/jingh264player.swf" /> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <param name="flashVars" value="thumb=http://content.screencast.com/users/normandinf/folders/Jing/media/40e1f056-bf17-46df-bd03-df951dffa53d/FirstFrame.jpg&containerwidth=630&containerheight=378&content=http://content.screencast.com/users/normandinf/folders/Jing/media/40e1f056-bf17-46df-bd03-df951dffa53d/dataflow.mp4&blurover=false" /> <param name="allowFullScreen" value="true" /> <param name="scale" value="showall" /> <param name="allowScriptAccess" value="always" /> <param name="base" value="http://content.screencast.com/users/normandinf/folders/Jing/media/40e1f056-bf17-46df-bd03-df951dffa53d/" /> <video width="630" height="378" controls="controls"><br /> <source src="http://content.screencast.com/users/normandinf/folders/Jing/media/40e1f056-bf17-46df-bd03-df951dffa53d/dataflow.mp4" type="video/mp4;" /><br /> <b>Your browser cannot play this video. <a href="http://www.screencast.com/handlers/redirect.ashx?target=viewingembededhelp">Learn how to fix this</a>.</b> </video> </object> 1 Quote Link to comment
Papang Posted September 24, 2010 Author Report Share Posted September 24, 2010 Ohh I see... Hmm, How if I want to store the second string on the second column? Quote Link to comment
crossrulz Posted September 24, 2010 Report Share Posted September 24, 2010 (edited) I think this will accomplish what you are after... Edited September 24, 2010 by crossrulz 1 Quote Link to comment
Papang Posted September 24, 2010 Author Report Share Posted September 24, 2010 Thank's Lavas. It works Quote Link to comment
Yamaeda Posted September 29, 2010 Report Share Posted September 29, 2010 Unless i misunderstand you could do it with a simple Build array. Just expand it to 3 inputs. /Y Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.