A periodic fast signal to put out randomly to two different lines

thank you so patient to answer me so fragmentary question.
What I want is a two random fast digital output.However,two of outputs is related. superpose them will produce a periodic fast singal.In other words,when the line 1 put out "1",the line 2 put out "0".But when to put out "1" or "0" is random.
I have studied 6602 manual and the examples in Help menu.But I can not find way to do that.In DIO context,the digital I/O is static(In my view,it can not put out fast signal.What is the max frequency o f it?);and in counter context,pulse generation only put out a periodic signal.So I don't know how to do it.

I am a little confused with your question. On the NI-6602, you are correct in stating the digital lines are static (writing/reading to digital lines is controlled by software). Therefore, the speed of writing/reading to/from the digital lines will by system dependent.
It seems to me as if you want two pulse trains to start at the same time but be inverted. You could program the counters to share a start trigger and have one counter start at a digital low and the other counter to start at a digital high. This would produce two pulse trains that would be synchronized and inverted. I hope this helps.
Todd
Applications Engineer
National Instruments

Similar Messages

  • How can I put a contact in two different groups?

    How can I put a contact in two different groups.  I downloaded Glite and have developed many groups, but I have some contacts that I would like to include in two different groups.  Any solutions?

    If I want to copy a contactl to another address-book I simly hold down the ctrl-key when I drag and drop

  • How to fetch the data into one out parameter from two different queries

    Hi,
    I have an a problem how to implement condition in above procedure,and scenario is
    i have to get the output into one out parameter from two queries.i.e if one query data is null
    then i have to pick out data from another query into same out parameter.
    CREATE OR REPLACE PROCEDURE GET_POLICIESMAP_BASEDON_GHPLID(I_COMPANYID IN NUMBER,
    I_CARDID IN VARCHAR2,
    PR_RESULTSET OUT SYS_REFCURSOR) IS
    /* LOC_INSUREDID VARCHAR2(200);
    LOC_RELATIONCODE VARCHAR2(200);
    LOC_CURRENTPOLICYID VARCHAR2(4000);*/
    BEGIN
    OPEN PR_RESULTSET FOR
    WITH A AS
    (SELECT DISTINCT PM.MAINPOLICYID MAINPOLICYID,
    id INSUREDID,
    RELATIONCODE,
    CURRENTPOLICYID
    from INSUREDPERSONS IP
    LEFT OUTER JOIN POLICIES_RULES_MAPPING PM
    ON PM.POLICYID = IP.Currentpolicyid
    where EIN IN (SELECT EIN
    FROM INSUREDPERSONS ipp
    JOIN VW_INSUREDINFO vw
    ON IPP.ID = vw.insuredid
    and vw.cardid = I_CARDID)
    AND IP.CURRENTPOLICYID in
    (SELECT ID
    from policies
    where companyid = I_COMPANYID
    and dead = 0
    AND POLICYTO > SYSDATE - 1))
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE = 0
    AND (A.MAINPOLICYID is null or
    RELATIONCODE = 0 AND CURRENTPOLICYID = MAINPOLICYID)
    UNION
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE > 0;
    /* HERE I NEED TO GET THE DATA FROM THIS BELOW QUERY INTO SAME OUT PARAMETER
    WHEN ABOVE QUERY DATA CONTAINS NULLS */
    /* IF PR_RESULTSET IS NULL THEN*/
    OPEN PR_RESULTSET FOR
    WITH A AS
    (SELECT DISTINCT PM.MAINPOLICYID MAINPOLICYID,
    id INSUREDID,
    RELATIONCODE,
    CURRENTPOLICYID
    from INSUREDPERSONS IP
    LEFT OUTER JOIN POLICIES_RULES_MAPPING PM
    ON PM.POLICYID = IP.Currentpolicyid
    where FAMILYID IN (SELECT FAMILYID
    FROM INSUREDPERSONS ipp
    JOIN VW_INSUREDINFO vw
    ON IPP.ID = vw.insuredid
    and vw.cardid = I_CARDID)
    AND IP.CURRENTPOLICYID in
    (SELECT ID
    from policies
    where companyid = I_COMPANYID
    and dead = 0
    AND POLICYTO > SYSDATE - 1))
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE = 0
    AND (A.MAINPOLICYID is null or
    RELATIONCODE = 0 AND CURRENTPOLICYID = MAINPOLICYID)
    UNION
    SELECT INSUREDID, RELATIONCODE, CURRENTPOLICYID
    FROM A
    WHERE RELATIONCODE > 0;
    /* END IF;*/
    END GET_POLICIESMAP_BASEDON_GHPLID;
    Thanks in Advance,
    vvr.

    SELECT DISTINCT PM.MAINPOLICYID MAINPOLICYID,
                           id              INSUREDID,
                           RELATIONCODE,
                           CURRENTPOLICYID
             from INSUREDPERSONS IP
             LEFT OUTER JOIN POLICIES_RULES_MAPPING PM
               ON PM.POLICYID = IP.Currentpolicyid
            where EIN IN (SELECT EIN
                            FROM INSUREDPERSONS ipp
                            JOIN VW_INSUREDINFO vw
                              ON IPP.ID = vw.insuredid
                             and vw.cardid = I_CARDID)In this code
    where EINEIN is a column in INSUREDPERSONS?
    and in the sub query below
    (SELECT EIN
                            FROM INSUREDPERSONS ipp
                            JOIN VW_INSUREDINFO vw
                              ON IPP.ID = vw.insuredid
                             and vw.cardid = I_CARDID)EIN belongs to INSUREDPERSONS or VW_INSUREDINFO?
    Please use Alias as we dont know your table structure.

  • When dialing out I sent the same cid from the two different lines on PAP2

    Hello, I'm using a PAP2 adapter on my phone system. When I dial out from line 1 I sent the phone number or callerd ID from line one. When I dial out from line two which is a different number, I'm still sending out the same phone number as that of line one yet, when I call in to each indivial number, line 1as well as line 2 they each ring serparetly and individualy. I wonder if I have missed a step in the setup. Anyone nows how to fix this or where I can get the info needed.
    Thank you.

    I don't believe that there is any network address binding.  The UDP Open VI determines which network card you are using and the UDP read function determines which IP address you pull the data from.  Since you are specifying all of the parameters, it should not carry over after you close a session.  There may be a wait required for the connections to reset.  Are you doing this programmatically, or are you stopping and restarting your VI?  Can you send a screen shot of both of your UDP connections on your block diagram? 
    Nick Keel 
    Applications Engineering 
    National Instruments
    Nick Keel
    Product Manager - NI VeriStand and Model Interface Toolkit
    National Instruments

  • My little brother put a random passsword on it and icant figure it out and when itry to restore it says an unkown error has occured

    my little brother put a random passsword on it and icant figure it out and when itry to restore it says an unkown error has occured

    What is the error number?

  • Keeps Logging out Randomly

    Hey,
    I am having a problem with my computer logging me out randomly. It seems to be that if I am inactive on the computer for a certain period time this happens. I am currently running OS 10.6.2.
    Any help is appreciated,
    Thanks,
    Aidan

    Is it actually logging you out or is it merely locking the screen and asking you to provide your password before it will let you back in?
    In any case, you can check this:
    Open "System Preferences" -> "Security"
    Select the "General" tab (if it isn't already selected)
    Among the various check-boxes on this page, there is one to "Require password <some period of time> after sleep or screen saver begins."
    There is another to "Log out after _ minutes of inactivity."
    Check to see if either of these are enabled and set them according to your preferences.
    Also note that the keyboard shortcut to log out is "Shift + Command + Q" (which is very nearly the same as "Command + Q" used as a shortcut to quit an application). Is it possible you mean to Quit a program but were holding shift and inadvertently logged yourself out?

  • NI Stepper Motor not putting out enough torque

    So I have a motion control system with a P70360, UMI 7772, PXI 7332, and a NEMA 23 stepper motor with 380 oz-in. The purpose of the set up is to rotate horizontally a testing fixture and hold it in position (slowly). Previously the set up was using a motor with 180 oz-in but it was decided that it wasn't enough torque seeing as it wasn't able to fully rotate the fixture, also using a step resolution of 18000, current reduction is disabled, multistepping is enabled, dynamic smoothing is minimal, and load-inertia ratio is set to 0-1.
    When the 380oz-in motor was plugged in it was still unable to rotate the platform completely but it wasn't even able to rotate it as far as the 180 oz-in which leads me to believe it was outputting less torque than it should have been. The only reasoning I could think of for this was that there was an issue with the settings somehow where it was limiting the power being fed into the motor for whatever reason. So I walked through the manual (http://www.ni.com/pdf/manuals/372324d.pdf) and it still wasn't giving enough torque.
    I also read that decreasing the step size would increase the torque so I reduced it to 200 and it started making a grinding noise, which made everyone in the lab stare at me and start laughing... I immediately hit the kill motor button (I've been controlling it using NI MAX).
    So far I can't seem to find anything that mentions the motor making a grinding noise or not pulling enough torque while using the P70360 so here I am asking the community. Why is the motor making the grinding noise (which also seems to become less the higher the step resolution is) and why isn't the motor putting out more torque?
    Also of note, I'm an electrical engineer, meaning my understanding of mechanical terms is limited to the basics.
    Thanks for any help you can give.
    DISCLAIMER: I'm a hardware engineer so I may not be familiar with some concepts/terminology/best practices so... patience is appreciated

    I can't get too specific about the dimensions but it's a rectangular platform about 8 inches wide and 25 inches long (axis of rotation goes through the long way). There are also the UUT seating on one side which is what's causing the imbalance but by placing my lab notebook on the other side it balances out. I would estimate my book to weigh around 2 pounds.
    The exact weight I'm not sure, the platform is attached to two stands through some type of bearings and the motor is turning a part of the shaft that is sticking out slightly.
    On another note though, I decided to attach a oscilloscope to the motor to verify the signals were correct. I had made all the connections, double checked them to make sure all my connections were correct and weren't shorting then turned on the power. As soon as I did there was a white flash from the driver, I turned off the power, and I could smell something was burning. I took the lid off but couldn't see any immediate burn marks anywhere nor was there any visible smoke, just the odor. I decided not to try it again and my principal engineer has been trying to convince me to use another companies motion system. So sadly this may be the last well funded venture into NI motion control I take.
    I'm still going to try to get in touch with a rep and see what I can do about it including taking into consideration the possibility of a gearbox but it's going to have to be on my spare time :'(
    DISCLAIMER: I'm a hardware engineer so I may not be familiar with some concepts/terminology/best practices so... patience is appreciated

  • No signal cant dial out

    i cant dial out as i have no bars on the signal just dots,also cant send texts or recieve them as also cant recieve incoming calls.i bought this phone from friend who had iphone4 which was upgraded to the 5,its on o2 network but i put giffgaff sim in as it runs on same network but still no signal,even put o2 sim back in and still no signal,can browse the internet on 3g with it ok,

    Hello rabbf3,
    I recommend this from our iPhone Troubleshooting Assistant found here http://www.apple.com/support/iphone/assistant/calls/#section_2, to help troubleshoot the cellular connection. Start at step 2 and work your way down as needed. Here is the 2nd step to get you started:
    Reset network settings
    To reset your network settings, tap Settings > General > Reset, then scroll down and tap Reset Network Settings.
    Regards,
    Sterling

  • TS1559 Why does Safari kick me out randomly?

    Why does Safari kick me out randomly?

    That happens sometimes.
    Periodically double click the home button and close all the apps in the recently used dock. Then power off and then back on the iPod. This frees up memory. The the 3G and 4G only has 256 MB of memory. The 5G 512 MB, This does not work for 1G and 2G
    Next try
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Go to Settings>Saari and Clear Cookies, Data and History
    To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
    - Reset all settings                 
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
      - Restore to factory settings/new iOS device.                       

  • How do you get multiple live instruments to put out sound?

    I just got a M-Audio 61 keyboard from my wife for our anniversary. I love it and it works great with GarageBand 1.X. I also have a guitar I use with GB. It is plugged in the 1/8 in. mini jack input in the back of the Mac. I however can't get both to put out sound at the same time. Lets say, for instance, that I would play the guitar and my wife the keys. How can I get both to put out sound at the same time?
    Thank for any help you can offer.
    Your friend in Mac OS X,
    Jose

    Danke Christoph!
    I was glad to get your response. I thought I was not doing something right in GarageBand. I'll get GB2 and try out multiple live sources.
    Once again thanks.
    Your friend in Mac OS X,
    Jose Mauricio Cuervo

  • Why does my HP LaserJet 4 Plus put out blank page after print page?

    why does my laser Jet 4 Plus put out a blank sheet after every print page

    This sounds like an issue that could result from having A4 sized paper but having the printer settings set for A size.  Please check the paper settings.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Why does ical put a random time in front of added events when I print?

    How can I prevent ical from putting a random time in front of added events when I print?

    In Word go to File, Options, Display and uncheck the box to print document properties.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Lightroom 3 - The worst program Adobe has ever put out...

    If anyone cares to read this, I will be the first to say DO NOT UPGRADE!!
    I am spreading the word - facebook, word of mouth, every professional photographer in LA I know, blogs, etc. 
    You gotta raise hell to get changes.
    Lets see if Adobe will do anything about these issues...
    I thought that Adobe created "beta" for a reason - to smooth out all the kinks before they put the disk out. Nope. 
    I have been waiting for them to put out updates on many issues since I purchased the disk a month ago.... Still waiting Adobe!!!
    It is excruciating to watch my photos take literally 4-5 minutes to open.  Even worse, is the time it takes to save from Photoshop CS5 back to Lightroom - I timed 14min. FOR A PHOTO!
    I feel like the old days when I rendered video - went out to get a coffee, and came back to find the spinning of wheel of death still spinning.
    Oh, and I got to talk to India today too! for 3.5 hours - with no resolution to my problems. 
    Susheel accessed my computer remotely  - saw my catalog - sees 73,000 images, and asks "are you a photographer?"  REALLY?!  DId you REALLY just ask me that Susheel??
    Why I HATE Lightroom 3 - let me count the ways:
    1. Adobe closed their tech support in Portland (whom I have spoken to many times, and ALWAYS got my problems resolved.  They always went above & beyond the protocol - and we sit here and wonder why the US economy is crashing), now you get a no-name person in India or in the philippines (who have no extension, no email, not even a direct line so when you sit on a call for 3.5 hours and need to call back you are starting all over again.. Dear Adobe - do we live in 1980?? You are suppose to be a LEADER in technology. 
         I am morally against outsourcing, my artwork is all about the death of american industrial capitalism.  In a time when the US is in crisis, Adobe works on moving things out of the US.  I'm outraged - You can't get someone in the US EVEN IF YOU TRIED!  The best I could do was talk to someone in sales about this - wow. What does that say - American's "look good and sound good to sell our product, but when it comes to something advanced in technology like using the product and trouble shooting, we prefer to use someone with no extension in another country"
    2. They don't offer support for anyone who is running off a network (they expect professionals to be working off their local "c" drive or Mac internal hard drive.  HA!! 
    3. They continued to blame my network - even though my network is running smoothly, has no limitations on access, will open directly into photoshop just fine (and quick!), worked absolutely perfectly in Lightroom 2.... Yeah, it's the network, riiight.
    4. Lightroom 3 is corrupting files when opening into Photoshop CS5 - if I'm lucky enough to open them
    5. When I do get a photograph open, it loses it's filters once saved back into Lightroom (I rate my photos to help me navigate through the masses) - this really is hurting my workflow. When I shoot 800 images in the studio in one day - I DO NOT want to go back and fish around to find the edited version that lost its flag...
    6. I have been promised to get a phone call "sometime next week" since there is no extension I can call back on to move forward.  I'll keep you updated - let you know if Susheel keeps his word.  He couldn't tell me who was going to call me, or when, but he "assures" me it will happen.
         I wont hold my breath

    function(){return A.apply(null,[this].concat($A(arguments)))}
    Keith_Reeder wrote:
    ambienttroutmask wrote:
    So the worst programme Adobe ever put out, yet even though you can have a 30 day trial you still went out and brought it...
    Yep, everything is always someone else's fault. It's never because they've made a stupid decision to buy before making absolutely sure that the software will work for them.
    Seems like nobody is prepared to take responsibility for their own actions these days.
    So, by that logic Adobe does not have to take ANY responsibility for pushing this kludge out the door?  Given they had a RC ready almost INSTANTLY after release should be sufficient to show they KNEW they were pushing garbage out the door.  Adobe is indeed responsible for their offering a know buggy product, bugs which CROSS PLATFORMS so it has to be the core code design not the user hardware or anything a given user has done.  Sure some systems might have setups which help make these issues more apparent, but that is on Adobe to deal with as they should publish limitations and known configurations which can potentially induce greater problems...but these entail an admission and accepting responsibility for the original buggy release...btw, release notes used to be where one would find quirks info and how to work around them post system requirements being carved in stone and set to entice the lowest common denomonator user.
    One more thing...LR is marketed not as a PRO TOOL, it is sold as a tool for the average to hobby level photographer.  That is also has huge appeal to the pro market is a happy accidentally-on-purpose thing...but to berate people who don't feel it's their job to troubleshoot a commercial app is completely unreasonable...but anymore the US consumer is the largest beta tester group on the planet...I wonder how our EU counterparts are fairing as ironically, they have stronger consumer protection laws...try pushing a crap product out in the German market...heh-heh, yeah good luck with that.
    Actually I would say this is not the worst software Adobe has ever pushed out the door but perhaps the worst photography software they ever sent as RTM.  Many, many PDF related apps and utils have actually been worse and we won't get into what they have done to Flash and Dreamweaver after that acquisition.  The closest analog I can see if that of what happened to Norton products post Norton being purchased by Symmantec.
    However, I am willing to give Adobe time to address this because they did have the RC ready almost right away.  Should they have done this?  No way, but perhaps the marketing wonks put the company in the position where it had to meet the release date even if issues were discovered and fixes in the pipeline already and it was gonna be a 3-9 week delay before the issues were mostly fixed.  But they did and well, even those who ran the beta, ran the 30-day trial did not find the issues because they simply did not use that part of the program enough for the bugs to manifest their effects to the degree when you the user, realize something odd is happening.
    I too am pissed, beyond belief as I depend on LR for my business, I can, however work around it for a while but I don't make money as a photographer I use photography for my business so the issues, while causing huge levels of frustration, are not fatal....yet...all I know is I don't want to revert to LR2.7 because I have done so much work onLR3/ LR3.2RC already and the tools themselves are indeed superior in LR3.x....when they work and that is the rub.  So many here are telling those with these bugs affecting their income/workflow bought into this to save time and leverage the bestter NR/sharpening and I say much improved adjustment tools.  I don't use the lense profiles at all really so nothing special for me there.
    I would ask a question...I am sure this has been asked and answered but, eh, why not one more time because search is sooooo "haaaard"
    but does this issue affect all file types?  I am shooting DNG but can switch to PEF if needed and convert on import but would rather just shoot DNG.  I am not willing to switch to JPG because if I have to do this I give up too much control on my images, for that I would switch back to LR2.7.
    Also, what versions of Camera RAW were used in the beta and what versions are being used with LR3.  I know I did upgrade to ACR6.2(?) or whatever the most current version.  I understand there are a ton of factors at play in these bugs but I do doubt it's ACR as my old antique PS CS3 version of Photoshop does not have any problems, of course it's using the old version of ACR 4.6(?) again sorry I forget what version exactly but it's trivial and can be determined.
    I like LR because I don't need the advanced features of PS all that often, still PS is a fun tool to have as a backup for the complicated shots though I don't have time to really spend in it as I would like to...
    But in general I guess I am trying to say, Adobe had to know in advance of the RTM original LR3 because they had the RC ready almost instantly.  Of course past releases of LR also had the same experience just the bugs were, well, not as impactful I suppose.  I have been happy with LR since 1.x versions but this version is painful to support...and I as I previously posted I won't screw with Adobe's refund people, likely off-shored staff who get bonuses for talking customers OUT of getting a refund, I will simply file a chargeback with Mastercard...that is why I use it, so I don't have to let companies waste my time wading through their red-tape.  And btw, Adobe knows the customer will WIN any chargeback because this evidence of a known to be defective product was sold to the consumer and the customer even allowed the mfg to remediate the issue only they failed to deliver in a timely fashion.  So, if one is not happy just "go to the mattresses"...use the chargeback hammer.  The bonus is every chargeback granted to the consumer costs the retailer, Adobe in my case, $35 when they lose...

  • My iPad no longer puts out sound it was in my backpack will it was raining and don't know if that's what caused it pls help

    My iPad no longer puts out sound it was in my backpack will it was raining and don't know if that's what caused it pls help

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    You can also try to repair the places database with this extension:
    *https://addons.mozilla.org/firefox/addon/places-maintenance/

  • How can you put out of office on your email

    I am unable to find out how to put out of office on my email?

    https://support.mozilla.org/en-US/kb/vacation-response

Maybe you are looking for

  • Report Checkbox Columns in CSV Export File are NULL

    Hi, Hoping someone can assist. Am using Oracle ApEx 3.0.1. I have a report that consists of a number of checkbox columns where I am using the Apex_Item.checkbox with a disabled attribute. My questions is, when I attempt to export this report to CSV f

  • After Effects are not visible when exporting in Adobe PP CS4

    Hi all of you experts! I have made a simple name/title bar for an interview video, using Adobe After Effects. When i import the composition to Premiere Pro it's visible in the preview window BUT; when I render the video in Premiere Pro the After Effe

  • Executing JavaScript in X Pro on Mac

    Hello, I recently switched from Windows 7 with Acrobat 9 Standard to Mac OS X 10.8 with Acrobat X Pro. On my windows setup, I could copy javascripts into Acrobat's "Javascripts" folder and those actions would appear on the Document menu. I've copied

  • BBP_EXTREQ_TRANSFER error:Entries stuck in queue

    Hi all,    We  are running on SRM 5.0.I am executing the report BBP_EXTREQ_TRANSFER for transferring the PR's from R/3 into SRM Sourcing cockpit but the  entries are getting stuck into the outbound queue in R/3.I am getting the  error as SYSFAIL-"Exc

  • CameraUI - Captured image is rotated 90 degrees and zoomed in.

       Im able to capture an image....  when I add it to the stage the image is zoomed in and rotated 90 degrees.  When I try to use transform.matrix; to rotate the image...  I lose the image completely.      Even if I set the width and height of the ima