When doing PHA Bias scans through the peaking dialog, the pop-up monitor window X-axis starts at "0" during the acquisition. Could that be adjusted to start at the individual Bias scan range? Thanks!
Hi Anette,
OK, we were able to reproduce the issue.
Basically the displayed x-axis range depends on the value of the configuration keyword DisplayFullScanRangeForAcquisitionFlag in the Probewin.ini file. If it is set to zero (the default), the x-axis range is automatically updated as the data is acquired and displayed. In this case the bias scan x-axis range (in bias volts), displayes fine. But if the DisplayFullScanRangeForAcquisitionFlag keyword is set to non-zero, the full x-axis range is displayed from the beginning, and the plot is "filled in" as the bias scan is acquired. This is true also for PHA scans and gain scans (Cameca instruments only).
But for PHA scans, the minimum x-axis data value is often a fraction of a volt, so we have always forced it to zero for the tick marks to display nicely. This didn't affect the bias and gain scans when DisplayFullScanRangeForAcquisitionFlag=0, but it was forcing the x-axis minimum to zero for bias and gain scans as you pointed out, but only when DisplayFullScanRangeForAcquisitionFlag=1 in the Probewin.ini file!
So previously the following code was utilized for all scans:
Call ScanInitGraph(sample(1).MotorNumbers%(chan%), nPoints%(chan%), CSng(0#), stopvolts!(chan%), title$)
If ierror Then Exit Sub
But this is now changed to:
If mode% = 0 Then
Call ScanInitGraph(sample(1).MotorNumbers%(chan%), nPoints%(chan%), CSng(0#), stopvolts!(chan%), title$)
If ierror Then Exit Sub
Else
Call ScanInitGraph(sample(1).MotorNumbers%(chan%), nPoints%(chan%), startvolts!(chan%), stopvolts!(chan%), title$)
If ierror Then Exit Sub
End If
In other words, the x-axis range is now the bias (or gain) scan ranges specified by the user. Basically to make a long story short, it now works as requested!
Simply update Probe for EPMA from the Help menu and you should be good to go.