04-17-2014 02:44 PM
The snippest used a specific property subset that isn't normally exposed. It was brown due to the private property. The code you posted in your previous post uses the same property (FXPRepBits)
04-17-2014 02:57 PM
I will be waiting for theresults. Because it is very essential to me to find a way how to do it.
04-17-2014 08:08 PM
@timtamslam wrote:
The snippest used a specific property subset that isn't normally exposed. It was brown due to the private property. The code you posted in your previous post uses the same property (FXPRepBits)
Right. Your snippet was brown and mine is blue, yet they're the same property. Is your brown because it was private in an older version of LabVIEW?
04-17-2014 08:08 PM
@chikenene wrote:
I will be waiting for theresults. Because it is very essential to me to find a way how to do it.
Did you not look at my earlier posts?
04-18-2014 12:05 AM
I don't have that FXDRepBits in Property Node options.
04-18-2014 07:25 AM
You need to learn about snippets; the images in my post are more than they seem. If you have LabVIEW 2009 or later, you can drag the picture into your block diagram and the code will magically appear.
04-18-2014 09:07 AM
The property we are referring to is the same color in both of ours, jcarmody. I was referring to your post here,
I see that you're referencing your snippet in this thread though. I don't know specifically what's happening is my suspicion is that, it shows up as brown on my machine because I have access to it as a private type. Even if I move your blue snippet onto my BD, it will become brown. I tested the same snippet on a test machine that didnt have access to the private types, and it stays blue. I dont know specifically why this happens but its almost like the machines that don't natively have access are inheriting it through the snippet.
In the end we should likely wait for what DFGray proposes as the correct approach to scripting fxp's.
04-18-2014 10:54 AM
I have confirmed that these properties should be safe to use. Attached are VIs to set them on both constants and controls. LabVIEW version is 8.0. I wrote them in 2013 and saved for previous, so let me know if you have problems. I do not have 8.0 on my development machine. The properties themselves have been around since about 2004.
04-18-2014 01:40 PM
This gap in scripting FXP-related properties has been reported as CAR 405418.
04-19-2014 01:38 AM
I got the snippet succesfuly into my VI. Thank you for that!
But the option FXPRepBits works only for DigitalNumericConstant?