![]() |
RayComposer Device API Documentation
1.6
Public API for RayComposer laser show DAC interfaces.
|
Start and Stop laser output. Write frames and query buffer status. More...
Typedefs | |
typedef int(RCCALL * | TRCStartOutput )(int) |
typedef int(RCCALL * | TRCStopOutput )(int) |
typedef int(RCCALL * | TRCWaitForReady )(int, int) |
typedef int(RCCALL * | TRCMaxSpeed )(int) |
typedef int(RCCALL * | TRCWriteFrame )(int, const struct RCPoint *, unsigned int, unsigned int, unsigned int) |
Functions | |
int RCAPI | RCStartOutput (int handle) |
Start Laser Output. More... | |
int RCAPI | RCStopOutput (int handle) |
Stop Laser Output. More... | |
int RCAPI | RCWaitForReady (int handle, int timeout) |
Wait for Buffer. More... | |
int RCAPI | RCMaxSpeed (int handle) |
Query maximum sampling rate of the device. More... | |
int RCAPI | RCWriteFrame (int handle, const struct RCPoint *points, unsigned int count, unsigned int speed, unsigned int repeat) |
Write Frame. More... | |
Start and Stop laser output. Write frames and query buffer status.
typedef int(RCCALL * TRCStartOutput)(int) |
Function type definition for RCStartOutput()
typedef int(RCCALL * TRCStopOutput)(int) |
Function type definition for RCStopOutput()
typedef int(RCCALL * TRCWaitForReady)(int, int) |
Function type definition for RCWaitForReady()
typedef int(RCCALL * TRCMaxSpeed)(int) |
Function type definition for RCMaxSpeed()
typedef int(RCCALL * TRCWriteFrame)(int, const struct RCPoint *, unsigned int, unsigned int, unsigned int) |
Function type definition for RCWriteFrame()
int RCAPI RCStartOutput | ( | int | handle | ) |
Start Laser Output.
This function initialises the device and activates the shutter signal.
handle | Device handle as obtained by RCOpenDevice(); |
int RCAPI RCStopOutput | ( | int | handle | ) |
Stop Laser Output.
This function stops the laser output and deactivates the shutter signal.
handle | Device handle as obtained by RCOpenDevice(); |
int RCAPI RCWaitForReady | ( | int | handle, |
int | timeout | ||
) |
Wait for Buffer.
handle | Device handle as obtained by RCOpenDevice(); |
timeout | The maximum time to wait for a buffer to become free in milliseconds. |
If timeOut is is zero, this function does not wait und returns the number of free buffers immediately. If timeOut is negative, this function will wait for a buffer to become free without timing out.
int RCAPI RCMaxSpeed | ( | int | handle | ) |
Query maximum sampling rate of the device.
This function queries the maximum sampling rate of the device in Hz.
handle | Device handle as obtained by RCOpenDevice(int handle); |
int RCAPI RCWriteFrame | ( | int | handle, |
const struct RCPoint * | points, | ||
unsigned int | count, | ||
unsigned int | speed, | ||
unsigned int | repeat | ||
) |
Write Frame.
Write a frame to the device.
handle | Device handle as obtained by RCOpenDevice() |
points | pointer to an array of RCPoint structures containing the vector data; |
count | number of points that should be written |
speed | sampling rate in Hz that should be used for this frame |
repeat | how often this frame should be repeated. If 0, the frame will be repeated continuously until a new frame is written. |