(*^ ::[ frontEndVersion = "Microsoft Windows Mathematica Notebook Front End Version 2.2"; microsoftWindowsStandardFontEncoding; fontset = title, "Times", 24, L0, center, nohscroll, bold; fontset = subtitle, "Times", 18, L0, center, nohscroll, bold; fontset = subsubtitle, "Times", 17, L0, center, nohscroll, italic; fontset = section, "Times", 18, L0, nohscroll, bold, grayBox; fontset = subsection, "Times", 14, L0, nohscroll, bold, blackBox; fontset = subsubsection, "Times", 13, L0, nohscroll, B32896; fontset = text, "Times", 12, L0, nohscroll, cellOutline; fontset = smalltext, "Times", 10, L0, nohscroll; fontset = input, "Courier", 12, L-4, nowordwrap, bold; fontset = output, "Courier", 12, L-4, nowordwrap; fontset = message, "Courier", 12, L-4, nowordwrap, R32896; fontset = print, "Courier", 12, L-4, nowordwrap; fontset = info, "Courier", 12, L-4, nowordwrap, B32896; fontset = postscript, "Courier", 12, L0, nowordwrap; fontset = name, "Geneva", 10, L0, nohscroll, italic; fontset = header, "Times", 12, L0; fontset = footer, "Times", 12, L0, center; fontset = help, "Times", 10, L0, nohscroll; fontset = clipboard, "Times", 12, L0, nohscroll; fontset = completions, "Times", 12, L0, nohscroll; fontset = graphics, "Courier New", 10, L0, nowordwrap, nohscroll; fontset = special1, "Times", 12, L0, nohscroll; fontset = special2, "Times", 12, L0, nohscroll; fontset = special3, "Times", 12, L0, nohscroll; fontset = special4, "Times", 12, L0, nohscroll; fontset = special5, "Times", 12, L0, nohscroll; fontset = leftheader, "Times", 12, L2; fontset = leftfooter, "Times", 12, L2; fontset = reserved1, "Courier New", 10, L0, nowordwrap, nohscroll;] :[font = title; inactive; preserveAspect; nohscroll; center; ] MathLive Professional Trouble Shooting :[font = subsubtitle; inactive; preserveAspect; startGroup; Cclosed; nohscroll; center; ] Control commands, starting and stopping :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If MathLive fails to Launch or to Connect :[font = input; inactive; preserveAspect; startGroup; nowordwrap; ] LaunchLive["", LinkProtocol->Automatic] :[font = message; inactive; preserveAspect; nowordwrap; ] Live::FailedOpen: MathLink launch Ò':Packages:MathLive:MathLive Professional'Ó failed :[font = output; inactive; formatted; output; preserveAspect; endGroup; nowordwrap; ] $Failed ;[o] $Failed :[font = input; inactive; preserveAspect; nowordwrap; ] or :[font = input; inactive; preserveAspect; startGroup; nowordwrap; ] ConnectLive[] :[font = message; inactive; preserveAspect; nowordwrap; ] Live::FailedOpen: MathLink connection to ÒMathLive ProfessionalÓ failed :[font = output; inactive; formatted; output; preserveAspect; endGroup; nowordwrap; ] $Failed ;[o] $Failed :[font = subsection; inactive; preserveAspect; startGroup; nohscroll; ] Possible causes :[font = subsubsection; inactive; preserveAspect; nohscroll; ] There is not enough memory to launch the application. Check the available free memory. On Macintosh systems, MathLive cannot start if the free memory size is less than the minimum memory partition set for MathLive. Under Windows, there is no minimum memory partition size and if MathLive has failed you need to either increase the virtual memory settings on your system (under Control Panels, 386Enhanced) or close other running programs. On Macintosh systems open the Finder About box to see the current memory usage. If the amount of free memory is too small, either turn on or increase the virtual memory settings (under Control Panels, Memory) or alternatively close down one or more running applications. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] The program is already running (Macintosh only). Check that MathLive has not been started manually. If it has, either quit MathLive and re-launch using LaunchLive, or establish a link to MathLive using ConnectLive. Currently MathLive cannot establish a second mathlink connection. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] It couldn't find the program. In order to find and launch MathLive successfully, MathLive Professional should have been placed in the Packages:MathLive directory. Check that it has not been deleted or removed. If so, replace it. Alternatively, make sure that $LivePath has been set so as to point to your current copy of MathLive Professional. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] MathLinkLib has not been installed in the System:Extensions folder (Power Macintosh only). Move the copy of MathLinkLib to the extension folder and restart your system. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] You are running an old version of MathLink. MathLive requires Mathematica 2.2.x or later to make mathlink connections successfully. You can get a copy of the latest version of MathLink from Wolfram directly. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] The pipes need resetting. It is possible that the connection protocols are broken. The only solution is to restart your system. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] You cannot launch applications via TCP. In the case of Macintosh systems, use ConnectLive to establish the TCP connection to a copy of Live that is already running. If you are running Mathematica and MathLive Professional under Windows 95 please refer to the notes below. :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] MathLive is not installed correctly. MathLive should have been installed in your Mathematica packages directory. If it has been, perhaps one or more files have been damaged, try re-installing MathLive. :[font = subsection; inactive; preserveAspect; startGroup; nohscroll; ] General connection notes :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] Check the "About MathLive" box in MathLive. This dialog box will show the current status of the link between Mathematica and MathLive. Note that the information refers to the state of the link as MathLive sees it. Use Links in Mathematica to determine the state of the link as Mathematica sees it. :[font = subsection; inactive; preserveAspect; startGroup; nohscroll; ] Mathlink and Windows 95 notes :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] Please refer to the latest technical release notes at :[font = input; preserveAspect; endGroup; endGroup; endGroup; nowordwrap; ] http://www.milohedge.com/mathlive/technical.html :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If CloseLive fails :[font = subsubsection; inactive; preserveAspect; nohscroll; ] CloseLive sends a termination signal to MathLive with instructions to quit. It is possible that the kernel will be unable to send this message if the link has already died. Instead, the kernel will hang and refuse to continue. To force the kernel to close the link, without attempting to terminate MathLive remotely, do the following : :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; backColorRed = 65535; backColorGreen = 65535; backColorBlue = 65535; fontColorRed = 0; fontColorGreen = 0; fontColorBlue = 0; plain; fontName = "Times"; fontSize = 13; ] Go to the kernel and interrupt the current computation. On the Mac this means hitting Command '.', under Windows hit Ctrl 'C'. Return to the front end and type the following command. This will close the link. :[font = input; preserveAspect; endGroup; nowordwrap; ] CloseLive[QuitLive -> False] :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] Terminate MathLive manually. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If MathLive hangs or terminates suddenly :[font = subsection; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] Possible causes :[font = subsubsection; inactive; preserveAspect; endGroup; endGroup; nohscroll; ] MathLive has run out of memory. This is possible if MathLive is trying to load a large model or many objects have been created or destroyed in which the case the memory may have become badly fragmented. For the latter, restart MathLive. On Macintosh systems, the amount of memory that MathLive is using can be monitored using the Finder's about box. If it is apparent that MathLive has reached it's maximum memory allocation increase the partition size and restart MathLive. Under Windows systems, close one or more running applications and restart MathLive. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If the kernel fails to start :[font = subsubsection; inactive; preserveAspect; nohscroll; ] There is no free contiguous memory. Close down other running applications. If this fails you may need to restart your system. You may also wish to consider turning on or increasing your virtual memory settings. :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] The pipes need resetting. It is possible that the connection protocols are broken. The only solution is to restart your system. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If SetDisplay or other commands do not appear to work :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] You have not installed or executed the MathLive package. You will need to type the following : :[font = input; preserveAspect; endGroup; nowordwrap; ] Needs["`MathLive`MathLive`"] :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] You are using your own previously written LinkWrite commands. These do work with MathLive Professional, use the package Live command instead. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] Using a remote kernel with MathLive :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] You will need to copy the MathLive.m package to the Kernel Machine. We suggest you create a folder called MathLive in the Kernel Packages folder and place MathLive.m in there. MathLive.m should be transferred as a simple ascii or text file. Doing this will allow you to load the MathLive definitions into the remote Kernel using :[font = input; preserveAspect; endGroup; nowordwrap; ] Needs["MathLive`MathLive`"]; :[font = subsubsection; inactive; preserveAspect; nohscroll; ] For clarity, we shall call the local display machine as "Front.edu" and the Kernel machine as "Remote.edu" Start MathLive on your local front end machine and edit the preferences dialog box. Select the "Remote Kernel" button and the required mathlink protocols (see below). You will need to change Remote.edu to the name of your Kernel machine. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] -mathlink -linkprotocol tcp -linkname "1876" -linkhost "Remote.edu" -linkmode listen :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] For TCP connections, the linkname is typically a unique four figureinteger. Close the preferences dialog box and restart MathLive. Changes made to the link parameters will not come into effect until MathLive is restarted. In your startup sequence, include the following :[font = input; preserveAspect; endGroup; nowordwrap; ] (*Change Front.edu to your front-end machine- but keep the 1876 *) Needs["MathLive`MathLive`"]; (* Load the Package first *) $LiveConnectName = "1876@Front.edu"; SetOptions[ StartLive , LinkProtocol->"TCP" , LinkMode -> Connect ]; (* If QuitLive->True dosent kill your Kernel then you can leave the following out *) SetOptions [CloseLive, QuitLive-> False]; :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] The 1876 is arbritrary. If this is already taken choose another number. Remember that you will need to restart MathLive for changes to take effect. Restart MathLive. Use MathLive's about box to check that it is listening on something similar to "1876@Front.edu" then type :[font = input; preserveAspect; endGroup; nowordwrap; ] ConnectLive[] :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] If the connection is successful you will see a message similar to the following appear in your notebook :[font = print; inactive; preserveAspect; endGroup; nowordwrap; ] Connected to MathLive Professional for Power Macintosh 1.0 (April 14, 1996) :[font = subsubsection; inactive; preserveAspect; endGroup; endGroup; nohscroll; ] If you are feeling brave you could make these changes directly in the MathLive.m notebook but remember that you will need to do this again when a new MathLive.m notebook is published. :[font = subsubtitle; inactive; preserveAspect; startGroup; Cclosed; nohscroll; center; ] MathLive display troubleshooting :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If lines appear 'blotchy' :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] Thin lines in MathLive Professional become indistinct as you move the camera further from them. Increase the default line size in the MathLive preferences, or change the thickness you are using in Mathematica. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If quicktime movies jump when replaying (mac) :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] The movie record facilties in MathLive are fairly basic at this stage and QuickTime movies will drop frames if the replay rate is too slow. This problem is most apparent when Virtual Memory is turned on. The Mathematica player compensates and will not drop frames. Alternatively, it is possible to use Mathematica to convert the movie into a more appropriate format. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If nothing is visible in MathLive :[font = subsubsection; inactive; preserveAspect; nohscroll; ] The Camera is no longer looking at the model. Rotate the camera to find the model. :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] The Camera icon and model bounding box have both been turned off. Use the MathLive preferences dialog box to turn them on, or alternatively type the following in Mathematica : :[font = input; preserveAspect; nowordwrap; ] Live[ Change[ Camera["Camera"] , Visible -> On ]]; :[font = input; preserveAspect; endGroup; endGroup; nowordwrap; ] Live[ Change[ Model3D["Default`"] , BoundingBox -> On ]]; :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If objects appear too small :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] The ModelRange has been set to large values previously. Set the ModelRange explicitly, or alternatively, destroy the model before creating any new objects. You might also consider scaling the object or moving the camera closer. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If moving the model seems to have no effect. :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] The Camera is a child of a model; attempts to move the model will mean that the camera moves in sync, thus appearing not to move at all. Set the Camera's parent to None using the following : :[font = input; preserveAspect; endGroup; endGroup; nowordwrap; ] Live[ Change[ Camera["Camera"] , Parent -> None ]] :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If objects rotate strangely or appear distorted :[font = subsubsection; inactive; preserveAspect; nohscroll; ] For the first object created in the model the ModelRange does not need to be the same in each direction. However if you wish to include more than one object in a model it is important that the model range has the same linear spread in each direction. Set the model range to the same spread. This will not be a problem if the model range has not been changed explicitly. :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] The default point of rotation has been changed in MathLive's Preferences. Open the Preferences menu item (under Edit) or explicity set the point of rotation in Mathematica when building complex models. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If objects appear to move or scale by an incorrect amount :[font = subsubsection; inactive; preserveAspect; nohscroll; backColorRed = 65535; backColorGreen = 65535; backColorBlue = 65535; fontColorRed = 0; fontColorGreen = 0; fontColorBlue = 0; plain; fontName = "Times"; fontSize = 13; ] Note that object movements is governed by the current model range. Please refer to both tutorials for further details and examples. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] The mode scale has been changed. Take account of this in your calculations. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] The Camera is a child of a model. Refer to the note "If moving the model appears to have no effect". :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] The default point of rotation has been changed in MathLive's Preferences. Open the Preferences menu item (under Edit) or explicity set the point of rotation in Mathematica when building complex models. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If objects or textures do not load :[font = subsubsection; inactive; preserveAspect; nohscroll; ] The file you have tried to load is incompatible with MathLive. MathLive model files are ASCII meshes. This is a proprietary format, see the enclosed ASCII mesh documentation for further details. MathLive textures are either SUN Raster Image format files, extension .ras or alternatively Windows bitmap files, extension .bmp. Trying to load textures in the File menu, or meshes under the Texture, Open menu will result in an error. Please note that 3-Script files are no longer supported under MathLive Professional. :[font = subsubsection; inactive; preserveAspect; endGroup; nohscroll; ] MathLive has run out of memory. This is possible if MathLive is trying to load a large model or many objects have been created or destroyed in which the case the memory may have become badly fragmented. For the latter, restart MathLive. On Macintosh systems, the amount of memory that MathLive is using can be monitored using the Finder's about box. If it is apparent that MathLive has reached it's maximum memory allocation increase the partition size and restart MathLive. Under Windows systems, close one or more running applications and restart MathLive. :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If graphics cannot be sent to MathLive :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] The MathLive package has not been loaded. Load the MathLive package with the following command : :[font = input; preserveAspect; endGroup; nowordwrap; ] Needs["`MathLive`MathLive`"] :[font = subsubsection; inactive; preserveAspect; nohscroll; ] You have not launched or connected to MathLive. See the notes under 'Control Commands, starting and stopping' for further information. :[font = subsubsection; inactive; preserveAspect; nohscroll; ] You have not sent 3D data to MathLive. MathLive only understands 3D graphics. Sending 2D objects to MathLive will produce a series of error messages as MathLive tries unsuccessfully to interpret the data. :[font = subsubsection; inactive; preserveAspect; startGroup; nohscroll; ] Sending a list of 3D graphics to MathLive produces an error. A list of 3D graphics objects will be interpreted as an animation sequence and will not be executed correctly. Use the following instead to combine the graphics objects into a single graphic object : :[font = input; preserveAspect; endGroup; endGroup; nowordwrap; ] Live[ Show[ myGraphics , DisplayFunction-> Identity ] ]; :[font = section; inactive; preserveAspect; startGroup; Cclosed; nohscroll; ] If MathLive and or Mathematica has strange colors :[font = subsubsection; inactive; preserveAspect; endGroup; endGroup; nohscroll; ] Your system is operating with 256 colors. If possible set your monitor setting to thousands or millions of colors. If this is not possible, set the 'Requested number of palette colors' in Mathematica's Colors... item (under the File menu) to none. To make this the default mode open the notebook called 'Normal' in the folder called 'Defaults'. Set 'Requested number of colors' to none. Select Save (under the File menu) and restart Mathematica. In 256 color mode it is not possible to make MathLive's background color pure white and gray levels will appear the same. :[font = section; inactive; preserveAspect; startGroup; nohscroll; backColorRed = 65535; backColorGreen = 65535; backColorBlue = 65535; fontColorRed = 0; fontColorGreen = 0; fontColorBlue = 0; bold; fontName = "Times"; fontSize = 18; ] If all else fails... :[font = subsection; inactive; preserveAspect; nohscroll; backColorRed = 65535; backColorGreen = 65535; backColorBlue = 65535; fontColorRed = 0; fontColorGreen = 0; fontColorBlue = 0; bold; fontName = "Times"; fontSize = 14; ] Technical support is on .... :[font = text; inactive; preserveAspect; endGroup; nohscroll; cellOutline; backColorRed = 65535; backColorGreen = 65535; backColorBlue = 65535; fontColorRed = 0; fontColorGreen = 0; fontColorBlue = 0; plain; fontName = "Times"; fontSize = 12; ] Email: support@milohedge.com Post: Milo Hedge Ltd, The Oxford Centre for Innovation, Mill Street, Oxford, OX2 0JX WWW: http://www.milohedge.com/mathlive/ ^*)