From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Actor Framework Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Message Maker updates the entire lvlib contents when adding a message VI

Looking at your example code. I do see the timestamps changing on your example.   I placed everything into the repo and checked what files are changing and I see that somehow the task D msg.lvclass is changing. I pulled into an editor and only "NI.LVClass.FlattenedPrivateDataCTL" is changing between runs. I looked into the item and both are empty. As far as I can see, it should be the same. Not sure why this would change.   Other files have changed timestamps, but did not appear in my to commit check because the content is bitwise same.

Certified-LabVIEW-Architect_rgb.jpgCertified_TestStand_Architect_rgb.jpg


"I won't be wronged. I won't be insulted. I won't be laid a-hand on. I don't do these things to other people, and I require the same from them." John Bernard Books

0 Kudos
Message 11 of 20
(1,705 Views)

Thank you bsvare, for looking into this.  I also see that task D msg.lvclass is changing in the same XML element. I also looked inside Do.vi and Send Task D.vi, they are bitwise different even though the diagram and front panel are not.

I have attached the zip file which contains 2 folders, one is before the change, and the other is after the change. Hopefully NI can tell what's changed between them.

TailOfGon
Certified LabVIEW Architect 2013
0 Kudos
Message 12 of 20
(1,705 Views)

TailOfGon wrote:

AristosQueue, were you able to reproduce what I am seeing? I see it 100% of the time. I was surprised bsvare is not seeing it.

I have not tried, nor will I be trying any time soon... I'm trying to get LV 2016 out the door and only working on showstopper issues currently, and this would not qualify as a reason to hold the release. Sorry. I think niACS and Darren are both tied up as well at the moment.

The month of May is historically a terrible time to try to get my attention. If it doesn't come marked with "Burning High Priority, Drop Everything And Do This" tags, I'm pretty much unavailable. This May is no exception.

0 Kudos
Message 13 of 20
(1,705 Views)

Hi TailOfGon,

I'll be looking into this issue further to determine if a CAR is necessary.  If you have any more information you think will be helpful please share it.

0 Kudos
Message 14 of 20
(1,705 Views)

Thank you Stop_Luke_and_Listen,

Here is more information.

My OS: Windows 7 Professional 64-bit

My LV: 15.0 32-bit

I made further experiments on this, and I found that this behavior does not happen always, but it definitely happens in certain cases which is not rare

My LabVIEW Option 'separate compile code from source code' is CHECKED

1) Created Project from Actor Framework Template

2) Saved all

Use SAVE AS ON EXISTING TASK TO CREATE A NEW TASK VI

3) Right clicked and saved as.. on 'Task.vi' under 'Alpha.lvclass' and named it 'Task 2.vi'

4) Created a new message on Task 2.VI

5) I confirmed that 'Alpha Task Msg.lvclass' and its contents are not changed -> GOOD!

USE CREATE NEW TO CREATE A NEW TASK VI

*Now back to Step 2 state

6) Right clicked on the Alpha.lvclass, created a new VI from static dispatch template, and named it 'Task 2.vi'

7) Created a message VI

😎 I confirmed that 'Alpha Task Msg.lvclass' and its contents are not changed -> GOOD!

START FROM CREATING NEW ACTOR

*Now back to Step 2 state again

9) Right clicked on My Computer -> New -> Actor, then name the new actor 'Actor 1'

10) Under 'Actor 1.lvclass', create a new task 'Task 1.vi', then create a new message VI for it

11) Save all

12) Commit all the changes to source control

13) Now, under 'Actor 1.lvclass', create a new task 'Task 2.vi'

14) Now, create a new message VI for 'Task 2.vi'

15) I checked the state of 'Task 1 Msg.lvclass' and its contents, they are all updated! --> BAD!

*Now back to Step 2 state again

16) OPTION -> Environment -> UNCHECK 'Separate Compile Code From Source Code'

17) Right click on the project item -> Property -> Mark all items to separate compile code..'

18) Repeat Step 9 ~ 14

19) Checked the state of 'Task 1 Msg.lvclass' and its contents, they are all updated! --> BAD!

From the experiments above,

- If I create a message VI from Actor class that is created from Project Template, existing message VIs are not updated

- If I create a message VI from Actor class created by right clicking My Computer -> New -> Actor, then existing message VIs are updated

TailOfGon
Certified LabVIEW Architect 2013
0 Kudos
Message 15 of 20
(1,705 Views)

Hi TailOfGon,

I apologize for the gap in communication.  Thanks for the detailed steps list.  I'm currently trying to reproduce the behavior you are seeing based on your steps.  I'll let you know if I'm able to reproduce the behavior and/or if I need more information.

0 Kudos
Message 16 of 20
(1,705 Views)

Stop_Luke_and_Listen, thank you for your time trying to reproduce the issue. Let me know if you need more information.

TailOfGon
Certified LabVIEW Architect 2013
0 Kudos
Message 17 of 20
(1,705 Views)

Hi TailOfGon,

I reproduced the behavior you are seeing in LabVIEW without source control (I just looked at date modified).  As you pointed out, if the message VI from Actor class is created from the Project Template, the existing message VIs are not updated, but if you create the message VI by right clicking on My Computer and creating a new actor, the existing message VIs are updated.  I'll work on creating a CAR for this issue.

Message 18 of 20
(1,705 Views)

Stop_Luke_and_Listen, thank you very much for your time reproducing it and creating a CAR! This is a very annoying bug with a workaround.

TailOfGon
Certified LabVIEW Architect 2013
0 Kudos
Message 19 of 20
(1,705 Views)

Hi TailOfGon,

No problem, glad I could help.  By the way, the CAR number is 592088. I forgot to add that information in my last post.

0 Kudos
Message 20 of 20
(1,705 Views)