09-19-2016 12:49 PM
The message maker puts new messages in "<ActorName> Messages", but I'd like to put them in "Messages" most of the time.
I tried finding where the directory name is chosen, but I ran into a locked VI. Is there some place to change this?
I'm mostly keeping the following directory structure for my actors:
./<ActorName>/
./<ActorName>/<ActorName>.lvlib
./<ActorName>/Actor/
./<ActorName>/Actor/<ActorName>.lvclass
./<ActorName>/Actor/<MethodName0>.vi
./<ActorName>/Actor/<MethodName1>.vi
./<ActorName>/Messages/
./<ActorName>/Messages/<MethodName0> Msg/
./<ActorName>/Messages/<MethodName1> Msg/
Only for helper actors do I need more specific names
./<ActorName>/<HelperActorName>/
./<ActorName>/<HelperActorName>/<HelperActorName>.lvclass
./<ActorName>/<HelperActorName>/<HelperMethodName0>.vi
./<ActorName>/<HelperActorName> Messages/
./<ActorName>/<HelperActorName> Messages/<HelperMethodName0> Msg/
Even so, I'm thinking of keeping those helper actors in a different toplevel, so I can keep their pathnames short too.
11-28-2016 06:39 AM
Look in the following directory and file.
Program Files (x86)/National Instruments/LabVIEW20xx/project/_Message Maker/support
Look at file name "Calculate Message Class Path.vi"
I am in no way stating that you should change this file, but you might want to look in here if you are looking to alter any of the directory structure of messages.
12-15-2016 08:36 AM
Just an additional FYI, the solution I mentioned works in LabVIEW 2014. I dont know about LabVIEW 2016, as it appears that the message maker has been changed somewhat.
12-15-2016 05:10 PM
@StevenHowell_XOM wrote:
... it appears that the message maker has been changed somewhat.
A little, yes.
But most of the changes wrap the old code, so that VI should still control the default message paths, if I recall correctly. Just make sure you test all three message types!