About Data Structure

Data structures describe the data related to a cluster object and are used as the building blocks of value lists. The data structures follow the following example:
Allocation of a Data Structure
To allocate a data structure on the frame, define the structure variable as follows:

struct MyStructType { int topScore;};
void SomeFunc(void)
{ // Frame allocation 
MyStructType myStruct;
// Use the struct 
myStruct.topScore = 297; 
// Reclaimed when exiting scope }

The memory occupied by the structure is reclaimed when it exits the scope.
To allocate data structures on the heap:
Use new to allocate data structures on the heap and delete to free them, as shown by the following example:

// Heap allocation 
MyStructType*
myStruct = new MyStructType;
// Use the structure through the pointer ... 
myStruct->topScore= 297; 
delete myStruct;
Analog input
PT_AIConfig PT_AIScale PT_AIBinaryIn
PT_MAIVoltageIn PT_AIVoltageIn PT_MAIBinaryIn
PT_MAIConfig    
Analog output
PT_AOConfig PT_AOBinaryOut PT_AOVoltageOut
PT_AOScale PT_AOCurrentOut AORANGESET
High-speed functions
PT_EnableEvent PT_CheckEvent PT_FDITransfer
PT_FAICheck PT_FAIIntStart PT_FAIIntScanStart
PT_FAITransfer PT_FAIDmaExStart PT_FAODmaExStart
PT_FAOScale PT_FAOCheck PT_FAOLoad
Counter functions
PT_CounterEventStart PT_CounterEventRead PT_CounterFreqStart
PT_CounterFreqRead PT_CounterPulseStart PT_TimerCountSetting
PT_CounterPWMSetting PT_CounterConfig PT_FreqOutStart
PT_PWMStartRead PT_DICounter  
Port I/O functions
PT_ReadPortByte PT_WritePortByte PT_ReadPortWord
PT_WritePortWord PT_ReadPortDword PT_WritePortDword
Temperature
PT_TCMuxRead
Watchdog functions    
PT_WatchdogStart