				plaserimage = &laserimage;

				radius = (double)(short)(MAX_DAC / 2);  

				for (theta = 0; theta<360; theta++){

					/* convert angles to radians & factor in lissajous ratio */
					xtheta = theta * cmdbuf.subcmd1 * RAD_PER_DEG;
					ytheta = theta * cmdbuf.subcmd2 * RAD_PER_DEG;

					n = theta;		
					plaserimage->full_scale_image[n][XPOS] =
						(u_short)(DAC_ZERO + (radius * cos(xtheta))); 
					plaserimage->full_scale_image[n][YPOS] =
						(u_short)(DAC_ZERO + (radius * sin(ytheta))); 
				}

				/* set defaults in output struc */
				plaserimage->image_length = 360;
				plaserimage->x_scale_factor = 1.0;
				plaserimage->y_scale_factor = 1.0;
				plaserimage->draw_rate = 2;
				plaserimage->rotate_rate = 0;
				plaserimage->use_full_scale = TRUE;

				/* trigger output routine to start drawing this pattern */
				/* for now, call a routine in dac.c to draw pattern */
				start_dac_int();
				laser_on();
				break;
			}
