Jump to content

Get Probe Qualification Date and Time with PCM


---
 Share

Recommended Posts

This is the plan:
1. Get Probe Qualification Name, Date and Time with PCM of all Probes on the rack (Assigned).
2. Pass that data to a text file
3. Write a VB.net program to retrieve the data and send the data to a Digital readout that runs when I need it.
It will give me at a glance what is on my rack and when it was last qualified.

I just need some help to get the probe data mentioned with PCM.
Link to comment
Share on other sites

Depends of how you qualify the probes,


filev="C:\TMP\probes.txt"
deleteFile(filev)
for i=1 to getRackPorts().size
addToFile(filev,getParameterNamed(getRackPorts().values,i) + chr(9) + executeCode("'" +  (directoryPath("applicationdata") + "log\" +getParameterNamed(getRackPorts().values,i) +".log") +  "' asFilename modificationTimestamp  ") + cr())
next i
this could be better for post calculations:
filev="C:\TMP\probes.txt"
deleteFile(filev)
for i=1 to getRackPorts().size
addToFile(filev,getParameterNamed(getRackPorts().values,i) + chr(9) + executeCode("'" +  (directoryPath("applicationdata") + "log\" +getParameterNamed(getRackPorts().values,i) +".log") +  "' asFilename modificationTimestamp asSeconds  ") + cr())
next i
Link to comment
Share on other sites

  • 2 weeks later...
Here a few lines that might push you along a bit....
getProbe().calibMode
getProbe().calibration
getProbe().confName
getProbe().probeName
getProbe().probeDate
getProbe().probeForce
getProbe().probeTemp
getProbe().diameter
getProbe().probeNameNumber
getProbe().removeCalibration
getProbe().calibrationValidForSimulation
getProbe().cncCalib
getProbe().cncCalibration
getRackPorts()
settingGet("usedProbeConfigs")
Link to comment
Share on other sites

  • 7 months later...
I need to obtain the probe time, not the date. I tried getProbe(). ProbeTime but it was not successful. Requesting Your Help
Link to comment
Share on other sites

 Share

×
×
  • Create New...