ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

network variable error

   I am using (trying to use) LabVIEW 8.0.1 on a Windows XP machine as host, PXI-8045 as target.  Whenever I create a network variable in a new project, it breaks the VI.  The VI error window reports that "This node is not execuable." and under the explanation:  This node is not executable because an unexpected error occured during code generation."
   Any ideas what could be causing this?

Regards,
   Dave T.
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 1 of 17
(5,459 Views)
   Two further observations:  this happens for VI's targeted to Windows or RT, and the errors go away if the variables have their Real-Time FIFOs disabled.
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 2 of 17
(5,454 Views)

Dave,

When you upgrated to LV 8.0.1 did you do the mass compile as described in the Readme for the upgrade?  Also, have you installed the LV Real-Time Module 8.0.1 patch?

0 Kudos
Message 3 of 17
(5,444 Views)
Good questions.  I did indeed do the mass compile and install the RT 8.0.1 patch.

Dave
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 4 of 17
(5,446 Views)
In creating a network shared variable that uses buffering in LV 8.0.1 project, I do not get the same behavior (broken VI).  Are there more explicit steps that lead to this behavior?  Have you seen it on more than one system?
0 Kudos
Message 5 of 17
(5,431 Views)
In Tools>>Options, on the "Block Diagram" page, what is your setting for "Delete/copy panel terminals from diagram"?  If this setting is unchecked, it may cause this error when using a variable with RT FIFO enabled.
0 Kudos
Message 6 of 17
(5,417 Views)
    This error will appear when you create a variable and leave everything at its default EXCEPT enable the RT FIFOs.  Then drop the variable on a blank diagram, and it is broken.
   I was going to try this on a second machine, but don't have access to the RT disks right now.  I'll do that in a few days.

Greg C,
   Thanks for the tip.  Yes, I do have the Delete from Block Diagram option turned off.  I'll try turning it on and see what happens.  Odd interaction, that.

Regards,
   Dave
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 7 of 17
(5,415 Views)
GregC,
    Thanks!  Checking that option fixed things.  Still seems like an odd interaction, and it seems odd to me that a search of the zone (which I did before posting this question) didn't result in any hits.  I must be the only RT programmer who turns that off!  Anyway, hopefully this thread will help any others who stumble across this issue.

Regards,
   Dave
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.
0 Kudos
Message 8 of 17
(5,405 Views)
hi everybody,
 
I'm using lv rt 8.20 and I've got the same problem.
 
When I put a new network shared variable with fifo rt actived on my diagram, the link is broken.  the error message returned is  : "LabVIEW could not generate code for the shared variable. You must open the VI in the project that contains the library where the shared variable resides.""
 
If I unchecked fifo rt, the wire is normal.
 
And the option, delete/copy panel terminal  is checked.
 
I don't know how I can correct this.
 
thanks

Message Edité par julesjay le 03-01-2007 02:34 AM

0 Kudos
Message 9 of 17
(5,017 Views)
Jules:

Let me know if you are still experiencing this issue. I was not able to reproduce the same thing on my computer. I created a shared variable with fifo rt activated and was able to write/read values.

Rudi N.
0 Kudos
Message 10 of 17
(4,968 Views)