Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

how to connect the "save text" primitive?

For general discussion related FlowStone

how to connect the "save text" primitive?

Postby kortezzzz » Wed Jun 05, 2013 2:18 pm

hi everybody,
i would like to know how to use the "save text" correctly. i understand how to connect
the primitive's inputs, but i don't understand how to connect the output (witch says "trigger sent when done")
thanks in advance :D
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: how to connect the "save text" primitive?

Postby philter5 » Wed Jun 05, 2013 2:35 pm

a trigger will be send to the output if your "save text" action was successfull.
in case it was NOT successfull (e.g. when no path is given), there will be no trigger sent to the output. ;)
philter5
 
Posts: 11
Joined: Fri Nov 12, 2010 9:11 am

Re: how to connect the "save text" primitive?

Postby kortezzzz » Wed Jun 05, 2013 3:00 pm

thanks for the fast reply, philter5 .
but i don't understand how this primitive's output should be connected ("trigger sent when done")
or maybe, it shouldn't at all and it just saves the file in the chosen folder? i mean, there is
no need to use any other primitive with that to make it work?

edit-

problem solved. this primitive works without connecting the output. just connect the inputs (input the text, file
name and location, give it an input trigger and it will save the text file).
User avatar
kortezzzz
 
Posts: 763
Joined: Tue Mar 19, 2013 4:21 pm

Re: how to connect the "save text" primitive?

Postby tester » Wed Jun 05, 2013 8:57 pm

There are various ways in which you can define file path.

Trigger nodes (done, cancel, etc) are usually used either to block something during operations or to confirm something after such operations are finished.

This is the simple way.
Attachments
save-data.fsm
(1.02 KiB) Downloaded 826 times
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet


Return to General

Who is online

Users browsing this forum: No registered users and 90 guests