Jump to content

Distinguish FP Controls


Recommended Posts

Posted

Is there a way to distinguish between Controls of the same Type such as:

* Round LED, Square LED, Toggle ...

* String Control of Classic, MOder or System?

Felix

Posted

Is there a way to distinguish between Controls of the same Type such as:

* Round LED, Square LED, Toggle ...

* String Control of Classic, MOder or System?

Felix

At least the style ID property can help. I think I saw more info somewhere but I can't remember where...

post-7452-0-59066800-1294222898_thumb.jp

Hope this helps

Posted

Thanks, that's what I'm looking for. Seems not to be implemented in 7.1. :(

I have a style (String) for Node and a Style (numeric) for Scale. But nothing for Constant or Control. Maybe it's available through GetProp.

Felix

Posted

Thanks, that's what I'm looking for. Seems not to be implemented in 7.1. :(

I have a style (String) for Node and a Style (numeric) for Scale. But nothing for Constant or Control. Maybe it's available through GetProp.

Felix

Haven't checked 7.1, I'm using 8.6.

I don't think you can get Style ID for a constant... Though if your target is a BD terminal you can get the ref of the corresponding FP control and then get the Style ID.

I've made a scripting sandbox plugin for that (in LV8.6).

Show Class & Style.vi

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.