void |
ADwinDevice.Boot(byte[] File,
String Filename) |
|
void |
ADwinDevice.Boot(String Filename) |
Boots an ADwin system and loads an operating system.
|
void |
ADwinDevice.Boot(URL btl) |
|
void |
ADwinDevice.Clear_Process(int ProcessNo) |
Deletes a process and frees all resources that were allocated by it.
|
int |
ADwinDevice.Data_Length(int DataNo) |
Reads the length of a data field.
|
int |
ADwinDevice.Data_Type(int DataNo) |
Delivers the type of a data
|
void |
ADwinDevice.Data2File(String Filename,
int DataNo,
int Startindex,
int Count,
int Mode) |
Reads a data field and stores or appends it to a file.
|
void |
ADwinDevice.Fifo_Clear(int FifoNo) |
Removes all values from a fifo that have been written to it.
|
int |
ADwinDevice.Fifo_Empty(int FifoNo) |
Reads the number of free elements in a fifo.
|
int |
ADwinDevice.Fifo_Full(int FifoNo) |
Reads the number of elements that have been written to a fifo, and have
not been read yet.
|
void |
ADwinDevice.File2Data(String Filename,
int DataType,
int DataNo,
int Startindex) |
File2Data copies values from a file (on the hard disk) into a DATA array
of the ADwin system.
|
int |
ADwinDevice.Free_Mem(int Mem_Spec) |
Returns the amount of free RAM of an ADwin system in bytes.
|
float |
ADwinDevice.Get_FPar(int Index) |
Reads a float parameter from the ADwin system.
|
void |
ADwinDevice.Get_FPar_All(float[] Array) |
Reads all float parameters into an array.
|
void |
ADwinDevice.Get_FPar_All(float[] Array,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads all float parameters into an array.
|
void |
ADwinDevice.Get_FPar_All_Double(double[] Array) |
Reads all double parameters into an array.
|
void |
ADwinDevice.Get_FPar_All_Double(double[] Array,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads all double parameters into an array.
|
void |
ADwinDevice.Get_FPar_Block(float[] Array,
int FirstIndex,
int Count) |
Reads a block of float parameters.
|
void |
ADwinDevice.Get_FPar_Block(float[] Array,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads a block of float parameters.
|
void |
ADwinDevice.Get_FPar_Block_Double(double[] Array,
int FirstIndex,
int Count) |
Reads a block of double parameters.
|
void |
ADwinDevice.Get_FPar_Block_Double(double[] Array,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads a block of double parameters.
|
double |
ADwinDevice.Get_FPar_Double(int Index) |
Reads a double parameter from the ADwin system.
|
int |
ADwinDevice.Get_Globaldelay(int ProcessNo) |
Deprecated.
|
int |
ADwinDevice.Get_Par(int Index) |
Reads an integer parameter from the ADwin system.
|
void |
ADwinDevice.Get_Par_All(int[] Array) |
Reads all integer parameters into an array.
|
void |
ADwinDevice.Get_Par_All(int[] Array,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads all integer parameters into an array.
|
void |
ADwinDevice.Get_Par_Block(int[] Array,
int FirstIndex,
int Count) |
Reads a block of integer parameters.
|
void |
ADwinDevice.Get_Par_Block(int[] Array,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads a block of integer parameters.
|
int |
ADwinDevice.Get_Processdelay(int ProcessNo) |
Gets the process delay of a process.
|
void |
ADwinDevice.GetData_Double(int DataNo,
double[] Data,
int FirstIndex,
int Count) |
Reads a part of a double data field.
|
void |
ADwinDevice.GetData_Double(int DataNo,
double[] Data,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads a part of a double data field.
|
void |
ADwinDevice.GetData_Float(int DataNo,
float[] Data,
int FirstIndex,
int Count) |
Reads a part of a float data field.
|
void |
ADwinDevice.GetData_Float(int DataNo,
float[] Data,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads a part of a float data field.
|
void |
ADwinDevice.GetData_Int(int DataNo,
int[] Data,
int FirstIndex,
int Count) |
Reads a part of an integer data field.
|
void |
ADwinDevice.GetData_Long(int DataNo,
int[] Data,
int FirstIndex,
int Count) |
Deprecated.
|
void |
ADwinDevice.GetData_Long(int DataNo,
int[] Data,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Deprecated.
|
void |
ADwinDevice.GetData_Long(int DataNo,
long[] Data,
int FirstIndex,
int Count) |
|
void |
ADwinDevice.GetData_Long(int DataNo,
long[] Data,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Reads a part of a long data field.
|
void |
ADwinDevice.GetData_Packed(int DataNo,
int[] Data,
int FirstIndex,
int Count) |
|
String |
ADwinDevice.GetData_String(int DataNo) |
Reads a string data field.
|
int |
ADwinDevice.GetData_String(int DataNo,
char[] Data,
int MaxCount) |
reads a string data field in a char Array.
|
void |
ADwinDevice.GetFifo_Double(int FifoNo,
double[] Data,
int Count) |
Reads some doubles from a fifo.
|
void |
ADwinDevice.GetFifo_Float(int FifoNo,
float[] Data,
int Count) |
Reads some floats from a fifo.
|
void |
ADwinDevice.GetFifo_Long(int FifoNo,
int[] Data,
int Count) |
Reads some integers from a fifo.
|
void |
ADwinDevice.GetFifo_Packed(int FifoNo,
int[] Data,
int Count) |
|
void |
ADwinDevice.Load_Process(byte[] file,
String fileName) |
|
void |
ADwinDevice.Load_Process(String Filename) |
Loads a process (a file of the form <ffff>.T<p><n>,
with ffff = some file name, p = Processor, n = process number) onto an
ADwin system.
|
void |
ADwinDevice.Load_Process(URL process) |
|
int |
ADwinDevice.Process_Status(int ProcessNo) |
Gets the information if a process is running. Return values:
1
Process is running
0
Process is not running.
|
int |
ADwinDevice.Processor_Type() |
Returns the processor that is installed on the current ADwin system.
|
void |
ADwinDevice.Set_DeviceNo(int DevNo) |
Chooses a device from the device table to work with.
Code that an ADwinCommunicationError possibly will contain:
4000, 2000
|
void |
ADwinDevice.Set_FPar(int Index,
float Value) |
Sets a float parameter.
|
void |
ADwinDevice.Set_FPar_Double(int Index,
double Value) |
Sets a double parameter.
|
void |
ADwinDevice.Set_Globaldelay(int ProcessNo,
int Globaldelay) |
Deprecated.
|
void |
ADwinDevice.Set_Par(int Index,
int Value) |
Sets one of the integer parameters.
|
void |
ADwinDevice.Set_Processdelay(int ProcessNo,
int Processdelay) |
Sets the process delay of a process.
|
void |
ADwinDevice.SetData_Double(int DataNo,
double[] Data,
int FirstIndex,
int Count) |
Sets a part of a double data field.
|
void |
ADwinDevice.SetData_Double(int DataNo,
double[] Data,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Sets a part of a double data field.
|
void |
ADwinDevice.SetData_Float(int DataNo,
float[] Data,
int FirstIndex,
int Count) |
Sets a part of a float data field.
|
void |
ADwinDevice.SetData_Float(int DataNo,
float[] Data,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Sets a part of a float data field.
|
void |
ADwinDevice.SetData_Long(int DataNo,
int[] Data,
int FirstIndex,
int Count) |
Sets a part of an integer data field.
|
void |
ADwinDevice.SetData_Long(int DataNo,
int[] Data,
int FirstIndex,
int Count,
ADwinDevice.first_pcarray_index_t FirstArrayIndex) |
Sets a part of an integer data field.
|
void |
ADwinDevice.SetData_Long(int DataNo,
long[] Data,
int FirstIndex,
int Count) |
Sets a part of a long (int64) data field.
|
void |
ADwinDevice.SetData_String(int DataNo,
String Data) |
Writes a string into a string data field.
|
void |
ADwinDevice.SetFifo_Double(int FifoNo,
double[] Data,
int Count) |
Writes some doubles into a fifo.
|
void |
ADwinDevice.SetFifo_Float(int FifoNo,
float[] Data,
int Count) |
Writes some floats into a fifo.
|
void |
ADwinDevice.SetFifo_Long(int FifoNo,
int[] Data,
int Count) |
Writes some integers into a fifo.
|
void |
ADwinDevice.Start_Process(int ProcessNo) |
Starts a process that has been loaded previously with
Load_Process .
|
void |
ADwinDevice.Stop_Process(int ProcessNo) |
Stops a process.
|
int |
ADwinDevice.String_Length(int DataNo) |
Determines the length of a string.
|
int |
ADwinDevice.Test_Version() |
Tests if an ADwin system is accessible.
|
void |
ADwinDevice.Use_FileLocks(boolean Usage) |
Controls if files are created on the hard disk (in the temporary
directory) to synchronize the access on an ADwin-System (With AEI
Versions < 2.52 and AEI Versions between 2.6 and 2.64, this is
necessary).
If true is passed for Usage , multiple Java
processes running on the same machine can acces the same ADwin-System at
the same time, even if an older version is used.
|
int |
ADwinDevice.Workload() |
Returns the CPU load of an ADwin system.
|