sydney Posted December 7, 2009 Report Share Posted December 7, 2009 I am curious as to why I get an error when I connect the error cluster through the timeout event in either the true or false case. I find it strange that only the timeout event has this problem and none of the other events have this problem! I also can wire around the case statement in the timeout event and get no wiring problem, so there is something that I do not know about the timeout event. An comments are welcome. I have another question about this code also in the timeout event: I have 4 references to 4 multicolumn listboxes feeding into the init listboxes subVI and one of these has a cast dot. When I made the subVI I included the data type on all four input references and produced strictly typed property nodes to access col hdrs[] and item names. This led to an error for the normalization-listbox reference input to the subVI which goes away when I remove the include data type property in the front panel of the subVI and do not use a strictly typed property node. The code works, but I really do not see what the problem is that requires one reference to be treated with the type cast. Even worse, I have no idea on how I can analytically approach solving this dilemma! I would love to hear any ideas on this problem. CapProbePrj.zip Quote Link to comment
Norm Kirchner Posted December 7, 2009 Report Share Posted December 7, 2009 Sydney, Your in luck wrt the event timeout error case. You accidentally wired the error wire under the structure <object width="944" height="488"> <param name="movie" value="http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/jingh264player.swf"></param>'>http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/jingh264player.swf"></param> <param name="quality" value="high"></param> <param name="bgcolor" value="#FFFFFF"></param> <param name="flashVars" value="thumb=http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/FirstFrame.jpg&containerwidth=944&containerheight=488&content=http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/2009-12-07_0953.mp4"></param> <param name="allowFullScreen" value="true"></param> <param name="scale" value="showall"></param> <param name="allowScriptAccess" value="always"></param> <param name="base" value="http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/"></param>'>http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/"></param> <embed src="http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/jingh264player.swf" quality="high" bgcolor="#FFFFFF" width="944" height="488" type="application/x-shockwave-flash" allowScriptAccess="always" flashVars="thumb=http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/FirstFrame.jpg&containerwidth=944&containerheight=488&content=http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/2009-12-07_0953.mp4" allowFullScreen="true" base="http://content.screencast.com/users/NJKirchner/folders/Jing/media/1bcbcd14-4133-4cbe-b55c-b926cdc518f8/" scale="showall"></embed> </object> Also with regards to your second question, right click each of the list-boxes and look at each 'Selection Mode' That setting declares what kind of data type the MCL is. If it declared to be 0 or 1, then it will be a scalar. If it is one of the 'x or more' then it will be an array. So really for the code that your doing in the MCL sub-vi (from what I can tell) you don't need to strict any of those references and realize that those kind of coercion dots are ok good luck 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.