How to use the GETTEXTFILE function with an NSC detector

  • 30 May 2022
  • 1 reply
  • 192 views

Is there a way to to use the GETTEXTFILE function with an NSC detector? I’m running into the same issue, and couldn’t figure it out from the help page of the function. I’m currently using SAVEWINDOW from a detector window opened to the text tab and getting the same message.

[Mod note: moved the post to a new forum thread.]


1 reply

Userlevel 7
Badge +2

Hi Amy,

 

Since this is a different question, I’d strongly recommend starting a new thread. It’ll be easier for other to search through the forum and find relevant information.

The short answer is that if the analysis has a Text tab, it likely supports GETTEXTFILE. And in your case, Detector Viewers are supported. The string code is Dvr. You could use a macro like so:

GETTEXTFILE “<your_file.txt>”, Dvr, “<your_optional_config_file>”, 0

The last parameter is a boolean (0 or 1) for whether the detector should use the specified configuration file or use the default one.

I hope this helps. If you have further questions. Please consider opening a new thread.

Take care,

 

David

Reply