Design XIBPM nested switch
hi all
how to design nested switch in XI(BPM).
thank u
swari
http://www.****************/Tutorials/XI/CollectMultipleIDocs/Collect1.htm
this will show u step by step
Similar Messages
-
How to design a digital switch in order to modulate an analogue carrier?
Hi,
I am struggling with something that, I think, might be simple. I am programming a digital modulator. It multiplies an analogue waveform (carrier) by 1 or -1 according with the value in the digital signal.
Thus, how to design a digital switch using a digital waveform?
I have tried to use Numeric and Boolean functions, but I am getting constant errors due to data type incompatibilities (broken wire).
Many thanks,
DaveMInd showing us your code?
You might have to use a FOR loop to process your data.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
Cleaner Alternative to Nested Switch
Hi,
I have some code that runs a simple wizard using YES_NO JOptionPane's.
The code started off relatively simple with only two questions e.g
switch (question1)
case yes
switch (question2)
case yes
run command
break
case no
display message
break
case no
run command
break
}This has now grown into a five level nested switch statement, which apart from looking ugly, I am not looking forward to having to maintain it.
Is there an alternative solution to coding a long nested switch statement for this kind of application?
Im still fairly new to the language and principles so all Im looking for is a couple of pointers in the right direction.
Cheers
r-loPolymorphism would be the preferred way.
Something like:interface Question {
boolean ask();
class Question1 implements Question {
public boolean ask() {
// ask the question
boolean yes = ...
if (yes) {
return new Question2().ask();
// run command
return yes;
class Question2 implements Question {
public boolean ask() {
// ask question
boolean yes = ...
if (yes) {
// run command
} else {
// display message
return yes;
} -
Designer 9i - nested DDL structure not executable for XML
To support an XML data transfer, we need to define types,collections, and tables. When we define a table that references types and collections, we do not get adequate DDL from Designer 9i that identifies all of the nested structures, and the DDL that is generated is not executable. We can manually type the DDL and specify the appropriate nesting. We have done that, executed that successfully. We have then reverse engineered this table into Designer 9i, and requested DDL from it. The resulting DDL is not executable. Has anyone run into this problem?
Designer 9i does not support these complex datatypes, hence your errors.
Regards
Sue -
When I'm using IPad 2 with the Apple cover as recommended, I sometimes tilt the IPad towards me for better viewing. The position of the volume control switch cause the volume to be lowered to nothing. Just bad design I guess.
You can send apple feedback if you want. Nothing us fellow users can do about design
-
How do I use nested Label with nested Switch in Powershell?
Hi,
I am trying to run the script with Label and Switch in Menu format so that the main module calls the submodule and ends in the submodule. The submodule should be able to call another module.
Please correct the script, as I think I am going wrong
Do { Write-Host " ----------MENU A----------
1 = option 1
2 = Option 2
3 = Option 3
$choice1 = read-host -prompt "Select number & press enter" }
until ($choice1 -eq "1" -or $choice1 -eq "2" -or $choice1 -eq "3")
Switch ($choice1)
{ "1" break :module1
"2" break :module2
"3" break :module3
module1
Do { Write-Host " ----------MENU B----------
1 = option 1
2 = Option 2
$choice2 = read-host -prompt "Select number & press enter" }
until ($choice2 -eq "1" -or $choice2 -eq "2")
Switch ($choice2)
{ write "Module 2"
"1" break :module2
"2" break :module3
module2
Do { Write-Host " ----------MENU C----------
1 = option 1
$choice3 = read-host -prompt "Select number & press enter" }
until ($choice3 -eq "1")
Switch ($choice3)
{ write "Module 3"
"1" break :module2
Tirtha Chandan TripathyHi Tirtha,
What you want to do in PowerShell is separate elements of logic trees into individual functions. I rewrote your script attempt somewhat to show you how to do this:
function Show-MenuMain
Do
Write-Host @"
----------MENU A----------
1 = option 1
2 = Option 2
3 = Option 3
$Choice = read-host -prompt "Select number & press enter"
until ($Choice -eq "1" -or $Choice -eq "2" -or $Choice -eq "3")
Switch ($Choice)
"1" { Show-MenuModule1 }
"2" { Show-MenuModule2 }
"3" { Show-MenuModule3 }
function Show-MenuModule1
Do
Write-Host @"
----------MENU B----------
1 = option 1
2 = Option 2
$Choice = read-host -prompt "Select number & press enter"
until ($Choice -eq "1" -or $Choice -eq "2")
Switch ($Choice)
"1" { Show-MenuModule2 }
"2" { Show-MenuModule3 }
function Show-MenuModule2
Do
Write-Host @"
----------MENU C----------
1 = option 1
$Choice = read-host -prompt "Select number & press enter"
until ($Choice -eq "1")
Switch ($Choice)
"1" { Show-MenuModule1 }
Show-MenuMain
I know, this really only prepares the path to a host of new questions, more than answering your current ones, but it gives you something to work with and build upon.
Cheers,
Fred
There's no place like 127.0.0.1 -
Hey, I am trying to incorporate a kill switch into this VI. I have made an attempt but it will not exit the wait time in the wait function when I want to turn all of the values to false immediately instead of waiting for the wait time to expire. Can anyone help me with this?
Attachments:
Project.vi 58 KBThat's because the value of the switch is read immediately upon starting the loop. So you have to wait almost 60 seconds for that loop iteration to end. Then the loop will begin its next iteration at which time the now False state of the button will be read (logic seems kind of backwards). But then you have to wait another 60 seconds because that iteraiton of the loop needs to complete.
What you need to do is put a while loop inside of there that continually reads the state of the Kill button with a small wait statement to keep from eating up CPU cycles. Use the Elapsed Time express VI. Now have that inner while loop stop when either the Elapsed Time Timer goes true, OR the Kill button goes to its False Kill state. Now the Kill button will be read very frequently and will seem to respond immediately. -
Design pattern for Switching Operation Modes
Hi,
I'm trying to create an application that has three operational modes (training, exercise production).
I desire to know what design pattern I should use to optimize it.
The logic is simple, the user must log in and then must choose which mode it wants to use.
According to the selected mode, the business will be different.
thank you in advance for your help
mhadjisHi,
You can defined operation modes under exception in SM63 where on particular date you can define which operation mode you want. But I don't think so you can schedule it. You have to define it manually for days you want particular exception.
Thanks
Sunny -
Please shed some light on Data Center design
Hi,
I want you guys to recommend what the design should be. I'm familiar with HP blade system. Let me clarify the existing device.
1. HP Blade with Flex Fabric. It supports FCOE.
2. MDS SAN switch for the storage
3. Network Switch for IP network.
4. HP Storage.
HP Blade has 2 interface types for IP Network(Network Switch) and Fiberchannel(SAN).
What is the benifit for using Nexus switch and FCOE for my exising devices. What should be a new design with Nexus switch? Please guide me ideas.
THX
ToshiHi, Toshi:
Most of these chat boards have become quite boring. Troubleshooting OSPF LSA problems is old news. But I do pop my head in every now and then. Also, there are so many other companies out there doing exciting things in the data center. You have Dell, Brocade, Arista, Juniper, etc. So one runs the risk of developing a myopic view of the world of IT by lingering around this board for too long.
If you want to use the new B22 FEX for the HP c7000 blade chassis, you certainly can. That means the Nexus will receive the FCoE traffic and leverage its FCF functionality; either separate the Ethernet and FC traffic there, or create a VE-port instantiation with another FCF for multihop deployments. Good luck fighting the SAN team with that one! Another aspect of using the HP B22 is the fact that the FEX is largely plug and play, so you dont have to manage the Flex Fabric switches.
HTH -
Has anybody experienced the iPhone off switch not working all the time.
I have an iPhone 5, it's about 16 months old and it has experienced an annoying issue. The off button does not work all the time, sometimes I have to press it multiple times and other times it just works. The worst case is when it does not work at all, very frustrating. I didn't expect this type of issue for a phone that is not even a year and a half old.
I did some searching on the internet and there are 2 schools of thought, the first is that this is a hardware fault and Apple know about it but won't admit it because it would cost them too much to repair/replace phones with the issue. The second school of thought is that it is a software issue and a backup/reset/restore will fix it; I tried doing this but it did not resolve the issue.
Further digging seemed to suggest that it was really a hardware fault and the only option was to get a refurb from Apple for a ton of money, not cool.
Anyway, if anyone has any more information that could help me resolve this issue I would greatly appreciate it.
//*eggbox23@diesel vdub, thanks for your suggestion, I setup an appointment with the Genius Bar and found out in about 5 minutes that everything I have read up on so far is true.
Firstly the technician admitted that there is a sporadic fault on the iPhone 4s and iPhone 5 switches, something to do with the design of the switch that included a rubber element that rolls up (whatever that means) and causes the switch to fail. He then indicated that the iPhone 5s does not have the issue because the switch has been completely redesigned.
Since I was stupid enough to not take out the extended warranty the only options he gave me were to purchase a new phone or to get a refurb for $269, not cool. Why would anyone think that a phone would not work correctly for 2 whole years when the phone only cost about $600!
Since I have about 7-8 months left on my phone contract I am not prepared to pay for either option. I find it amazing that a phone can develop this type of issue in such a short time and then expect the customer to pay for their failures. Apple supposedly sells a very high quality product for a very high price, looks like they have taken a step back from this philosophy.
I am disappointed in the options that he gave me (I don't blame the technician) but I suppose I expected more from Apple in terms of quality and service.
//*eggbox23 -
Components inside components - Bad design?
Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?
<com:MyComp1>
<com:MyComp2> <com:MyComp3>
<s:Label text="This is a test."/> </com:MyComp3>
</com:MyComp2></com:MyComp1>It all depends. Knowing nothing about the components, all I can say is that it depends on the complexity of the components individually and collectively as well as what level of reuse you may desire.
-
Design / code view problem
Hello, I have been using DW for a while now. I only use code
view. When I first installed DW it asked for a default layout which
I assumed had nothing to do with the viewing of code vrs design,
just the layout. I chose coder layout.
Now I am in DW and I need to look at the design in real time
because I am having an issue that is causing me to go back and
forth between browser and DW and it is getting old. So I looked up
at the top where the toolbar is and design and split buttons are
greyed out and inactive for me. I thought this was odd so I created
a new basic HTML page to see if it would allow me access to these
buttons but again, no.
If I go to view menu same thing. I can only check code view.
I can however go to the window menu and change the layout to
designer, dual or coder but all this does is undock many of the
panels. I still cannot see the visual element of my code.
Can anyone please help me with this problem? At its most
simplest form, I created an HTML page that says Hello World and I
would like to be able to see this in both code and design view or
switch easily between the two. But as of now, it does not seem like
I have this ability. Again I am using DW 8
Thank you for any helpI see you are using DW8. OK....
Also, changing from coder to designer won't affect the split
view.
Have you tried reinstalling? Has DW always been this way that
you recall?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"tripwater2000" <[email protected]> wrote in
message
news:ebaf3a$hvk$[email protected]..
> Hello, I have been using DW for a while now. I only use
code view. When I
> first
> installed DW it asked for a default layout which I
assumed had nothing to
> do
> with the viewing of code vrs design, just the layout. I
chose coder
> layout.
>
> Now I am in DW and I need to look at the design in real
time because I am
> having an issue that is causing me to go back and forth
between browser
> and DW
> and it is getting old. So I looked up at the top where
the toolbar is and
> design and split buttons are greyed out and inactive for
me. I thought
> this was
> odd so I created a new basic HTML page to see if it
would allow me access
> to
> these buttons but again, no.
>
> If I go to view menu same thing. I can only check code
view. I can however
> go
> to the window menu and change the layout to designer,
dual or coder but
> all
> this does is undock many of the panels. I still cannot
see the visual
> element
> of my code.
>
> Can anyone please help me with this problem? At its most
simplest form, I
> created an HTML page that says Hello World and I would
like to be able to
> see
> this in both code and design view or switch easily
between the two. But as
> of
> now, it does not seem like I have this ability. Again I
am using DW 8
>
> Thank you for any help
> -
Hi all,
does anybody familiar with good design guide of Cisco data center design evolving nexus 2000, 5000 & 7000 with FCoE ?
thanks,Hi all,does anybody familiar with good design guide of Cisco data center design evolving nexus 2000, 5000 & 7000 with FCoE ?thanks,
Hi ,
Check out the below link on Data center design with Nexus switches
http://www.cisco.com/en/US/prod/collateral/switches/ps9441/ps9670/C07-572831-00_Dsgn_Nexus_vPC_DG.pdf
Hope to Help !!
Ganesh.H
Remember to rate the helpful post -
anyone know what the average bandwidth for a company based on LAN games and Online games are?
(it could be any game)
what factors must take into account to design a LAN switched network based on hierarchical model?
cheersDisclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Joseph, How can I minimun latency in LAN as well no packet loss? with protocols, switches,...How packet transmission latency is reduced when all of hosts are connected to access switches on 100Mbps? why not 10 or 1000Mbps?
"... or gig." = 1000 Mbps
Why not 10 Mbps? Because transmission latency, for any size packets is reduced as bandwidth is increased.
How no packet loss? With sufficient bandwidth so there's little need to queue, and if you do need to queue (which again we want to avoid), sufferient buffering so packets aren't dropped.
on the other hand, imagine for a LAN game you need 1Mbps bandwidth. There are 4 VLANs(12,24,36,48 users in each VLAN) and you must use hierarchical model( access,distribution and core layers) and just are allowed to use VLAN,Trunk,VTP,DTP and Rapids PVST+.How can I reache to this amount of bandwidth in LAN?
Why must you use hierarchical model? Modern data center designs, which are aimed at minimum latency, often no longer use the 3 layer design.
If you have multiple VLANs, and we cannot route, hosts won't be able to contact hosts on other VLANs.
Don't understand your last question. -
Vews keps switching to Split View
I rarely use split view. Mostly just code view and
occasionally design view. However, quite often Dreamweaver will
just decide to switch over to split view with out me telling it to.
When it switches to split view the split is at the bottom, so I
can't see the design part. I don't want to ever be in split view
unless I tell it to. Is there any way around this? Has anyone else
had this issue? By the way I've had this same issue in MX, MX 2004,
and Version 8 so I don't think it's just my system. I'm currently
using version 8.Fred,
> I rarely use split view. Mostly just code view and
occasionally design view.
> However, quite often Dreamweaver will just decide to
switch over to split view
> with out me telling it to.
There are certain operations that require Code View to
provide the
necessary feedback, so if you are in Design View, DW switches
to Split
View as a compromise of sorts.
The only way around that is to make note of what operations
cause DW to
switch from Design View to Split View, and always perform
them from Code
View.
HTH,
Randy
Maybe you are looking for
-
CS4 files from pc not saving on Mac CS5
I did some illustrations in CS4 (v11.0.2) on a PC and now the client is having a problem working with them in CS5 on his Mac. I did seven illustrations for a book our church is publishing. I provided the illustrations to the graphic designer who is u
-
How to export flv file from Final Cut Pro?
I'm using Final Cut Pro and try to export edited video in "Flv" format. However, there is no such choice and only "Flc" available? My friend has the same version of Final Cut Pro and there is "Flv" format to choice, why?
-
IOS 8.0.2 iPad 2 Bugs
1. The copy/paste function is not working correctly. You try and adjust the selection by dragging the blue dots and it just slips away and goes completely crazy sometimes. 2. The lock screen wall paper keeps magnified each time when the iPad 2 is pow
-
Hello all, i want to link two elements in two JTrees so when i add a child to one of them at run time it will appear in the other too??? thanks in advance.
-
Syncing music says will delete apps on iphone
I'm trying to sync music to my IPhone 4 and when I select songs and choose 'apply' a warning message pops up that says 'Are you sure you want to delete x number of apps from IPhone? This will delete the apps and their data? Cancel or Remove' Has anyo