DEF FNDplot_is_ready(OPTIONAL Waittime)
! Checks if DPlot is ready to receive new commands
! Return values: 0 = Not ready, 1 = Busy, -1 = DPlot does not respond
FNDplot_is_ready checks if DPlot is ready to receive new commands. It will automatically be called each time a command is sent to DPlot (e.g. FNDplot_send_cmd). If the Waittime has elapsed a dialog box appears where the user can Abort the program or Retry. On Abort a SIGNAL will be issued which triggers global error handler in the main program. More information: Global Error Handler in the Programmer's Reference and Error Messages for more information.