Differences between revisions 23 and 24
Revision 23 as of 2009-11-10 09:55:29
Size: 2821
Editor: dyn176191
Comment:
Revision 24 as of 2009-11-10 09:58:40
Size: 3018
Editor: dyn176191
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
=== Processing gives an error under Vista ===
Start Processing as ADMINISTRATOR
=== Processing gives a startup error under Vista ===
If you get an error that "Processing cannot run because it could not create a folder to store your settings", then you should start Processing as ADMINISTRATOR. Right-click on processing.exe and select run as Administrator.

1. Frequently Asked Questions

1.1. Installation

1.1.1. Processing gives a startup error under Vista

If you get an error that "Processing cannot run because it could not create a folder to store your settings", then you should start Processing as ADMINISTRATOR. Right-click on processing.exe and select run as Administrator.

1.2. Processing Language

1.3. Mobile Processing

1.3.1. Is it possible to use Processing to program my mobile phone ?

Yes, if your phone can run Java MIDlets. see Mobile Processing.

1.3.2. How to program GPS using Mobile Processing?

That is going to be a bit too long to fit in here. Check out GpsInMobileProcessing.

1.4. Serial communication

1.4.1. When starting my processing sketch it takes forever to establish serial communication. Whats up?

When starting serial communication, all serial ports of your notebook / PC are queried. Some of them (usually the Bluetooth related ones) are quite slow. Uninstalling these ports or disabling them using the device manager of windows will probably solve the problem. Note: not all serial ports are listed in the "Ports (COM & LPT)" section of the device manager. Some of them could be under e.g. "Modems"...

1.5. Programming AdMoVeo

1.5.1. When running a program I get the error message: gnu.io.PortInUseException: Unknown Application _at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:354)

When you create an instance of the AdMoVeo class in the "void setup" before calling the function "size(x,y)" this error message can appear. To solve this place the line with the "size()" function as first thing in your "void setup".

For example:

   1 void setup{
   2   size(400,400);
   3   admoveo = new AdMoVeo(this, "COM5");
   4 }

You may wonder what the reason is behind this. In the Processing reference it states "Defines the dimension of the display window in units of pixels. The size() function must be the first line in setup().". Apparently size() does not only "size". it has some surprising and mysterious hiden functions. It is also irony to be seen as a bug in user's code if size() is not the first line in setup().

1.5.2. my wireless communication doesn't work

  • The most common problem is that an USB cable is also plugged into your Arduino, at that moment the Xbee will be disabled. Unplugg the USB cable of the Arduino.
  • Choose the right comport in your sketch, the comport for the Xbee isn't the same number as the comport of the Arduino.

1.6. Other Questions

1.6.1. Ah? I don't get it

Alright. Try to read it again. Follow the instruction carefully.

1.6.2. I still don't get it

That is fine. Bring the question to student assistants. The student assistants will help you out, or they will bring your questions to the lecturers.

CreaPro: FrequentlyAskedQuestions (last edited 2011-02-08 22:23:47 by 195-241-239-132)