From 08:00 PM CDT Friday, August 12 - 01:00 PM CDT Saturday, August 13, ni.com will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How Do You Identify a Picture Constant

Solved!
Go to solution

Given a reference to a block diagram constant, how can you determine if its a Picture constant?

paul_cardinale_0-1648157112608.png

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 1 of 5
(244 Views)

I believe the ClassID property should still be unique even if there isn't a VI Server class type for it.

Matt J | National Instruments | CLA
0 Kudos
Message 2 of 5
(237 Views)
Solution
Accepted by paul_cardinale

"Terminal.Data Type" property appears to work.

FireFistRedhawk_0-1648158339728.png

 

Redhawk
Test Engineer at Moog Inc.

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

0 Kudos
Message 3 of 5
(231 Views)

The class ID (16386) is not unique to pictures.  I now have 3 ways to check:

pc.png

"If you weren't supposed to push it, it wouldn't be a button."
Message 4 of 5
(186 Views)

The cast to Picture VI Server class is a really interesting solution. I would have never thought to even try that.

Matt J | National Instruments | CLA
0 Kudos
Message 5 of 5
(174 Views)