From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

submarine simulator

Solved!
Go to solution
thanks felix
0 Kudos
Message 11 of 13
(689 Views)

hey folkes i wondered could anyone tell me where i am going wrong with the code,

 

I am a novice at labview !

 

here is the code so far

 

thanks

0 Kudos
Message 12 of 13
(646 Views)
Solution
Accepted by topic author lfc4life

Hi lfc,

 

1) Why do you have that STOP functionin the loop? The loop will stop using the condition terminal.

2) What will be your stop condition? Raising the periscope?

3) Why don't you have a wait statement in the loop?

4) What should happen with vertical speed?

5) You calc the depth as 9.78*1020 ~= 10000, but the display is set for a range of 0...120...

 

You better look again on your formulas, which you had to search for in the internet...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 13
(642 Views)