キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

duplicate path

What does putting in a case statement have to do with a while loop?

Message Edited by Dennis Knutson on 08-07-2006 10:36 AM

0 件の賞賛
メッセージ11/15
3,237件の閲覧回数
what's the error out connected to(of the file/path info)?
0 件の賞賛
メッセージ12/15
3,232件の閲覧回数

Unbundle by Name.

Have you taken any of the basic LabVIEW classes yet?

0 件の賞賛
メッセージ13/15
3,229件の閲覧回数
haven't attended any of their classes i have only read its tutorial files taken from different sites. and most of the functions am currently using, that are currently using is new to me. sorry

i have finished the one with the case although the error 10: would still pop out. am not using the same the string control functions that you used. mine consist of a prompt user to input function (where my inputs occurs).
0 件の賞賛
メッセージ14/15
3,222件の閲覧回数


@Jpop wrote:
i have now tried adding the file/directory info and it returns the error7. and after pressing continue (file/path directory info is wired to create folder), i get an error 10: duplicate path.

OK, this is just silly. Why You are trying to create the same folder with name "  " ((space)(space)) millons of times/second in a loop until you press the enable button for the dialog. At every loop iteration you also try to get information on it before you even create it, but then you don't use that information for anything useful!

You need to:

  1. ensure that the loop only loops when it actually needs to (check out the event structure).
  2. Create the folder only if it does not yet exist. (e.g. only if "get info" returns an error).
  3. Don't run the code with the dialog disabled, it will try to create the space-space folder every time.

 


 

Message Edited by altenbach on 08-07-2006 10:30 AM

0 件の賞賛
メッセージ15/15
3,221件の閲覧回数