Sequencer File Export File Naming and Form Block Help

  • Software
  • Sequencer File Export File Naming and Form Block Help
Robert Misevski

Posted on 29.04.2016 17:09

I would like to set up a sequence that allows form entry (user, part info, ect.) and save that info with the data in a file and export it as a .mat file. I would also like to use part of the form data text to create the exported .mat file name. I can currently create a sequence to pop up a form but the data gets lost, and I can only export using a name typed in the export data block field. Any help would be great or whether DEWESoft can even do this.


Attached files:
DEWESoft Support
Technical support
Posted on 03.05.2016 08:01

Hi,

I've replicated your sequence and have added the desired functions. The first two entries in the form will be used for naming the data file, while the third one will name the exported .mat file. You have to enable some sequencer variables (like I've marked in the attached picture), and then you have to link them with the correct form inputs. After that, you can use the variable name with single quotation marks ('variable ') in order to name the file.


Robert Misevski

Posted on 03.05.2016 17:01

Thank you! this helps me for the use of variables.

One more question... is there a way to also save the variables inside the .mat file like a user variable text array cell?

I have attached a picture to show that the .mat file doesn't include the sequencer variables that were created and entered by the user.


Attached files:
DEWESoft Support
Technical support
Posted on 04.05.2016 09:16

Hi,

yes, you can transfer your text inputs to MATLAB, but you have to define some global variables first. You can do that in settings, under the global variables tab. Then you'll need to assign the sequencer variables to the global variables with the calculation block. I've highlighted the whole process in the attached picture, and have also updated the sequence file. The global variables however are stored in the project file (not the setup file), so you'll have to write them by hand or import them with the attached .xml file.

Robert Misevski

Posted on 05.05.2016 16:38

Thank you!

Login to reply to this topic. If you don't have account yet, you can signup for free account .