
adccommunitymod (AutomationDirect) asked a question.
Productivity task
Created Date: October 01,2015
Created By: Tecon
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
Hi, sorry for my english. I have a question. Is possible in Productivity suit exporting some task. When I did save the project every tasks were encapsulated into the project, but If I want use some task from later project in my new project, I could not. Is there some solution How exporting task from project?
Created Date: October 01,2015
Created by: Szarman
I do not believe tasks can be saved individually, and imported into another project. It would be a great feature, and I hope that it is one day implemented in a future upgrade. It would be nice because a library of common tasks could be tested individually, and added to any project without worry (as long as hardware was the same).
Created Date: October 01,2015
Created by: OkiePC
I am new to this software but I did a trial just now that appears to work well.
Open a 2nd instance of Productivity Suite and you can drag and drop tasks from one to the other. It seems that any tags are automatically created in the 2nd instance. I used a new blank project for the 2nd instance, so there were no "collisions " to worry about. I do not know what might happen if there were colliding tag names or conflicting task names.
Actually after a closer look, it appears it moved the task when I dragged and dropped it to the new instance. So it was removed from the original project. I suppose better advice would be to copy and paste the task. If you right click on the task in the project explorer tree, there is a Copy menu option, and the standard Windows shortcut keys work also.
Created Date: October 01,2015
Created by: ADC_CommTeam02
This method will only work if you are using the same version of software. This will not work if you are trying to copy or drag a task from 1.10 to 2.0 version.
Created Date: October 01,2015
Created by: kewakl
Eng, please clarify.
I seem to remember being able to copy to sub/minor versions...
Eg.
Can copy from 1.8.0.19 to 1.8.2.1
Cannot copy from 1.8 to 1.9
Created Date: October 01,2015
Created by: ADC_CommTeam02
You are correct you can copy from minor changes just not major revisions. Sorry should have clarified that.
Created Date: October 01,2015
Created by: Adisharr
Couldn't you just open the old program in a newer version and then copy between instances?
Created Date: October 01,2015
Created by: Szarman
I was thinking more along the lines of if you had 50-100 different tasks spread out over 20-30 different projects it would be nice to have a task library instead of opening each project and copying out the appropriate task. I guess I could make a master project that has all the tasks in one place so I could only have to open it up and copy and paste. A custom library that is in the task management area that I could drag any one I have ever created right up into the run every scan, or every second area would be even better than copy and paste, and hunting down the task. Most the time I just rewrite it unless I was doing something fancy on comm ports, or analog signals.
Created Date: October 01,2015
Created by: ADC_CommTeam02
We appreciate your feedback. We will add this to our list of improvements, and begin looking into possibly adding this to the GUI in a future release. Keep the suggestions coming!
Created Date: October 10,2015
Created by: dieselvette
The copy & paste technique described is a handy feature, but be careful as sometimes the handling of tag names can be a bit "buggy "...especially when pasting into a project that already has tags in it, or when dealing with structures.
Double-check every rung for correct tags!
Created Date: October 12,2015
Created by: kewakl
Before pasting into a project, I make it a point to check the last tag address of every datatype( or *expected* datatypes), this way I can check for UNANNOUNCED - NEWLY created tags.