LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

スクリーンに入らないほど大きなwhileループでシフトレジスタを設定する方法

Solved!
Go to solution

はじめて質問させていただきます。

現在Labviewでプログラムを組んでおり、困った状況にあります。

プログラム中でwhileループでコネクタの一部をシフトレジスタに変更したいのですが、ループの枠が非常に大きく

"Replace with shift register"を選択して片方のコネクタを選択しようとしても、もう片方のコネクタが画面外にあり、加えて画面の移動ができないため、シフトレジスタの設定ができません。

どうすれば、こういった状況でシフトレジスタの設定ができるのでしょうか。

 

初歩的な質問かと思いますが、解決策が思いつかないため、教えていただけると幸いです。

 

 

 

0 Kudos
Message 1 of 3
(1,000 Views)
Solution
Accepted by topic author hiro1192

Hi Hiro,

 


@hiro1192 wrote:

I will be the first to ask a question.

I am currently programming with Labview, and I am in a troubled situation.

I want to change a part of the connector to a shift register in the while loop in the program, but the frame of the loop is very large.

Even if you select "Replace with shift register" and try to select one connector, the other connector is outside the screen and you cannot move the screen, so you cannot set the shift register.

How can I configure the shift register in this situation?

 

I think it's a rudimentary question, but I can't come up with a solution, so I'd appreciate it if you could tell me.


The main question is: why is that loop so large that you cannot place the shift register without scrolling the diagram?

 

Suggestions:

  • Usually the diagram scrolls when you move the cursor (to place the shift register connector) to the border of the window. It may take a while to scroll the diagram…
  • When you convert a tunnel to a shift register you will be asked to place the "other side" of the shift register. You can click into an empty area inside the loop to have that connector placed at the border of the loop…
  • Cleanup the VI so the block diagram occupies less space then is visible on your screen before continuing to edit!
  • Implement some kind of SCC (SourceCodeControl) before continuing to edit…

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(972 Views)

Hi GerdW.

 

Thank you for your courteous response.

I tried to minimize the size of the while loop, but due to the multitude of wires, it becomes challenging to distinguish between them when they are tightly packed together. Increasing the gap between the wires results in a larger loop size, which is not desirable. Although reducing the loop size is currently proving to be challenging, I was able to resolve the issue by utilizing the second method you proposed.

 

Thank you for your help.

 

sincerely yours,

 

Hiro

0 Kudos
Message 3 of 3
(946 Views)