ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tunnelling Problem

Hello,

 

Here is the .vi. Very much appreciate your help. Could you explain the new things you do to it. Thanks,

 

Nevica

0 Kudos
Message 11 of 16
(1,552 Views)

I am using LV 2010. Please save it to previous version and send

Regards
Guru (CLA)
0 Kudos
Message 12 of 16
(1,547 Views)

I also use LV2010. Maybe exchange the stacked sequency to a flattened one and have a look at the wiring; I am quite sure that you will immediately see some wires that you did not intend to be like that...

 

The upper box I was using was an error cluster constant, the other one is the "merge error.vi" you will find it in your functions palette.

0 Kudos
Message 13 of 16
(1,538 Views)

A rather simple way to get rid of the sequence and avoid the multi connectors is to replace it with a For/While loop and Case structure connected to 'i'. Then you can send your error out to a shift register and use the same connection on all.

 

Even better is to change the case connection with a enum with a descriptive name, then each case will describe what it does.

 

Then you can bundle up the functionality in each case/sequence frame into a sub-vi of it's own and simply wire them together. 🙂

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 14 of 16
(1,506 Views)

@Yamaeda wrote:

A rather simple way to get rid of the sequence and avoid the multi connectors is to replace it with a For/While loop and Case structure connected to 'i'. Then you can send your error out to a shift register and use the same connection on all.

 

Even better is to change the case connection with a enum with a descriptive name, then each case will describe what it does.

 

Then you can bundle up the functionality in each case/sequence frame into a sub-vi of it's own and simply wire them together. 🙂

/Y


Kind of like a machine with... states???  Brilliant! Smiley Very Happy

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 15 of 16
(1,499 Views)
Kind of like a machine with... states???  Brilliant! Smiley Very Happy

 

😉 Sneak the idea onto them.

 

/Y

 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 16 of 16
(1,492 Views)