キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Switch between two formulae

Hi,

 

I am looking to place a switch on my front panel which will route my signal into the selected of 2 different formulae. How do I do this?

 

I have an input signal which may be from a type 'J' or type 'K' thermocouple. I want to put a switch on the front panel which can select the correct mathematical formula to use for the thermocouple in use.

 

See Picture - The sine wave should go through one of the formulae depending on the switch position.

 

 

Any ideas how to do this please?

 

0 件の賞賛
メッセージ1/4
3,005件の閲覧回数
Use a case structure inside a loop. Connect the selecting switches to the case select.
0 件の賞賛
メッセージ2/4
2,993件の閲覧回数

As muks said...

 

To make it easier for you to see what is going on in the block diagram and on the front panel, consider using an Enum control, or a radio button control - type define it.

 

James

CLD; LabVIEW since 8.0, Currently have LabVIEW 2022 SP1 installed
0 件の賞賛
メッセージ3/4
2,964件の閲覧回数

I actually find it quite odd that you would ask this question, since you already have a case structure on the block diagram. In fact, you asked almost the same type of question before.

 

Let me reiterate:

 

To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.

メッセージ4/4
2,946件の閲覧回数