This is an old revision of the document!
Click here to return back
Sequence Window
Use the sequence window to define a custom sequence of data read/write operations between SigmaStudio+ and a target hardware device connected via USB. Commands can be dragged/exported from the capture window or created manually. Sequences are independent of the SigmaStudio+ project file and can be saved and recalled to files.
The Sequence window is docked at the bottom by default. The option to add sequences from capture window is available. Also there is an option to define the operation manually. A separate packet can be created, specifying he address of the location where the data packet is to be written along with the protocol to be used, which is usually SPI or I2C. The left tab is called a sequence mode or tab - a group of sequences. The mode name can be edited by users to caption the sequence list. Finally when the sequence is ready, pressing the download button on the sequence window, will send the packet to the target.
There are utility buttons present on top of the sequence window. A right click in the sequence window opens a context menu with options similar to the utility buttons. The description of each button is given below:
New Sequence - Clears all the content of the current sequence tab and creates a fresh sequence file
Open Sequence File - Opens the selected sequence file of xml format
Save Sequence File - Saves the contents of the sequence window modes as an xml file
Add Mode - Adds a new sequence mode (tab). Each mode contains a sequence of read/write/delay packs which can be downloaded to the target
Remove Mode - Removes the selected sequence mode (tab) from the sequence window
Import Mode - Imports a specific mode of a sequence xml file into the selected mode (tab)
Export Mode - Exports a selected mode (tab) in the sequence window as a separate file
Add Command - Adds a new read/write/delay pack to the selected sequence mode
Cut Command - Cuts a read/write/delay pack and stores it onto the sequence window clipboard allowing it to be pasted to any mode in the sequence tab
Copy Command - Copies selected read/write/delay packs and stores it onto the sequence window clipboard allowing it to be pasted to any mode in the sequence window
Paste - Pastes the packs present in the clipboard to the sequence mode selected
Export - Exports the contents of the sequence window into .c and .h files for standalone mode of operation
Download - downloads the entire sequence file or the selected mode (tab) to the target connected in the system tab. This choice of type of download is provided in the Download combobox.
Move Up - Reorders the sequence entry or tab up the list. The choice of type of sequence entry or mode is decided by the Reorder combobox.
Move Down - Reorders the sequence entry or tab down the list. The choice of type of sequence entry or mode is decided by the Reorder combobox.
Address in hex - ticking this checkbox displays the device address and register address in hex format. This also saves the addresses in hex in the export file.
Force Download - When the sequence download aborts midway due to an error, this flag can be used to push through the error and download the entire sequence list. The individual error can be seen in the capture window.