To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 2336
2335  |  2337
Subject: 
Re: Problems with if-close with phantom.dll
Newsgroups: 
lugnet.robotics.rcx
Date: 
Wed, 28 Jan 2004 17:49:14 GMT
Viewed: 
3271 times
  
In lugnet.robotics.rcx, Guido Truffelli wrote:
Hi Valeria,

Hi!! are you italian??so am I :)




I can't understand the language you are using,


phantom.dll control ( a replacement of spirit.ocx) used in a visual c++ mfc
application



BeginOfTask(0);
If(2,1,2,2,1);    //obviously a right sentence ;)
PlayTone(500,100);
Wait(100);      // Wait for PlayTone to complete
EndIf();
EndOfTask();


I had already tried this.. it doesn't work.. I was wondering if there is a
problem with the if function!

thank you anyway!!

Valeria



Message is in Reply To:
  Re: Problems with if-close with phantom.dll
 
Hi Valeria, (...) I can't understand the language you are using, but, as far as I know, in many other languages for the RCX you have to wait for the PlayTone to complete before exiting the task. Probably you need to insert a Wait instruction, your (...) (21 years ago, 28-Jan-04, to lugnet.robotics.rcx)

3 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR