Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Xnode not executable

Solved!
Go to solution

Hi!

 

I'm trying to read data from a database I'v created and then generate a simple report. But I get the "Xnode not executabe" error message when I try to convert from database type to string.

I have removed the database information in my vi, just in case..

 

Do someone know what that might be the error?

0 Kudos
Message 1 of 6
(7,692 Views)

Hi!

 

When I removed all the parts after the "get data from database vi" and created a indicator directly there it showed the correct values but in database type. Then when I removed the indicator and put back all the code that I deleted it stardet to work....

 

can someone explain for me why?

0 Kudos
Message 2 of 6
(7,687 Views)
Solution
Accepted by topic author ollef

ollef,

 

Hello! Somthing was wrong with your Database Variant To Data Function. Take a look at the orignal code that you posted that had the broken run error. If you remove the string input to the Database Variant to Data VI and replace it with a To Variant Function as seen in the picture below. Then delete the To variant function and replace it back with your string constant. This resolves whatever conflict was hapening with that VI.

 

to_variant.PNG

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ben Sisney
FlexRIO V&V Engineer
National Instruments
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
0 Kudos
Message 3 of 6
(7,670 Views)

Thanks!

 

I would never have figured out that by my self!!

0 Kudos
Message 4 of 6
(7,652 Views)

Hi Ben,

I'm having the same Ollef's problem but in LV 2013 (13.0f2). This is my code:

 

DB Variant Bug.png

I tried to use your trick, but I still get the same error:
"Database Variant to Data; Xnode is not executable"
Details:
"This node is not executable because an unexpected error occured during code generation."
Have you any suggestion?

 

Best Regards,

Paolo.

 

0 Kudos
Message 5 of 6
(6,513 Views)

Hi  Paolo_Squillari,

 

Due to the age of this forum post, and version of LabVIEW you are using, I would highly recommend creating a new forum post on this topic. This should ensure that you will get more attention from the community on this topic. 

Robert R. | Applications Engineer | National Instruments
0 Kudos
Message 6 of 6
(6,493 Views)