K8055 Need help making boolean pulse at ms rate

Hey
I have board set up and connected. the board consists of 8 digital output 2 analoge 2 pwm outputs these outputs are switched that toogle on and of and have a led to display there state. i currentlly have it set up so i can turn the on and of with a boolean switch. what i want to do is pulse one of the boolen switches on and of at a ms rate prob about every 3ms how do i set up this on the current wiring i have. file attached
Attachments:
labview8_k8055.zip ‏191 KB

I believe the sampling rate for the k8055 is around 100 Hz, so you'll struggle to get better than a 10ms rate.
If you still want to proceed, a state machine with some timing added is a way forward. This will allow you to have different states for digital out, analog out etc so that you can perform the right actions in the right order in a sensible fashion. Ditching the stacked sequence in the Velleman demo code that you posted would be a good move!
Ian

Similar Messages

  • I need help making Adobe Edge animation appear correctly on iphones, ipads and android phones.

    I need help making Adobe Edge animation appear correctly on iphones, ipads and android phones. It currently looks fine on desktops and androids. I am using wordpress with a responsive theme (Canvas). I will need you to document The url is http://adamhtc.org.s183459.gridserver.com.

    Thanks George, interesting thought.  I looked on Adobe's site and they "advertise" fillable forms for the iPhone and Android markets, but on the Windows Phone tab, that is mysteriously missing.  lol    Maybe it will come later?   Meanwhile, I'll google to see if there are any PDF viewers that can handle it now.   Thanks for the reply.  :-)

  • My grandma is a new apple user and she needs help making an apple account.

    my grandma is a new apple user and she needs help making an apple account.

    She should call Apple support or visit the Genius Bar at an Apple store (make an appointment first at http://apple.com/retail). They will walk her through the process.

  • Need Help making a Screencast for IPHONE

    Hello there
    I need some serious help making a screencast for a client - for it's Iphone Apps -
    something similare to this
    http://www.newsluxe.com/chaumet-et-iphone.php
    but more sexy, with a animated background and a different type of cursor.
    Anyideas ?
    I really don't know where to start - I found leads however :
    Camtasia Studio , screenflow, ,
    Maybe you could help me filling the gaps.
    Thanks for your help !

    does anyone know how apple made these forums?
    I think they use Jive:
    http://www.jivesoftware.com/products/forums/
    The Apple way for users to add photos is the .Mac web gallery:
    http://www.apple.com/ilife/iphoto/#webgallery

  • Need help making a simple script for my webcam

    Hey everyone, fairly new to applescript programming. I just bought a usb camera for my macbook because I use it for video conferencing/playing around, and it is better quality than the built in isight. However, in order to use this camera I need to use drivers from a program called camTwist. This being said camTwist needs to be opened first and the usb camera must be selected from camTwist Step 1 list in order for any other application to use the camera. I just want to make a simple program that would open camTwist first, then select "webcam" from the list (double click it like I always have to in order to select it) in order to activate the driver, and then open photo booth which would then be using the camTwist driver in order to take pictures.
    I made a crude program but it does not automatically select "webcam" from the Step 1 list in camTwist:
    tell application "CamTwist" to activate
    delay 10
    tell application "Photo Booth" to activate
    that’s basically it. I set the delay to 10 seconds so that when camTwists boots up first I can manually select my webcam. HOWEVER, I would like to make a script that would boot up CamTwist first, select my webcam from the list automatically, and then open Photo Booth with the CamTwist webcam driver already selected.
    Don't know much about applescript so any help to make a working script to solve my problem would be greatly appreciated! Thanks!

    Solved my problem but now I need help with something else! First I used CamTwist user options to create user defined hot keys with the specific purpose to load the webcam. I chose Command+B. I tested it out in CamTwist and it worked. The program follows a logical order from there. First it loads CamTwist, then after a short delay it presses the hot keys in order to load the webcam from the video source list, then another short delay and Photo Booth is opened with the driver loaded from camTwist. Everything works Perfect! Here's the code:
    tell application "System Events"
    tell application "CamTwist" to activate
    delay 0.5
    --Press command+b which is a user defined hot key to load webcam
    key code 11 using command down
    end tell
    delay 0.5
    tell application "Photo Booth" to activate
    My Next question is, would it be possible with this same script to have both applications quit together. For example I always quit Photo Booth first, so when I quit photo booth is there a way to make CamTwist also quit and keep everything within the same script? Please let me know. This forum has been very helpful and lead me to a solution to my problem! Hoping I can solve this next problem as well! Thanks everyone.

  • I need help making a square that scans across a screen.

    i'm trying to make a program that creates images of a square scanning across a black background.  so far all i have is a program that makes one image where i can alter the size of the square and its position.  I'm very very new to labview and i need help with the structure that would create all the images of the square scanning across and then shift down and scan across again.
    thank you very much,
    Joseph Sadler
    Attachments:
    Drawexample.vi ‏24 KB

    As Lynn found, there is a memory problem with the vi which didn't show up in my limited testing.
    Using Shift Registers with Picture Controls can cause problems.
    See this thread.
    Try the attached "mod" version.
    Then I got to thinking, why redraw the box (2x with "erase") - when you could just move a box around?
    (Note: I used a picture for the box, but you could use other objects.)
    The "mod1" version does it this way.
    steve
    Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
    question. Give "Kudos" to replies that help.
    Attachments:
    squarescan mod.vi ‏20 KB
    squarescan mod 1.vi ‏20 KB

  • I need help making a new Arch install ISO

    I have posted a couple of messages, but as yet no one seems to have responded, probably because they have not read them.
    I need help building a new ISO for Arch, to take account of dmraid.
    I can and have built ones that get so far, and clearly I am not that far away.
    All I need help with now is getting at the contents of the initial ramdisk (/isolinux/initrd.img) so I can make a new one with modifications, and if anyone can help, I need a hand working out how to use the kernel26.img that I will end up with on a system.
    Any help appreaciated.

    As far as I know this will be included in the next ISO release. I solved it by manually bringing the dmraid package to the install and wrote a guide on installing your root system on dmraid. However when the system crashes I have the slight inconvenience of having to install dmraid and manually mount the sets to do a recovery. I guess this is the part you want to get rid of aswell. I decided to wait until the next holy ISO.

  • Needing help making a Slideshow in Premiere 7

    Back in 2008 several contributors on this forum helped me make a slideshow using Photoshop Elements 6 and Premiere Elements 4, which I am forever grateful for. It was a long process as I had never made a slideshow before, but after much labor I created a wonderful slideshow of my Alaska photos with music. After a lot of reading I decided to upgrade to Elements and Premiere 7, which I was able to actually do for free.   I purchased the Muvipix.com Guide to Adobe Premiere Elements 7 as I was told this would be a great resource to help me out. Well, here I am two years later trying to make a slideshow again and still as confused as ever. I am trying to make the slideshow in Adobe Premiere Elements, as I was told last time it was easier to do it that way if I wanted to add music to it. I am just getting started and am already confused.
    My first question is: Am I best off making the slide show in Premiere Elements rather than Photoshop Elements? I want to add music to it.
    I have tried using both the book that came with the program and the Muvipix book and I am lost on step one.
    In the Adobe manual it says to deselect the Show Video and Show Audio buttons. Why do I need to deselect these?
    In the Muvipix book it tells me to select a number of clips amd then either right-click on them or click on the ">>" button to access the "Create Slideshow" too.  I can't find the ">>" button. How do I access the the "Create Slideshow" feature?
    I have a question about the stills that show up in the panel. Many actual photos appear in this panel. However, there are also a large group of boxes with two swirling arrows, one green and one red. Why are they there rather than actual photos? I have tried double clicking on a few and they all bring up the same photo folder from "my pictures." I am confused.
    Sorry if my questions seem very basic, but this is not what I do for a living. It is a once every couple of year hobby. Perhaps if I ever get it downpat I will do it more often.
    Thanks for any help you can give me. I am sure I will need a little more handholding. I have been looking for the last two years for a class on this program. I know that is what I need. However, none have been available in my area.

    Thanks for the response Steve. I am hoping it will be easier this time around.
    "If you're seeing empty boxes with swirling arrows in them instead of your photos in the Project panel, it means that the program no longer has access to the photos -- either because they were moved or the device that they were on (your camera?) was disconnected from the computer. You really need to copy these photos to your computer's hard drive if you're going to use them in a project"
    These photos were still on the harddrive. I checked in Photoshop Elements and they needed to get reconnected. Here is what I think happened. When I download my photos, they go into MY PICTURES. When I move them from where they automatically get placed by the program, into a folder of my choice, they seem to get "unconnected". I was able to reconnect them and now they appear in Premiere Elements. Thanks for the tip which actually led me to a solution.
    "There are actually at least four different ways to make a slideshow in Premiere Elements and Photoshop Elements. Each has advantages. Which method are you using? (In all cases, as I say in my book, you should make sure your photos are sized to no larger than 1000x 750 pixels in size before you begin.)"
    I am just starting and I was using Premiere Elements 7. I thought I was told back in 2008 on this forum it was easier to do it all in Premiere Elements if I wanted to add music rather than creating it in Photoshop Elements and then moving it to Premiere. As far as photo size, I am a real beginner here. I have no idea what size they are or where to look to find that out. All I know is that  my Alaska slideshow turned out great and did nothing about changing pixels. Where would I find out how to change pixel size?
    "It sounds like you're using the Create Slideshow tool in the Project media panel. (As I say in Chapter 1, you'll only be able to see the >> menus if you go to the Window drop-down menu and select Show Docking Headers.) You can also access this tool by selecting all of the photos you want to include in the Project panel and right-clicking on them."
    I did read about Show Docking Headers and did follow that instruction. That was the first thing I did, actually. However, when I am in Premiere ELements, I still don't see where I find the Create Slideshow tool that you mention on p. 59. I am a bit confused with this option. I can move the photos I want from the panel to the Timeline, but I am confused as to where the "Create Slideshow Tool" is located.
    Thanks again for your help.I know I will get this done, just very slowly.

  • Need Help making a navigation menu for a website

    Alright so I've been having some problems getting this to work correctly. I am making a navigation menu for a website and I'm trying to get when I hover over the main header a drop down appears animated of course below it. I also want when you highlight a specific text line for it to highlight blue along with a rectangle behind it to change to a lighter shade of red.
    Some of the problems  I have been running into is play and stop commands on mouseover and them not stopping when they should and getting the text to change color.
    Thanks for the help.
    Here are some screen grabs of what I am doing
    http://imgur.com/W2bZuF3
    http://imgur.com/W2bZuF3
    http://imgur.com/2GI3y71

    Your page's code is still a bit of a wreck.  Do you ever look at it?
    <html>
    <style type="text/css">#p7MBM_1 {
      width: 951px;
    You need a doctype first - I recommend HTML4.01 Transitional.  Open this (and other pages) in DW and use FILE | Convert > HTML 4.01 Transitional, then save.  But wait until you do the other changes recommended below before doing this.
    Add a <head> tag below the <html> tag.
    Add a <title> tag below the <head> tag.
    Add this below the <title> tag - <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    Add </head> below this -
    <style type="text/css">
    <!--
    .style10 {font-family: "Goudy Old Style"}
    -->
    </style>
    You may want to change that font-family style to "Goudy Old Style, Geneva, Times, 'Times New Roman', serif", since Goudy is not web safe.
    Move <body> below that </head> you just added.
    That will clean your code up a bit.  Let's look at the page again when you have done these.

  • I need help making a pie chart

    Hello, hoping for some help with making a chart that will update as i continually input data
    I have a chart that has many columns logging details of win/loss records. I would like to make a pie chart that represents a set of columns and shows the ratio of wins for each of the columns.
    I will try and give some better details. There are 5 columns (j,k,l,m,n) and each represents a color. In each column there are check-boxes. 1 or more will be checked on each row. On the same row there is a tally of wins. each row represents a different day. What I am looking for is a pie chart that shows how many wins i have in each color.
    for example.
    nov 1st: 5 wins in color J
    nov 2nd: 2 wins in color k
    nov 3rd: 4 wins in colors m and n
    the pie chart will contain a total of 15 'wins' split up on the chart between each color....... 5(j) + 2(k) + 4(m) + 4(n). theoretically the J should take up 1/3rd of the pie and so on.
    I also have a total at the bottom of the colors column, but this will not show which color got the wins.
    Hopefully this makes some sense to understand and if I am very fortunate someone much smarter then me will be generous enough to help me out.
    Thank you very much, all help is appreciated.

    Hi Anthony,
    This table may be  what you want. I added a row at the top (you don't need that row. It is just may way of getting around the poor screen shots in this forum).
    I hid some columns, then I copied the table and pasted directly into this reply (I have had it with screen shots ).
    A
    F
    J
    K
    L
    M
    N
    Date
    Wins
    Colour J
    Colour K
    Colour L
    Colour M
    Colour N
    Nov 1
    1
    TRUE
    Nov 2
    1
    TRUE
    Nov 3
    2
    TRUE
    TRUE
    Checkboxes show as TRUE (not a tick) in this pasted table. But a tick = TRUE .
    Formula in F3 (Wins, Nov 1)
    =COUNTIF(J3:N3,"=TRUE")
    I hope this helps with your pie chart.
    Regards,
    Ian.

  • I need help making a mailserver.

    Hey all, this is my first post on the Arch-Linux forum. As you can tell by my title, I would like to allow this computer (running arch, as you may have guessed) to work not only as a desktop machine, but also an e-mail server, with the possibility of expansion in the future. I've found some guides, but I do have some questions, so I decided to ask them here.
    First off: Will this even work? The guides to do this that I've seen recommend a server-based distribution, like ubuntu server edition, to do this. I'm making the assumption that this desktop system can do it as well, but I'm not sure.
    Second: To do this, and be able to access it from a remote location (my ipod at a wifi hotspot, or a friend's house, for instance), will I need to register a domain name, or is there an easier way?
    That's pretty much it. Thanks in advance for the help!
    -Suilenroc

    Hello and welcome to the forums!
    First off: Will this even work? The guides to do this that I've seen recommend a server-based distribution, like ubuntu server edition, to do this. I'm making the assumption that this desktop system can do it as well, but I'm not sure.
    You can install the mail-services on any computer. It doesn't matter if it is a "server" or a "desktop".
    Second: To do this, and be able to access it from a remote location (my ipod at a wifi hotspot, or a friend's house, for instance), will I need to register a domain name, or is there an easier way?
    Check out DynDNS
    But please keep in mind, that making services aviable trough the internet implies a much higher security-risk than just having a linux box behind a firewall. Especially mail-servers need elaborate configuration - don't let your box become an open mail relay...
    Br

  • Need help making this class Runnable.

    Hello,
    This class (see below) is working fine the way it is but I have a little problem, I need to execute aprox 500+ commands and each command takes between 30sec to 3 minutes to complete which translate into hours for the job to finish.
    I want to speed the process by multi-tasking and executing (possibly) all commands simultaniously by somehow making this class Threaded/Runnable (miltitasking). There must be something tricky about Runtime class and cannot figured it out.
    Your help would be highly appreciated.
    Regards,
    Ulises
    public class CmdTest {     
    public static void main(String[] args) throws java.io.IOException {
    String outFile = "./ds8300/lsvogrp.txt";
    PrintWriter bout = null;
    try {
    bout     = new PrintWriter(                         new FileWriter(new File(outFile)));     
    } catch (IOException e) {
         e.printStackTrace();
    Runtime run = Runtime.getRuntime();
    run.traceMethodCalls(true);
    Process proc2 = run.exec("cmd /c dscli -user user -passwd psw" + "lsvolgrp -l");
    BufferedWriter ot = new BufferedWriter(
    new OutputStreamWriter(proc2.getOutputStream()));
    BufferedReader br = new BufferedReader(
    new InputStreamReader(proc2.getInputStream()));
    BufferedReader er = new BufferedReader(
    new InputStreamReader(proc2.getErrorStream()));
    try {
    String s;
    while((s=br.readLine())!=null) {
         System.out.println(""+s);
         bout.println(s);
    while((s=er.readLine())!=null) System.out.println("ERR:"+s);
    bout.close();
    System.exit(0);
    }catch (Exception ie) { //catch (InterruptedException ie) {
    System.out.println("Interrupted:"+ie.getMessage());}
    }

    Seems like the same question you asked last year.
    http://forum.java.sun.com/thread.jspa?threadID=5181153&messageID=9705196#9705196
    The proper way to design software is to start at the beginning and design Classes. Not try to butcher that which is working.
    You're running work outside the JVM and this work might interfere with other, similar work (the multi-threading issue.)
    I'd start with paper and pencil and see what conflicts might arise.

  • I need help making a boot able DVD to flash the bios of a505 6005

    I am running win 7 pro 64 bit and I am trying to flash the bios on my A505-6005 and I need real simple instructions on making a bootable DVD Help please. Nikki
    Solved!
    Go to Solution.

    Satellite A505-S6005 
    ACPI Flash BIOS version 1.40 for Satellite A500/A505 (PSAT6U/PSAT9U)
    When you execute the download file (sat6v140.exe) it decompresses into several files in the sat6v140 folder. 
    Among those, is the readme.txt attached, which explains how to create the CD.
       Burn a CD or DVD from an ISO file
    -Jerry
    Attachments:
    readme.txt ‏14 KB

  • I need help making a die cut

    I work for a non-profit and have some experience with illustrator. I've come up with an idea for a fundraising brochure, it uses our logo and requires a die line. Can someone please help me get started? I have figured out that I need to make a new layer and make the line a different color but when it comes to making the actual line (odd shape) I cannot get it to look smooth. Also I would l have photos that will go on some pages and text on others, do I just put these under the die line?

    Thank you.
    I'm trying to use the pen tool. The shape I'm trying to make is a bit complicated. I've attached our logo, I'm using the swoop part. So there will be a point at the top left then it was follow the swoop down to the right and make a point on the bottom right and back up on the left. The side lines will be curved. Does that make sense? This will be a fold able brochure so ever other page will have to be a mirror image.
    I've drawn a line around the image but I don't know how to make the line smooth, because of the anchors it looks a bit off. Then I guess I don't know how to do the fold able part, do I just make a new page for each one or do they have to be connected in illustrator as they will be on paper?
    Thank you

  • Need help making slanted grid

    Hi! I'm looking to make a landscape image similar to the one below by first making the grid and then filling it in with the paint bucket. Note I DO NOT WANT PERSPECTIVE, so the perspective grid tool isn't helpful. I've tried messing around with the rectangular grid and mesh tools but I'm very new to Illustrator and can't get what I want. Any help is appreciated, thanks!
    I'm using Adobe Illustrator CS6 by the way.

    Note I DO NOT WANT PERSPECTIVE
    Yes you do. What you've shown is perspective. It's just parallel perspective instead of converging perspective.
    You don't really need grids for such things, but if they make you feel comfortable, you might consider Serif DrawPlus. It costs less than $100, can draw to user-defined scale, and has a context-sensitive axonometric grid feature that's right up your alley.
    It neatly works around the usual problems associated with most grid attempts by displaying only the plane you are currently working on, and interactively switching to another plane when you select an object on that plane. Example:
    1. Set the current plane to what the program calls the Top Plane. The top plane grid displays. The shape drawing tools automatically conform to that grid:
    2. Set the current plane to what the program calls the Front Plane.The left plane grid displays, and the shape drawing tools automatically conform to it.
    3. Set the curent plane to what the program calls the Right Plane. The right plane grid displays, and the shape drawing tools automatically conform to it.
    Now here's the neat part.
    4. You want to draw the next surface that's parallel to the Top Plane. You just click an object already drawn on that plane and it switches you to that grid. Of course, by clicking that object, you've also changed the current stroke and fill to the colors of those of that object, so you're automatically all set to draw the top of the next terrace with whatever shape tool you have in hand.
    5. Similarly click a shape already on the left plane and the current color, grid and auto-conforming behavior of the shape tools switch to that orientation.
    6. Click a shape already on the right plane and the color, grid, and shape behavior switch to that plane.
    And so on. Note that the bounding boxes of the shapes conform to the current plane. So dragging the middle side handles stretches the shapes as you would expect, parallel to the grid lines of the plane the object is on. And it's not just the rectangles, but all the other pre-defined shape tools auto-conform, too. So you get accustomed to it in a few minutes and can proceed quite quickly.
    So it's sort of like the FreeHand / Illustrator perspective grid, except it does parallel perspective.
    JET

Maybe you are looking for

  • LR5 "Edit as Layers in Photoshop" not working.

    Been working fine up until last week or so. Now when I select the action PS opens up blank with no layers at all. I have updated all apps being used. PS is CC 2014 v.2.2. and LR5 5.7.1 Anyone have any issues like this correctly or think what it could

  • No messages for initial processing exist-- GR

    i am trying to take print out for GR document but getting the above said error message these are the settings which i have already done assigned user parameter NDR , created a condition record for message type wee1 thru MN21,NACE chcked in the table

  • How to close NetStream in class script

    How to close NetStream in class script I use NetStream action to play the video. It’s working perfectly. Want to know how I can close my NetStream video to clicking on the button as in class scrip. I tray this ns.close(); but got error NetStream clas

  • Active directry

    stander server 2008 install but when install active directory giving error   the local administrator account becomes the domain administrator account when you  creat a new domain the new domain cannot be create because the local administrator account

  • Unable to restart from safe mode

    Problem: after running in 'Safe Mode', I restarted and it won't boot. I push power button, and screen comes on with startup tone, then grey apple logo shows up, and a few seconds later, spinning wheel, but a progress bar is below it, and after a few