RaceCapturePro Lua Scripting: Difference between revisions

(initial version)
 
(added some formatting)
Line 1: Line 1:
==Scripting functions for RaceCapture/Pro==
==Scripting functions for RaceCapture/Pro==


getGpio
===getGpio===
setGpio
===setGpio===
getButton
===getButton===


isSDCardPresent
===isSDCardPresent===
isSDCardWritable
===isSDCardWritable===


setPWMDutyCycle
===setPWMDutyCycle===
setPWMDutyCycleRaw
===setPWMDutyCycleRaw===
setPwmPeriod
===setPwmPeriod===
setPwmPeriodRaw
===setPwmPeriodRaw===
setAnalogOut
===setAnalogOut===


getTimerRpm
===getTimerRpm===
getTimerPeriodMs
===getTimerPeriodMs===
getTimerPeriodUsec
===getTimerPeriodUsec===
getTimerFrequency
===getTimerFrequency===
getTimerRaw
===getTimerRaw===


resetTimerCount
===resetTimerCount===
getTimerCount
===getTimerCount===
getAnalog
===getAnalog===
getAnalogRaw
===getAnalogRaw===


readSerial
===readSerial===
writeSerial
===writeSerial===


getGpsLatitude
===getGpsLatitude===
getGpsLongitude
===getGpsLongitude===
getGpsSpeed
===getGpsSpeed===
getGpsQuality
===getGpsQuality===
getGpsTime
===getGpsTime===
getLapCount
===getLapCount===
getLapTime
===getLapTime===
getGpsSec
===getGpsSec===
getAtStartFinish
===getAtStartFinish===


getTimeDiff
===getTimeDiff===
getTimeSince
===getTimeSince===
getAccel
===getAccel===
getAccelRaw
===getAccelRaw===
startLogging
===startLogging===
stopLogging
===stopLogging===


setLed
===setLed===


flashLoggerConfig
===flashLoggerConfig===


setAnalogSampleRate
===setAnalogSampleRate===
getAnalogSampleRate
===getAnalogSampleRate===
setAnalogScaling
===setAnalogScaling===
getAnalogScaling
===getAnalogScaling===
setPwmClockFrequency
===setPwmClockFrequency===
getPwmClockFrequency
===getPwmClockFrequency===
setPwmSampleRate
===setPwmSampleRate===
getPwmSampleRate
===getPwmSampleRate===
setPwmOutputConfig
===setPwmOutputConfig===
getPwmOutputConfig
===getPwmOutputConfig===
setPwmLoggingConfig
===setPwmLoggingConfig===
getPwmLoggingConfig
===getPwmLoggingConfig===
setPwmStartupDutyCycle
===setPwmStartupDutyCycle===
getPwmStartupDutyCycle
===getPwmStartupDutyCycle===
setPwmStartupPeriod
===setPwmStartupPeriod===
getPwmStartupPeriod
===getPwmStartupPeriod===
setPwmVoltageScaling
===setPwmVoltageScaling===
getPwmVoltageScaling
===getPwmVoltageScaling===
setGpsInstalled
===setGpsInstalled===
getGpsInstalled
===getGpsInstalled===
setGpsStartFinish
===setGpsStartFinish===
getGpsStartFinish
===getGpsStartFinish===
setGpsPositionSampleRate
===setGpsPositionSampleRate===
getGpsPositionSampleRate
===getGpsPositionSampleRate===
setGpsSpeedSampleRate
===setGpsSpeedSampleRate===
getGpsSpeedSampleRate
===getGpsSpeedSampleRate===
setGpsTimeSampleRate
===setGpsTimeSampleRate===
getGpsTimeSampleRate
===getGpsTimeSampleRate===


setLapCountSampleRate
===setLapCountSampleRate===
getLapCountSampleRate
===getLapCountSampleRate===


setLapTimeSampleRate
===setLapTimeSampleRate===
getLapTimeSampleRate
===getLapTimeSampleRate===
setGpioSampleRate
===setGpioSampleRate===
getGpioSampleRate
===getGpioSampleRate===
setGpioConfig
===setGpioConfig===
getGpioConfig
===getGpioConfig===
setTimerSampleRate
===setTimerSampleRate===
getTimerSampleRate
===getTimerSampleRate===
setTimerConfig
===setTimerConfig===
getTimerConfig
===getTimerConfig===
setTimerPulsePerRevolution
===setTimerPulsePerRevolution===
getTimerPulsePerRevolution
===getTimerPulsePerRevolution===
setTimerDivider
===setTimerDivider===
getTimerDivider
===getTimerDivider===
calculateTimerScaling
===calculateTimerScaling===
getTimerScaling
===getTimerScaling===
setAccelInstalled
===setAccelInstalled===
getAccelInstalled
===getAccelInstalled===
setAccelSampleRate
===setAccelSampleRate===
getAccelSampleRate
===getAccelSampleRate===
setAccelConfig
===setAccelConfig===
getAccelConfig
===getAccelConfig===
setAccelChannel
===setAccelChannel===
getAccelChannel
===getAccelChannel===
setAccelZeroValue
===setAccelZeroValue===
getAccelZeroValue
===getAccelZeroValue===


calibrateAccelZero
===calibrateAccelZero===

Revision as of 04:02, 6 March 2013

Scripting functions for RaceCapture/Pro

getGpio

setGpio

getButton

isSDCardPresent

isSDCardWritable

setPWMDutyCycle

setPWMDutyCycleRaw

setPwmPeriod

setPwmPeriodRaw

setAnalogOut

getTimerRpm

getTimerPeriodMs

getTimerPeriodUsec

getTimerFrequency

getTimerRaw

resetTimerCount

getTimerCount

getAnalog

getAnalogRaw

readSerial

writeSerial

getGpsLatitude

getGpsLongitude

getGpsSpeed

getGpsQuality

getGpsTime

getLapCount

getLapTime

getGpsSec

getAtStartFinish

getTimeDiff

getTimeSince

getAccel

getAccelRaw

startLogging

stopLogging

setLed

flashLoggerConfig

setAnalogSampleRate

getAnalogSampleRate

setAnalogScaling

getAnalogScaling

setPwmClockFrequency

getPwmClockFrequency

setPwmSampleRate

getPwmSampleRate

setPwmOutputConfig

getPwmOutputConfig

setPwmLoggingConfig

getPwmLoggingConfig

setPwmStartupDutyCycle

getPwmStartupDutyCycle

setPwmStartupPeriod

getPwmStartupPeriod

setPwmVoltageScaling

getPwmVoltageScaling

setGpsInstalled

getGpsInstalled

setGpsStartFinish

getGpsStartFinish

setGpsPositionSampleRate

getGpsPositionSampleRate

setGpsSpeedSampleRate

getGpsSpeedSampleRate

setGpsTimeSampleRate

getGpsTimeSampleRate

setLapCountSampleRate

getLapCountSampleRate

setLapTimeSampleRate

getLapTimeSampleRate

setGpioSampleRate

getGpioSampleRate

setGpioConfig

getGpioConfig

setTimerSampleRate

getTimerSampleRate

setTimerConfig

getTimerConfig

setTimerPulsePerRevolution

getTimerPulsePerRevolution

setTimerDivider

getTimerDivider

calculateTimerScaling

getTimerScaling

setAccelInstalled

getAccelInstalled

setAccelSampleRate

getAccelSampleRate

setAccelConfig

getAccelConfig

setAccelChannel

getAccelChannel

setAccelZeroValue

getAccelZeroValue

calibrateAccelZero