Modifier and Type | Interface and Description |
---|---|
static class |
AfuManager.AfuRecordData
This class holds the data returned from
getAfuData(java.lang.String, int) |
static class |
AfuManager.WritingFileMode
This enumeration defines the modes of outputting information to a file
|
Modifier and Type | Method and Description |
---|---|
AfuDataConvertor |
afuDataConvertor()
Contains FFT operations for AFU data .
|
AfuMathOperation |
afuMathOperation()
Contains Math Operations for AFU data .
|
void |
copyRecords(String[] sourceAfuFileNames,
int[] recordIndexes,
String destinationAfuFileName)
Copy multiple AFU Data Records to an AFU file
License requirements: None. |
AfuAbscissaHeaderInfo |
createAfuAbscissaHeaderInfo()
Creates an afu abscissa header information data object
License requirements: None. |
AfuData |
createAfuData(AfuData.AbscissaType abscissaType)
Create an AFU Data Record object with specified axis definition
License requirements: None. |
AfuHeaderId |
createAfuHeaderId()
Create an AFU Header Id object
License requirements: None. |
AfuOrdinateHeaderInfo |
createAfuOrdinateHeaderInfo()
Creates an afu ordindate header information data object
License requirements: None. |
AfuZHeaderInfo |
createAfuZHeaderInfo()
Create an afu Z axis header information data object
License requirements: None. |
void |
createNewAfuFile(String afuFileName)
Create a new empty AFU file
License requirements: None. |
void |
createRecord(AfuData afuData)
Create a new AFU Data Record.
|
String |
createRecord(XyFunctionMacroType macroType,
XyFunctionGeneralType dataType,
AfuData afuData)
Create a new AFU Data Record.
|
void |
deleteAfuFile(String afuFileName)
Delete an AFU file
License requirements: None. |
void |
deleteRecords(String afuFileName,
int[] afuRecordIndexes)
Delete multiple AFU Data Records from an AFU file
License requirements: None. |
void |
editRecord(int afuRecordIndex,
AfuData afuData)
Edit an existing AFU Data Record.
|
String |
editRecord(XyFunctionMacroType macroType,
XyFunctionGeneralType dataType,
int afuRecordIndex,
AfuData afuData)
Edit an existing AFU Data Record.
|
void |
exportAfu(String afuFileName,
int recordIndex,
String exportFileName)
Export an AFU Data Record to a CSV, MAT or DAC file
License requirements: None. |
void |
exportAfuFile(String afuFileName,
String exportFileName)
Export all Data Records of an AFU to a RPCIII file
License requirements: None. |
AfuManager.AfuRecordData |
getAfuData(String afuFileName,
int recordIndex)
Return data from an AFU Data Record
License requirements: None. |
String |
getAfuUnitText(XyFunctionUnit unit)
Return the unit text of AFU data like "mm", "sec" etc.
|
String |
getAfuUnitTypeText(XyFunctionUnit unit)
Return the unit type text of AFU data like "Displacement", "Time" etc.
|
int[] |
getRecordIndexes(String afuFileName)
Return indices of all Data Records in an AFU file
License requirements: None. |
void |
importAfu(String importFileName,
String afuFileName)
Import AFU Data Records from a CSV, MAT, DAC or RPCIII file
License requirements: None. |
void |
listFileInformation(String afuFileName,
boolean listPointData,
String outputFileName,
AfuManager.WritingFileMode mode)
List header information of all AFU Data Records in an AFU file to listing window or a specified output file
License requirements: None. |
void |
listRecordInformation(String afuFileName,
int recordIndex,
boolean listPointData,
String outputFileName,
AfuManager.WritingFileMode mode)
List the AFU Data Record information to listing window or a specified output file
License requirements: None. |
void |
renameRecord(String afuFileName,
int recordIndex,
String newRecordName)
Rename an AFU Data Record
License requirements: None. |
AfuDataConvertor afuDataConvertor() throws RemoteException
RemoteException
AfuMathOperation afuMathOperation() throws RemoteException
RemoteException
String createRecord(XyFunctionMacroType macroType, XyFunctionGeneralType dataType, AfuData afuData) throws NXException, RemoteException
macroType
- Application type of AFU Data Record useddataType
- Usage type of AFU Data Record usedafuData
- Afu data used to create AFU Data RecordNXException
RemoteException
String editRecord(XyFunctionMacroType macroType, XyFunctionGeneralType dataType, int afuRecordIndex, AfuData afuData) throws NXException, RemoteException
macroType
- Application type of AFU Data Record useddataType
- Usage type of AFU Data Record usedafuRecordIndex
- Index of the AFU Data Record in the AFU file. Must begin with 1afuData
- Afu data used to create the AFU Data RecordNXException
RemoteException
void copyRecords(String[] sourceAfuFileNames, int[] recordIndexes, String destinationAfuFileName) throws NXException, RemoteException
sourceAfuFileNames
- List of the AFU Files to be copied (full filenames)recordIndexes
- Indexes of the AFU Data Records to be copied. Each index Must begin with 1destinationAfuFileName
- Destination AFU file (full filename)NXException
RemoteException
void deleteRecords(String afuFileName, int[] afuRecordIndexes) throws NXException, RemoteException
afuFileName
- AFU file full nameafuRecordIndexes
- List of Indexes of data records to be deleted from the AFU file. (Indexes begin with 1)NXException
RemoteException
AfuManager.AfuRecordData getAfuData(String afuFileName, int recordIndex) throws NXException, RemoteException
afuFileName
- AFU filenamerecordIndex
- Index of the AFU Data Record in the AFU file. Must begin with 1NXException
RemoteException
AfuData createAfuData(AfuData.AbscissaType abscissaType) throws NXException, RemoteException
abscissaType
- Abscissa specific data typeNXException
RemoteException
void createNewAfuFile(String afuFileName) throws NXException, RemoteException
afuFileName
- AFU filenameNXException
RemoteException
void deleteAfuFile(String afuFileName) throws NXException, RemoteException
afuFileName
- AFU filenameNXException
RemoteException
void importAfu(String importFileName, String afuFileName) throws NXException, RemoteException
importFileName
- Filename for the file to be importedafuFileName
- AFU Filename to import data intoNXException
RemoteException
void exportAfu(String afuFileName, int recordIndex, String exportFileName) throws NXException, RemoteException
afuFileName
- AFU filenamerecordIndex
- Index of the AFU Data Record to be exportedexportFileName
- Name of destination file to which AFU Data Record is exportedNXException
RemoteException
void renameRecord(String afuFileName, int recordIndex, String newRecordName) throws NXException, RemoteException
afuFileName
- AFU FilenamerecordIndex
- Index of the AFU Data Record in the AFU file. Must begin with 1.newRecordName
- New Data Record nameNXException
RemoteException
int[] getRecordIndexes(String afuFileName) throws NXException, RemoteException
afuFileName
- AFU FilenameNXException
RemoteException
void listRecordInformation(String afuFileName, int recordIndex, boolean listPointData, String outputFileName, AfuManager.WritingFileMode mode) throws NXException, RemoteException
afuFileName
- AFU FilenamerecordIndex
- Index of the AFU Data Record to be listedlistPointData
- List control flag. If true, the record XY data will be listed. Otherwise only AFU header information is listed.outputFileName
- Output file to which the record information is written. If NULL, the information is only output to the listing window.mode
- Overwrite or Append Output Mode for file output. Only valid when output file name is not NULL.NXException
RemoteException
void listFileInformation(String afuFileName, boolean listPointData, String outputFileName, AfuManager.WritingFileMode mode) throws NXException, RemoteException
afuFileName
- AFU filenamelistPointData
- List Control Flag. If true, the record XY data will be listed. Otherwise only AFU header information is listed.outputFileName
- Output file to which the record information is written. If NULL, the information is only output to the listing windowmode
- Overwrite or Append Output Mode for file output. Only valid when output file name is not NULL.NXException
RemoteException
void exportAfuFile(String afuFileName, String exportFileName) throws NXException, RemoteException
afuFileName
- AFU filenameexportFileName
- Name of destination file to which AFU Data Record is exportedNXException
RemoteException
void createRecord(AfuData afuData) throws NXException, RemoteException
AfuData.setFunctionDataType(nxopen.cae.XyFunctionDataType)
.
Timestamp is NOT outputted.
afuData
- Afu data used to create AFU Data RecordNXException
RemoteException
void editRecord(int afuRecordIndex, AfuData afuData) throws NXException, RemoteException
AfuData.setFunctionDataType(nxopen.cae.XyFunctionDataType)
.
Timestamp is NOT outputted.
afuRecordIndex
- Index of the AFU Data Record in the AFU file. Must begin with 1afuData
- Afu data used to create the AFU Data RecordNXException
RemoteException
AfuHeaderId createAfuHeaderId() throws NXException, RemoteException
NXException
RemoteException
String getAfuUnitTypeText(XyFunctionUnit unit) throws NXException, RemoteException
unit
- Unit Code of AFU dataNXException
RemoteException
String getAfuUnitText(XyFunctionUnit unit) throws NXException, RemoteException
unit
- Unit Code of AFU dataNXException
RemoteException
AfuAbscissaHeaderInfo createAfuAbscissaHeaderInfo() throws NXException, RemoteException
AfuAbscissaHeaderInfo
to be createdNXException
RemoteException
AfuOrdinateHeaderInfo createAfuOrdinateHeaderInfo() throws NXException, RemoteException
AfuOrdinateHeaderInfo
to be createdNXException
RemoteException
AfuZHeaderInfo createAfuZHeaderInfo() throws NXException, RemoteException
AfuZHeaderInfo
to be createdNXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.