How to design a simple binary one-shot
I need a simple binary one-shot that when a signal becomes true, a new value goes True for one evaluation and does not get re-triggered until the original signal becomes false and then true again. I have tried many ways and either the wait for the signal to go false again locks up the loop or the trigger remains true and causes the logic to keep on processing.
Solved!
Go to Solution.
Can you post an image of what you have tried, preferably in .png format? Or attach your code attempts, ID'ing what version of LabVIEW.
Putnam
Certified LabVIEW Developer
Senior Test Engineer
Currently using LV 6.1-LabVIEW 2012, RT8.5
LabVIEW Champion
Similar Messages
-
How to delete multiple InfoObjects in one shot?
Hello Experts,
Is there any way to delete a bunch of InfoObjects / ODSs in one shot?
Scenarios:
1. We have thousands of custom IO which are no use any more and we want to get rid of these IO to save space. How to do it?
2. We have thousands of custom ODS too which need to be deleted. We want to delete ODS which are not used any more and also the InfoObjects in ODSs which are not used by any other ODS or any other places. How do I do that in one shot?
BTW way our BW is 3.1 version but will be upgrading soon.
Regards,
MauHi,
goto RSD1 and mark the option "Free Selection of IObjs"
Hit the Maintain button In the next screen Select your IObjs to be maintained (at this stage the system will lock the selected IObj !!)
In the next screen mark the IObjs you want to delete
Then Menu Characteristics / Delete (shift + F2)
this should work.
Alternatively, try developping an ABAP based on function module RSDG_IOBJ_MULTI_DELETE.
hope this helps...
Olviier. -
How to copying all pages at one shot?
Does anybody know of a way of copying all pages at one shot, under a tabset in an application in a workspace to another application in the same workspace instead of doing it page by page?
There is no Select All option, but you can do it a little faster than opening each email and tapping the Trash icon. In the top rightcorner of the list of email is an edit button. Tap Edit.
You can then tap each email in the list to select it for deleting and then tap the Delete button at the bottom of the list.
These screenshots are from my iPad, but it works the same on my iPhone. -
NEW DEBUGGER: How to delete selected rows is one shot
Hi Specialists,
I have a small question. While debugging a program I have an internal table having 300 records .
Now I wish to delete 290 records during debugger session in one shot instead of choosing 1 by one.
Is there way I can select & do .
I searched but could not locate "SELECT ALL " button.
-Abhinav.Hello here is one example
please follow this formula.
here selection is in terms of
itab-mblnr = itab1-lfbnr.
itab-zeile = itab1-lfpos . "
and system delete selected row of itab using
"DELETE TABLE itab FROM itab."
IF sy-subrc = 0.
itab-mblnr = itab1-lfbnr.
itab-zeile = itab1-lfpos .
DELETE TABLE itab FROM itab.
endif.
Edited by: riten patel on Feb 12, 2010 11:33 AM -
How to design a simple game?
my programming skills are pretty much limited and as most beginners i was coding simple things by build and fix method, but wanna try to do it properly so i'm looking for help. i've been trying to design simple Connect4 game and as i'm coding in java i taken oo aproach. i'll explain exactly steps i've taken and i'd really appreciate if someone familiar with oo design and software engineering in all would point out what i'm douing wrong and if theres is anything ok with my approach.
1. i've started with use-case modelling and created first scenario
scenario created:
1. user clicks start button
2. player1 is presented with empty board and asked to insert token in column of his choice
3. player1 clicks on column where he wants to insert token. token drops (appears) in chosen column
4. player2 is asked to insert token into column
5. player2 clicks on column where he wants to insert token
token drops (appears) in chosen column
6. steps 2-5 are repeated
7. player1 connects 4 in a row and information is displayed player1 has won
i know scenarios should include every possible way of utilizing the software but it gives countless possbilities and i was wonder if scenario for every single way of utilizing the product should be created or maybe not? i suppose that number of scenarios depends on how the product is complicated but in case of very simple game like connect4 aproximately how many scenarios would be expected?
2. having above scenario ready i've used noun extraction method to extract candidate classes and so i have:
players inserts tokens into the board consisting of 7 rows and 6 columns. players trying to connect their four tokens in a row (horizontally, vertically or diagonally) to win.
classes extracted:
player
token
board
row
column
assuming that state of token, row, column will not change, i skipped those and left only two classes board and player. after a while i also noticed that another class named connect4 would be needed to put it all together.
3. having one scenario ready and classes extracted i went directly to drawing sequence state diagram which i've put here
4. next i draw detailed class diagram (here) and more or less decided on methods for every class
5. then i started writing pseudocode but while writing i'm finding myself adding additional methods, variables etc and keep changing design while coding, what dosent seem to be a good practice. i was wonder how it works in real life and what is the chance to get application designed correctly for the first time, i mean extract the classes with methods etc.
to be honest i got lost a little cause according to shach's book i missed state diagram and few other things and dont know how important those bit are in real life and designing real software. as i said i'm real beginner in software engineering and any help would be much appreciated. than you very much in advance for any comments regarding my design and helpi know scenarios should include every possible way of
utilizing the software but it gives countless
possbilities and i was wonder if scenario for every
single way of utilizing the product should be created
or maybe not? i suppose that number of scenarios
depends on how the product is complicated but in case
of very simple game like connect4 aproximately how
many scenarios would be expected?Very few. This program is small and the interaction
with the user is minimal.
2. having above scenario ready i've used noun
extraction method to extract candidate classes and so
i have:
player
token
board
row
column
assuming that state of token, row, column will not
change, i skipped those and left only two classes
board and player. after a while i also noticed that
another class named connect4 would be needed to put it
all together.Things like "player" or "person" are rarely if ever real classes.
Imagine you were designing the control program for an
elevator. Just because a person clicks on the button for
a floor doesn't mean you make them a class in your design.
Likewise, just because a player clicks on a column doesn't
mean you make them a class.
In reality, this program is small enough for one major class,
the gameboard itself. You may have an enum for the token
color but that's about it.
What can you do with this gameboard? Not much:
1. Add a token to column X.
2. Check for a win.
3. Obtain a copy of the board.
Your gameboard only has to maintain the state of the
board and allow you to add a token or check for a win.
Your class to display the gameboard and accept user
input will probably be larger than anything else.
You can write this program with only two classes. The
gameboard and the display.
3. having one scenario ready and classes extracted i
went directly to drawing sequence state diagram which
i've put hereOverkill for a program of this size.
4. next i draw detailed class diagram (here) and more
or less decided on methods for every classAlso overkill for a program of this size. Unless this is
an assignment at work or school, all of these documents
are unnecessary and likely to be several times larger than
your entire program.
5. then i started writing pseudocode but while writing
i'm finding myself adding additional methods,
variables etc and keep changing design while coding,
what dosent seem to be a good practice. i was wonder
how it works in real life and what is the chance to
get application designed correctly for the first time,
i mean extract the classes with methods etc.If you find your design doesn't work while writing code
then yes, you should go back and change your design
document. This isn't too big of a sign of disaster unless
you need to step back another step and change the
requirements document. That's usually a sign you
really messed up.
By all means, go back and change the design document
if you need to before you finish coding.
In this case however, its probably overkill.
to be honest i got lost a little cause according to
shach's book i missed state diagram and few other
things and dont know how important those bit are in
real life and designing real software. as i said i'm
real beginner in software engineering and any help
would be much appreciated. than you very much in
advance for any comments regarding my design and helpIts next to impossible to go through a structured design
process on a project this small while working by yourself.
You really need a bigger project with multiple team members
to see how its all supposed to play out.
Projects of this size are written almost as soon as you start
thinking about them and any documentation you generate will
dwarf your source code printout. -
How to delete recurring objects in one shot
I have a logo that appears on 50+ pages that now needs to be removed. I was hoping I could choose it in Links and hit a delete button and have all of them gone in one fell swoop. But there's no delete option there. Can this be done at all, and how?
Thanks!Is the logo on a master page? If so, it would be a one time delete.
Here is the kludge suggestion of the day... create an Illustrator file with nothing in it, save. In Indesign, relink to the blank .ai file with "Relink All Instances of" selected. This is of course you don't mind that all the original frames remain, but containing a blank graphic file. -
How to design a simple quiz...
Hi everybody
Can anybody help me out with constructing a simple quiz within Edge animate, I don't need it to randomize anything, I just want 10 questions that tally up the answers and send the results in a email to the user
Any help would be appreciated
Regards
GeorgeYou could for example do it like this:
import java.io.*;
class Quiz
public static void main (String [] args)
BufferedReader in = new BufferedReader (new InputStreamReader(System.in));
System.out.println("SUPERQUIZ");
System.out.println("How many legs does a horse have?");
System.out.println();
System.out.println("1");
System.out.println("2");
System.out.println("3");
System.out.println("4");
int answer = Integer.parseInt(in.readLine());
if (answer == 4)
System.out.println("The answer is correct");
else
System.out.println("The answer is incorrect");
This is just a basic program, hope you understand it (hopefully it works).
�sbj�rn -
How to load jar file in one shot?
I have a Java app refers some jar files on remote location. Loading class by class is very time consuming.
Is it possible to load the jar files as a whole? like what applet does?
Tried URLClass loading, even run java -jar, still those load class on demand.
I want the jar file loaded only one time into JVM.I don't really understand. When you load a jar file using URLClassLoader it brings over the jar file and extracts the class files from the jar file. It does not bring over the class files as individual class files. If you mean you want to only ever bring over the jar file once then why not just copy the jar file using URLConnection and save it to disk. You can then load the jar file from disk each time the program starts.
-
How to remove tab stops at one shot after importing a word document
HI everyone,
This is my first post in Framemaker Community as I am moving from RH to FM.
I have an issue with respect to importing word documents to Framemaker.
After I have import a word to doc to FM multiple tab stops are created.
Now, although I remove the tab stops manually once, If I place my mouse in the next line , the tab stops are seen again.
Is there any shortcut wherein I can remove tab stops at one go after I import a word document in Framemaker.
Thanks in advance.
Regards,
ParagEdit > Find / Change
Find: Text: [ \x08 ]
Change To Text: [ \x20 ]
<*> Document
[ Change All ]
This would change all tabs to ordinary spaces. You can actually just type a tab and space character, but I used the hex notation so you see what you're doing. The space could be any other character(s) you desire, or no characters at all (make sure the To Text: field is empty).
Hex codes?
Found here on one of my installs:
C:\Program Files (x86)\Adobe\FrameMaker9\Documents\Character_Sets.pdf -
How to design databse for binary tree
kindly help in desiging databse for binary tree and also to retrive data from database.
Since you're not asking about Java, you'll probably get more responses by posting this in a database forum.
-
How to design a simple menu midlet in j2me?
I'm new to j2me and trying to make a simple menu midlet without using polish (css). Please help... Thank you
You need to use
Class javax.microedition.lcdui.List
Interface javax.microedition.lcdui.CommandListener
Lots of MIDP Technical Articles and Tips at
http://developers.sun.com/mobility/midp/reference/techart/index.html
For future needs, please post on the CLDC and MIDP forum
http://forum.java.sun.com/forum.jspa?forumID=76
db -
I have bought and been using the 'Adobe Creative Suite 6 Design Standard'.
How do i move this from one laptop, to another laptop?
I require this for uni, and am struggling to move it across!
If you can help that would be greatHi 7717arrow,
Please use the below link to download CS6 Design standard on the new machine.
http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
Use the same serial no. to activate the product.
Thanks -
How do i select a whole heap of bands and change there genre in one shot .
how do i select a whole heap of bands and change there genre in one shot like old itunes, before i was able to hold ctrl and select all the bands, now i have to do it individually or go to songs and select them individually.
ctrl or shift doesnt do anything anymore.
thaks for your help.Use the Songs or List views.
tt2 -
How to open All *.fmb files at one shot in Form Builder
I have 20 *.fmb files i need to open all at one shot in form builder ......Please tell me how to do that
Edited by: user10365515 on May 1, 2010 4:05 AMSo, just go to that directory select that 20 files and double click or hit enter it will open in one form builder session.
Note: You can not open from Form Builder. -
How do i deleting many backup on one shot ? (Bulk deleting backup)
Hello,
I looking for any method for removing old backup on one shot.
Anyone already done it ?
Thanks
GuyIn the vsphere web client you can go to the restore tab and select multiple backups to delete within each client. So if you have multiple points in time for one client to delete its quick. If you want to delete multiple clients backups I'm not aware of a quick way.
You could script the delete using mccli but it would require some knowledge about how it works that is not documented by vmware and would not be for the faint of heart. I highly doubt mccli is fully supported by vmware so use at your own risk. Even if it was supported it would probably still be quicker to delete each backup in the the VDP webclient. Thinking way outside the box one possible work around would be to create a new VDP appliance and replicate the backups you want to save to it then delete the old appliance. Although you would probably have to recreate all your backup jobs on the new appliance so I doubt its what your looking for.
Maybe you are looking for
-
Mid 2010 27" IMac Target Display Mode has stopped working
I have a 27" mid 2010 IMac, NOT the thunderbolt version, and have been using it in target display mode for my Mac Pro and 2010 Mac Mini with no problems. I have used the Belkin cables, and routinely would switch between internal and external machine
-
My operating system is OS X (version 10.6.8) and I have a Mac Mini.
-
Error [2] in bind() call!
hello my weblogic was working perfectly yesterday. then some genius installed some windows updates on my machine and now i get this message whenever i try to run my weblogic server: Error [2] in bind() call! err:: No such file or directory Socket tra
-
Hey everyone, I have a Blackberry Q10 with T-Mobile and have had the following error message appear over the weekend: Your Account is no longer synchronized with your device. Check that your account settings are correct. If they are correct, contac
-
Repeating artist name on ipod !!!!
how Do you get red of the repeating of artist name on your ipod ???? Help !!!!!!!!!!!!!!