Using a PCI-6534 card, how does one write and read from the board simultaneously after being triggered on the StartTrig input ?

I've copied two NI-developed VI's into a single VI. The first VI is the LV 'Buffered Pattern Input-Trig VI' under examples/daq/digital/653x. Using an external data generator, I send it a pulse on StartTrig, a clock on REQ1 and data on DIOA0. The start pulse is negative going so I set the front panel input to trigger on "falling edge" with clock set to 'external'. This VI is configured as Port 0 and Group 0. Once this VI is triggered I need to then start another VI which is simply the Buffered Pattern Output VI that also ships with LV. This VI is configured on Port 2, Group 1. This VI is used to simply send out a previously d
efined array of data on DIO C0, C1 and C2.
So, I receive a Start Trig, then clock in data, and then immediatly want to send out data. My problem is that I can't figure out when my receiving VI gets triggered on the StartTrig input. If I know when the trigger occurs, then I can wire this condition to a case statement and activate the second, or write VI. Without having the Trigger condition be met to enable the output VI, the problem is that it always outputs without even be triggered. So, where or how do I tap to find out when the StartTrig happens ? In other words, how do I know when the receiving VI has received a StartTrig pulse. There's got to be a way to do this, and I need to run in continious mode, so I can keep receiving and sending out data over and over again. Any ideas ? If your answer is to look at the examples, please tell me exact and specific examples, because I have not been able to find any examples directly related to my goal. thanks.
Kirk

Nestor-
I tried your first suggestion of connecting ACK1 to ACK2. But, I get Error 10010 at Digital Buffer Control when I run the VI. I've added an array of 32 ones and zeros to the output VI so that I have some data to write. What's really interesting is when I have a scope probe on ACK1 and ACK2 which are now common, the voltage level is less than 5 volts, around 4.7, but there is something wrong with the signal, a few spikes, I've seen this before, like 2 signals are trying to drive the same output or something. When I remove the connection between ACK1 and ACK2 the signal looks perfect since ACK1 is being driven by my data generator. This leads me to believe that you can't connect ACK1 to ACK2, or atleast you can't do it with the way I have the VI'
s configured. Also, I have a scope probe monitoring DIOC0 (since I'm writing to Port 2,which is Port C) and I don't see any data coming out, which makes sense since I get the error mentioned above.
In terms of my configuration, I have 2 VI's on the block diagram. I have Buffered Pattern Input-Trig.VI with the following settings:
Group: 0
Device: 1
Port List: 0
Buffer Size: 1000
Clk Soruce: External
Trigger Type: Start Trigger
Trigger Condition: Trigger off Falling Edge
# of pretrigger points: 0
For the 'writing VI' I copied the Buffered Pattern output-Trig.VI with the following setup:
Device: 1
Group: 1
Port List: 2
#of updates: 1000
Clock Source: Internal
Trigger Condition: Trigger on falling edge
So, do you have any ideas on what might be wrong ? Just realized that I can attach files, so my VI is attached.
thanks.
Kirk
Attachments:
input_output_at_the_same_time.vi ‏164 KB

Similar Messages

  • How does one publish their calendar from the new mountain lion cloud through iWeb? seems like this functionality has been dropped.

    how do you publish calendar under new mountain lion cloud. seems as though this functionality has been lost.

    There was never a functionality to publish a calendar thru iWeb.
    You could publish a calendar, 100% independent of iWeb, and display it in a browser window.
    Then you could display that window in an iWeb HTML Snippet.
    how do you publish calendar under new mountain lion cloud.
    I recommend asking in either the iCloud or the Mountain Lion forum.

  • How does one cancel a purchase from apps store

    how does one cancel a purchase from the apps store?

    Purchases are considered final, but you can try the 'report a problem' link to contact iTunes Support and see if they will refund or credit you : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How can i write and read the same data

    hi,
             i have attached my program to this mail. i have some problems in this program.
    problems:
    1. I want to select the threshold for the rms,varience and s.d.
    But what i used is not doing that. i want to fix the upper threshold value and lower threshold value.
     when ever the input crosses upper threshold value i want the output and it will remains uptill the value above the lower threshold value.
    Once it come down the lower threshold value the output should be stopped.
    2. I want to write this in to a  file and i want to read this file. is this possible or not. 
                please try to help me i am very new with lab view6i
           REGARDS
    CHAMARTHY KOMAL DILEEP.
       [email protected]
    Attachments:
    dileep.vi ‏93 KB

    The easiest way to perform a certain action (such as file I/O) based on a certain condition (such as whether a value has passed a certain threshold) is to use a comparison VI in combination with a case structure. Then you can specify that if your rms, standard deviation and variance are above a threshold then perform a certain action.
    Also consider using shift registers to keep track of data from the last loop. If I understand you correctly, you want to start logging data when an upper threshold has been passed. Then you want to continue logging data until a lower threshold is passed. I have attached a non-functional but explanatory VI that will help explain how to implement logic to that effect. It also demonstrates that you can indeed write and read from the same file in a loop. The best way to do this is to open the file before the loop, do all the necessary writing and reading in the loop, and then close the file after the loop.
    Hope this helps!
    Jarrod S.
    National Instruments
    Attachments:
    dileep_example.vi ‏61 KB

  • How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac.  Now I can't remove her e-mail address from Facebook.  It was suggested to me that I try clearing temporary files from Safari but I can't find

    How does one remove temporary files from Safari?  A friend logged on to her Facebook account using my iMac running Mac OSX 10.7.5 and Safari 6.1.6.  Now I can't remove her e-mail address from my computer.  When I open Facebook her address shows in the user button.  I do not have a Facebook account.  It was suggested to me that I try clearing temporary files from Safari but I can't find anything that tells me how to do this.  Are temporary files the same as the cache?  It also was suggested that I try clearing Safari cache.  How do I do that?

    Check Safari/Preferences/Passwords to see if the Facebook account is there. If so, select it and remove it. If you are still having problems, Safari/Preferences/Advanced - enable the Develop menu, then go there and Empty Caches. Quit/reopen Safari and test. If that doesn't work, Safari/Reset Safari.

  • Using family sharing, how does one view and download songs from a family member's collection in itunes?

    Using family sharing, how does one view and download songs from a family member's collection in itunes?

    When you click on your device you are presented with the pages
    Summary
    Info
    Apps
    Tones
    Music
    Movies
    TV shows
    Books
    Photos
    To remove Audiobooks depending on the type of Audiobook ie a series of mp3 files you will find under music and probably have to deselect the album name to remove it. I don't have any of these as I download from Audible or I use Audiobook Builder to stictch together mp3 files into m4b files. To find these Click on Books you will immediately see a section for books (in reality ebooks). Scroll down past that and you will see Audiobooks where you can select and deselect. Deselect the required Audiobooks and Click Sync

  • How does one delete VPN configurations in the settings list not used any more?

    How does one delete VPN configurations in the settings list not used any more?

    Sorted found profiles and delete from there

  • I'm having problems with iPhoto and the facebook set-up.  Every time I attempt to do so it says an error has occured and try again later.  I have not seen a solution posted.  Therefore, how does one contact Apple to solve the problem?  I'm new to the worl

    I'm having problems with iPhoto and the facebook set-up.  Every time I attempt to do so it says an error has occured and try again later.  I have not seen a solution posted.  Therefore, how does one contact Apple to solve the problem?  I'm new to the world of iMac but I find it a bit frustrating trying to solve basic issues/problems:(

    For what it's worth, you posted this in 2011, and here in 2014 I am still having this same issue. Over the last two days, I have had to unlock my apple account 8 times. I didn't get any new devices. I haven't initiated a password reset. I didn't forget my password. I set up two factor authentication and have been able to do the unlocking with the key and using a code sent to one of my devices. 
    That all works.
    It's this having to unlock my account every time I go to use any of my devices. And I have many: iMac, iPad, iPad2, iPad mini, iPhone 5s, iPod touch (daughter), and my old iPhone 4 being used as an ipod touch now.  They are all synced, and all was working just fine.
    I have initiated an incident with Apple (again) but I know they are just going to suggest I change my Apple ID. It's a simple one, and one that I am sure others think is theirs. I don't want to change it. I shouldn't have to. Apple should be able to tell me who is trying to use it, or at least from where.
    Thanks for listening,
    Melissa

  • HT201991 How does one write a review for an app?

    I would like to write a review for an app I bought from the App Store.
    "Locate the item that you would like to write a review for."
    Where? In the App Store via the internet (e.g. on my iMac), OR via the App Store button on my iPad Mini?
    "Click "Write a Review" in the Customer Reviews section."
    How? I could find no active link associated with the Customer Reviews section once I had located the item for which I wanted to write a review.
    So the question remains "How does one write a review for an app?" … and, so far as things stand, the instructions provided in the page <http://support.apple.com/kb/ht3928> are, as far as I can tell useless. Certainly, the Apple website and associated instructions have become, for this long-time user, more akin to Microsoft Windows in their impenetrable lack of intuitive, user-friendly ccharacter.
    Oh yeh. To add to my 'disgruntledness' … How come there is no iPad Mini option in the Product drop down below?
    Where is Steve Jobs when you need him?!

    I have been having this issue for months, now--at least 3-4.  I updated my credit card info on my account, thinking maybe that would do it, but NOPE--can't review a single thing I've ever purchased in iTunes--not from my iPhone 5, PC or iPad 2.  Ridiculous, at this point...just remove the ability to review at all, if this is how it's going to be. SO frustrating.

  • How does one remove duplicate versions of the same songs on an iPhone5?

    How does one remove duplicate versions of the same songs on an iPhone5?

    Yes, I use Live Bookmarks.
    This is the RSS http://www.ctech.com/forum/rss.php
    Each of those entries at the RSS site show up in my Firefox RSS folder twice. The content of each entry when I go to it is exactly the same. It's not that one is the reply to the original post or anything like that. For instance, see the attached image of the list of items that show up. The highlighted yellow on top is an example. Both of those links display exactly the same original post and replies. Why is that? Is is possible that somehow I'm subscribed twice? Does that make sense? How can I delete the duplicates, or for that matter, clear all those items that show on the list? I just want to see the new ones. Thanks.

  • How does one email a video from iPhoto

    how does one email a video from iPhoto

    One doesn't.
    Simply, sharing video via email is not advisable.
    Many email services have an attachment limit of 20mb and some a limit of 10mb. As emails are sent through an array of relays, the effective limit is the smallest file size allowed on any of the relays.  That means that video is rarely suitable for emailing.
    Then there's the whole issue of Codecs and not all machines will have the codecs to play all videos. Plus, folks with slower connections can find it very inconvenient to download large video files.
    Finally, sharing video from iPhoto via email is not supported. All that gets you is the Movie thumbnail. If you feel you must share via email then you'll need to export the video first, and attach that. Use the File -> Export command and set the kind  to Original.
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    Other than that your options include:
    Upload it to a sharing site like YouTube or Vimeo and email a link - these will allow the recipient to view the material online. That will avoid the codec issues mentioned, and the person can still download the video file if they wish.
    Upload it to sharing services like Dropbox or YouSendIt and email a link. This will require that they download the material to their machines to view.
    Regards
    TD

  • With PS 7  create new  Place two objects on the new file  then you may cut copy and paste Cs2  create new  place two object on the new file Cut is not available how does one cut and paste in new file

    With PS 7
    create new
    Place two objects on the new file
    then you may cut copy and paste
    Cs2
    create new
    place two object on the new file
    Cut is not available how does one cut and paste in new file

    If your using File>Place then photoshop cs2 creates what's known as Smart Objects, which photoshop 7 didn't have.
    In photoshop cs2 you can rasterize the smart objects and that should make the Cut function available.
    Select both placed layers, right click on the area to the right of the tumbnail and select Rasterize Layers.
    If in photoshop cs2 you to Help>Photoshop Help and look under Layers>Smart Objects, that should give you a good overview of what smart objects are.

  • How does one upload a file from flex to a cfc

    How does one upload a file from flex to a cfc?   Can you do the file upload via remote object? I usually do uploads cia cfm but prefer the asnc capabilities of remote object calls.

    Hi,
    The issue here is myFile. For flex we need to pass this name as paramenter becuase it's not html form item like:
    <cfcomponent>
        <cffunction name="uploadFile" access="remote" output="false" returntype="void">
        <cfargument name="file" required="Yes" type="any">
            <cffile action="upload" filefield="#arguments.file#" destination="C:\temp\" nameconflict="makeunique">
        </cffunction>
    </cfcomponent>
    From flex I'm getting the file using fileReference like:
    private function browseAndUpload():void
                    fileReference = new FileReference();
                    fileReference.addEventListener(Event.SELECT,fileReference_Select);
                    fileReference.addEventListener(Event.CANCEL,fileReference_Cancel);
                    fileReference.browse();
                private function fileReference_Select(event:Event):void
                    fileReference.addEventListener(ProgressEvent.PROGRESS,fileReference_Progress);
                    fileReference.addEventListener(Event.COMPLETE,fileReference_Complete);
                    fileReference.addEventListener(IOErrorEvent.IO_ERROR,onLoadError);
                    //fileReference.upload(request);
                    fileName = fileReference.name;
                    myFile.htmlText = fileReference.name;
                    SM_RO.importNSA();
    filerReference have an upload method to upload the file but I can't use that becuase I need to process my upload with my cfc.
    I'm getting an error:
    Failed to import the file. The cffile action="upload" requires forms to use enctype="multipart/form-data". Please also make sure the file is not open.
    I can't find the way to setup the enctype becuase again i can have html form items in flex, or I can?
    Thanks
    Johnny

  • How does one disable a button in the web UI?

    How does one disable a button in the web UI? I am trying to disable the edit button in the web UI for Accounts. What are the steps to take in order to accomplish that?

    Hi Abdul,
    Locate the Toolbar group group for that application. It should be ACC_OIC01 in your case. You can deactivate a specific button (event) under the toolbar group.
    Regards,
    J.Prabananth

  • How does one recover lost photographs on the computer?

    How does one recover lost photographs on the computer?

    My photographs were successfully uploaded to iPhoto when I was forced to restart my computer. When it turned back on again, the photographs were gone from my camera and my computer. I do not know how to restore them from my backup and cannot find the photographs anywhere else. Thank you for your help!

Maybe you are looking for

  • Can not access the media card files Blackberry 8310 - HELP

    Can not access the media card files Blackberry 8310.  I had a battery drain problem. The unit would only last 16 hours before completely drained. Purchased a new battery with the same result. I figured that I should try a complete reset so I did a ha

  • EXCH 2010 auto account creation fails after rollup 4 for sp 3

    We use a PowerShell script to automatically generate student accounts when they register. It was working fine until the other night when we applied updates (I can supply the entire list if needed.) Rollup 4 was one of the updates. Now when the script

  • HOW TO SET A RAW FIELD

    Hi, I'd like to know how I can set a RAW field with the correspondent '10' value (for '10' i mean the byte value of '00000101'). Is there a manner to do this at low level, without cast ? Thanks and best regards, Neil

  • How connect 10g with discoverer (host name give me error)

    hi master sir i install discoverer but not connect with oracle 10g i flow this step 1. From the Start button use Programs | Oracle - BIToolsHome1 | Configuration and Migration Tools | Net Configuration Assistant. 2. Select Local Net Service Name Conf

  • Explain the difference between two statement

    Hi All, Can anyone tell me why brackets are used in one and no brackets are used in other ... INCLUDE <ctldef>. INCLUDE cnt4defs. Thanks