Author Topic: Background polling stage and spectrometer position  (Read 2229 times)

Ben Buse

  • Professor
  • ****
  • Posts: 499
Background polling stage and spectrometer position
« on: February 21, 2018, 07:34:41 AM »
Hi John,

This is a speculative question. Is there anyway of stopping the background "RealTimeGetStageMotorPositions" and "RealTimeGetPosition- motor" when PFE is not doing anything. I find if I'm running wavescans or maps through the JEOL software, this background polling of PFE crashes the spectrometers and need electronic reset.

What I have to do is remember to close PFE before running Maps and wavescans in JEOL software,

thanks

Ben

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 3304
  • Other duties as assigned...
    • Probe Software
Re: Background polling stage and spectrometer position
« Reply #1 on: February 21, 2018, 07:53:55 AM »
Hi Ben,
How weird.  That's the first I've heard of this issue! 

The easiest thing would be to simply click the Pause button in the PFE main window. That will suspend the software from polling the instrument.

It's weird because the JEOL software running in the background doesn't cause any problems when PI or PFE are mapping or running wavescans...  I'd have heard about that for sure! 

I have to wonder if the programmers in Japan are doing something different with a new version.  Is this something that started after you updated the JEOL software at some point in time?   It's hard to understand why just asking for stage or spectrometer positions would cause an issue.
« Last Edit: February 21, 2018, 08:51:01 AM by John Donovan »
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

Ben Buse

  • Professor
  • ****
  • Posts: 499
Re: Background polling stage and spectrometer position
« Reply #2 on: February 21, 2018, 08:14:16 AM »
Hi John,

That's great, I wish I'd asked you months ago

Ben

Ben Buse

  • Professor
  • ****
  • Posts: 499
Re: Background polling stage and spectrometer position
« Reply #3 on: August 07, 2018, 03:38:12 AM »
Hi John,

I forget to pause, when running JEOL software maps/wavescans, would it be possible to have an option to disable background polling or would this be very difficult.

The issue seems to be related to the intelligent box - both PFE and Jeol software communicate directly via network. And background polling whilst JEOL software is mapping/wavescan - results in PFE losing connection to intelligent box. This requires a reset of the intelligent box (which controls both stage and spectrometers) which then requires a stage initialization which can be problematic!


Thanks

Ben
« Last Edit: August 07, 2018, 03:45:24 AM by Ben Buse »

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 3304
  • Other duties as assigned...
    • Probe Software
Re: Background polling stage and spectrometer position
« Reply #4 on: August 07, 2018, 08:20:32 AM »
Hi Ben,
If PFE doesn't poll the instrument, it won't know what is going on.  That would be the case for any software. 

I'm not being snarky here but the best solution would be for you to simply not forget to click the Pause button.  Or just close PFE when you are running long scans in the JEOL software.  In any case, I'm a little curious why are you using the JEOL software to do wavescans? 

I'm also curious if anyone else is seeing this issue when PFE is idling and the JEOL software is running long scans on the 8230/8530.  I haven't heard of this issue from anyone else.  Anyone?
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

Ben Buse

  • Professor
  • ****
  • Posts: 499
Re: Background polling stage and spectrometer position
« Reply #5 on: August 07, 2018, 08:47:28 AM »
Hi John,

I guess my point would be it doesn't need to know what's going on if its not doing anything...  I've tried to remind myself - but when switching between the two I quickly forget

I use the JEOL software - for drift corrected mapping (and then quant map in PFE), and for wavescans with thousands of points and very short dwell time - e.g. full spectrometer range. Whereas I'd use PFE if I was using the wavescan to select backgrounds

Yes I'm surprised if no-one else has the problem

(The real annoyance is the JEOL stage-initialisation is busted, so I'm out of action)

Ben
« Last Edit: August 07, 2018, 08:59:57 AM by Ben Buse »

John Donovan

  • Administrator
  • Emeritus
  • *****
  • Posts: 3304
  • Other duties as assigned...
    • Probe Software
Re: Background polling stage and spectrometer position
« Reply #6 on: August 07, 2018, 09:06:43 AM »
Hi Ben,
Then don't forget to Pause PFE when using the JEOL software or get your instrument fixed!   :)

By the way, PFE can do ROM wavescans scans with thousands of points just like the JEOL software.  Just click the Use ROM Scanning option in the Peak/Scan Options dialog.

PFE also does drift corrected x-ray maps. Simply acquire standards in PFE before and after running Probe Image. It's better than the JEOL mapping drift correction because it not only does a beam drift correction, but also does a separate standard intensity drift correction for *each* element.  Just check the boxes and it's all automatic:

http://probesoftware.com/smf/index.php?topic=744.msg5573#msg5573

 ;D
John J. Donovan, Pres. 
(541) 343-3400

"Not Absolutely Certain, Yet Reliable"

Ben Buse

  • Professor
  • ****
  • Posts: 499
Re: Background polling stage and spectrometer position
« Reply #7 on: August 07, 2018, 09:15:30 AM »
Good point!  :)

By drift correction - I meant image drift correction (i.e. correction for drift in image during acqusition)

Ben
« Last Edit: August 07, 2018, 09:17:31 AM by Ben Buse »