Syntax Error When Calculating the Full Spectrum FFT Using DIAdem

Updated May 31, 2022

Reported In

Software

  • DIAdem

Issue Details

For a particular TDM file, I get a syntax error when calculating the Full Spectrum FFT analysis on a channel and for the FFT (One Time Signal) the popup dialog to configure the FFT fails to open.

Solution

This issue was identified as a bug in DIAdem 2022 Q2 and reported with ID 1983085. The problem seems to be related to the name of the channel, when it contains a comma in the name, it is interpreted as a separator in the SUD scripts. If the comma is removed from the name, the dialog works fine. A workaround is to remove or replace the comma character in any channel names that you want to process interactively with the FFT function. Another workaround is to call the ChnFFT function from a script and bypass its built-in configuration dialog. Below you will see the steps to run another command using a VBS script to set the channel to calculate the FFT:
1. Click on the Script tab and select Add New File.
2. When a dialog pops up prompting the user for the script language select VBS script and click on OK.
3. Type ChnList = "[x]/Channel" in the script window, where "[x]/Channel" is the channel used to calculate the FFT.
4. Run the script.
5. Go back to the Analysis tab, select one of the channels and click on the FFT (One Time Signal) or Full Spectrum FFT options.