From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, 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,415 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,408 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,402 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
(1,357 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
(1,345 Views)