[Stk] BeeThree Tutorial

Dan Riley dpriley@ucla.edu
Fri, 7 Feb 2003 19:40:53 -0800


This is a multi-part message in MIME format.

------=_NextPart_000_0021_01C2CEE0.D3431420
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi, I'm new to the Stk and just trying to get my bearings. I'm trying =
the BeeThree tutorial, and I keep getting  a crash when I try to =
allocate the BeeThree instrument. I have this code:

Instrmnt *instrument;
RtWvOut *output;
MY_FLOAT frequency, amplitude, scaler;
long counter, i;

// Define and load the BeeThree instrument
instrument =3D new BeeThree();

and it crashes when it tries to allocate this. Any easy reason why?

Dan

------=_NextPart_000_0021_01C2CEE0.D3431420
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Hi, I'm new to the Stk and just trying =
to get my=20
bearings. I'm trying the BeeThree tutorial, and I keep getting&nbsp; a =
crash=20
when I try to allocate the BeeThree instrument. I have this =
code:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Instrmnt *instrument;<BR>RtWvOut=20
*output;<BR>MY_FLOAT frequency, amplitude, scaler;<BR>long counter,=20
i;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>// Define and load the BeeThree=20
instrument<BR>instrument =3D new BeeThree();</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and it crashes when it tries to =
allocate this. Any=20
easy reason why?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dan</FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_0021_01C2CEE0.D3431420--