From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo 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
(1,027 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
(1,020 Views)
Solution
Accepted by topic author 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
(1,014 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
(969 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
(957 Views)