Jump to content

How to automatically obtain the controls on the VI connection board?


Recommended Posts

Posted

Hi!Has anyone done what I'm doing, which is to automatically recognize the wired version of a VI from the path, list the input and output controls, and give them a parameter to input and receive output in advance, just like TestStand does. Although I have a bit of an idea at the moment, using the property nodes in the screenshot may be able to achieve it, but I already expect this feature to be a lot of work, especially when clusters and arrays are nested with each other, and I can't imagine that this feature will get the desired results in VI where I have a bunch of custom controls as input. I was in so much pain, I really wanted to take a shortcut.( don't know if the software translation I use can accurately express my meaning)

企业微信截图_17369996466240.png

企业微信截图_17370079347717.png

Posted (edited)

Yes this has been done before. I believe BlueVariantView is what you are looking for. It creates a recursive tree of any data type:

image.png.7577ea8077f30495cbca020be5f7a62a.png

 JSONtext on the other hand illustrates how to turn your data back into a data type.

Edited by LogMAN
  • Thanks 1
Posted
15 hours ago, LogMAN said:

Yes this has been done before. I believe BlueVariantView is what you are looking for. It creates a recursive tree of any data type:

image.png.7577ea8077f30495cbca020be5f7a62a.png

 JSONtext on the other hand illustrates how to turn your data back into a data type.

谢谢你,你真是个大好人,感谢作者感谢你,这个东西帮我解决了大问题,等我实现我的功能,我会分享我怎么利用它的/(ㄒoㄒ)/~~

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.