取消
显示结果 
搜索替代 
您的意思是: 

Local Variables in Labview NXG?

已解决!
转到解答

Hello, 

I'm using LabVIEW NXG and am having trouble figuring out how to create a local variable.  In all the tutorials I can find (which admittedly seem to be run with older versions of LabVIEW), I am told to simply right click and the option to create a local variable appears... but on my program it is simply nowhere to be found.  Am I missing something? 

 

[Context: I am connecting through Visa to multiple serial ports.  In a nutshell, I'd like the user to be able to choose how many ports to connect to, and to use the same 'send command' and 'stop' buttons for all ports that are connected.  It seems like the best way to do this would be to create a local variable from the first stop control, and use that to control the remaining loops.  I did try putting all ports into the same loop, but that creates difficulty if/when the user selects only one or two ports to connect to.  Hope that makes sense.]

 

Thank you in advance! 

0 项奖励
1 条消息(共 4 条)
4,542 次查看
解答
接受人 crossrulz

They're now referred to as Duplicate Terminals. Here's a list of other terminology changes between LabVIEW and NXG.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
2 条消息(共 4 条)
4,511 次查看

Ah that explains it, thanks so much!

0 项奖励
3 条消息(共 4 条)
4,483 次查看

I was trying to figure this out too. Thanks!

0 项奖励
4 条消息(共 4 条)
2,822 次查看