LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Digital Out - ganz einfaches Programm

Hallo zusammen!

Ich habe vor ein paar Tagen nach einem Programm gefragt, dass man mit einer State Machine hätte realisieren können. Das ganze wirdaber doch zu kompliziert! 😉 

Deswegen benötige ich jetzt eine ganz einfache Alternative.

Das Programm soll nichts anderes können, als einen Digitalausgang ein- und wieder auszuschalten! Heißt auf dem Frontpanel soll einfach nur ein Kippschalter sein, mit dem das geregelt werden kann.

 

Wie kann ich das realisieren? Könnte mir bitte jemand einen Screenshot hochladen, mit dem ich das schnell machen könnte? Stehe gerade auf dem Schlauch, das ist doch bestimmt ein Leichtes für euch!?

 

Dankeschön und viele Grüße!! 

0 Kudos
Message 1 of 8
(3,405 Views)

Please try posting in english here

 

 


Translation

 

 

Hello everyone!

I asked a few days ago for a program that you would have with a state machine can realize. The whole wirdaber too complicated! 😉

So now I need a very simple alternative.

The program would otherwise be able, as a digital output on and off again! States on the front panel will be just a toggle switch, which can be regulated.

 

How can I achieve this? Could I please someone upload a screenshot, which I could do quickly? Stand up straight on the hose, that's certainly easy for you!?


 

 

0 Kudos
Message 2 of 8
(3,402 Views)

like this?

 

this.PNG

0 Kudos
Message 3 of 8
(3,399 Views)

well, why do I have to use thise case-structure and where's the task itself? where do I set the channel I want to use for output? does I have to place this into the case-structure? and, if I'd have to do so, how would the task be like?

 

thanks for your answer & your appropriate translation! 

0 Kudos
Message 4 of 8
(3,397 Views)

 


well, why do I have to use thise case-structure and where's the task itself? where do I set the channel I want to use for output? does I have to place this into the case-structure? and, if I'd have to do so, how would the task be like?

 

thanks for your answer & your appropriate translation!


 

 

Wow. ok here i go. My understanding is you are going to control everything using buttons in the front panel right? I have suggested something like. Continously check for state changes in the button and if any button is clicked then the corresponding case structure will be executed.

 

 

If you have something different in mind please explain

0 Kudos
Message 5 of 8
(3,395 Views)

Yes, that's correct. Basically there should be the toggle-switch to witch the digital channel on resp. off. and of course the stop-button to stop the VI (while-loop). nothing more.

 

are you shure it can't be realized in another way using no arrays ore smething like this? more or less I just need something to activate the channel! and: some help to build the task I need for this output, I've never done this before.

 

0 Kudos
Message 6 of 8
(3,391 Views)
Toggle switch is fine but answer the important question of what do want the default behaviour to be? I have suggested waiting for you to click.
0 Kudos
Message 7 of 8
(3,381 Views)

when starting the VI, the output should be turned off. by using the toggle switch I want the channel to be turned on. that's it!

thanks in advance! 

0 Kudos
Message 8 of 8
(3,377 Views)