Using 6533 DIO32HS, is it possible to use double buffered output with varying pauses?

I'm using Level-Ack handshaking to transmit data. Currently, I'm hooked up to a loop-back on the DIO32HS card.
If I don't use double-buffering, I end up with pauses in data transmission, so I need to use double buffering. Unfortunately, I can't seem to set up a delay in the middle of a double buffered scheme.
What I need to do is this:
Transmit 64 packets of data (16 bits each) on group 2 / Receive 64 packets of data (16 bits each) on group 1
Delay for .2 ms
Transmit the same packets again / receive
The delay in the middle will need to be varied, from .2 to 20 ms.
I'm programming in Visual C++ 6.0 under Windows 2000, with (as suggested above) group1 c
onfigured as input (DIOA and DIOB) and group2 set up as output (DIOC and DIOD). Due to the speed of transmission (256kHz) and the small size of the data set, the program I wrote, no matter how tight I try to make it, cannot insert the proper delay and start the next send on time.
Does anyone have any idea if such a pause is possible? Anyone know how to do it, or any suggestions on what to try?
Thanks!

.2 ms is a very small time delay to use in software. Windows usually isn't more accurate than about 10 or 20 ms. If you need to have small, precise delays you could either use a real time OS, like pharlap and LabVIEW RT, or use extra hardware to generate the delays correctly.
I would recommend using a separate MIO or counter/timer board (like a 660x) to generate timing pulses for the DIO32HS. This gives you precise timing control at high speed. If the 32HS is in Level ACK Mode, it will respond to external ACK and REQ signals. This is covered in more detail on page 5-10 of the PCI-DIO32HS User Manual.

Similar Messages

  • Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.

    In the DAQmx 9.4 Readme the following is stated:
    Samples Not Acquired on NI 660x or NI 6624 Devices When using pulse width, semi-period or two-edge separation buffered measurements with the NI 660x and NI 6624 on counters 0 and 1, some samples may not be acquired under certain circumstances.
    Could anyone elaborate on this? I am particularly interested in knowing under what circumstances this problem arises for the 6602 PCI devices.
    How should I understand 'NI 660x and NI 6624 on counters 0 and 1'. Is it only a problem on counter 0 and 1 for the 660x or does this only apply for the 6624 devices.
    /mola 

    Are there any NI Product Support Engineers out there who has an answer to this question and who are willing to share it with me?

  • Is it possible to create the ALV output with dropdown list for the columns

    Hi forum experts,
                              Could the ALV output contain the dropdown list for the column names? if yes, then how we can acheive this to happen.
    Thanks in advance,
    Regards,
    Samad.
    Edited by: Samad arif on Aug 21, 2009 4:40 PM

    Hi Arif,
    Yes we can .FOr the codding check the article,
    [dropdowns in ALV|https://wiki.sdn.sap.com/wiki/display/Snippets/DropdownsinALV]
    regards,
    Archana
    Edited by: Archana Kumari on Aug 21, 2009 1:22 PM

  • Is it possible to run an IdocScript Query with Service GET_SEARCH_RESULTS?

    Hi All,
    I need to run the below query with GET_SEARCH_RESULTS service.
    dDocType <matches> `ArchivePackage` <AND> xSubmissionDate < `10/08/13 11:03 AM`  <AND> xArchiveDocName <EQUALS> dDocName
    Part of this query works fine but when the part in BOLD is also used I get an error, reason being there is nothing like <EQUALS> when using QueryBuilder
    Instead is it possible to run the below idocscript with any service?
    <$ (dDocType like 'ArchivePackage') & xSubmissionDate < dateCurrent(-365) & (XArchiveDocname == dDocname) $>
    I tried it with GET_SEARCH_RESULTS, but got wrong results and no error.
    Is this even possible or should I just change my approach?
    Regards

    I tried to search more info on this one. It is true that in all cases the operator is followed by a constant - see e.g. https://blogs.oracle.com/interactions/entry/ucm_get_search_results_with_full_text_search
    Honestly, I see no reason why a reference to another metadata could not be made, but the parser might just fail on it. If you can, try to get an official answer from support via Metalink. Alternatively, you can decompile the code processing the service and check why parsing fails when non-constants are used.

  • Is it possible to convert LabView data into OLE variant?

    Hi. I'm using Activex Data Objects (ADO) to communicate with MySQL. Some ActiveX methods give OLE variant output, with "Variant Type" like "VT_ARRAY|VT_UI1", "VT_UI1" or "VT_BSTR". With some deduction and trial and error is relatively simple to extract data from this OLE variants and convert them to LabView data types. The problem is when I try to input variant data to some ActiveX methods, it almost always give me errors, I suppose because it expects the same type of the outputs, this is: OLE variants. Now, the question is: ¿Is there any way to convert LabView data into OLE variant data? ¿How?
    I've been searching and found a lot of posts about problems when passing variant data into ActiveX, saying that sometimes SAFEARRAYs are needed, sometimes saying that there were some bugs in LV6, giving some workarounds to this bug and saying that it is fixed in LV7.1, but the supposed workarounds don't work and the bug is still present in LV7.1, if it is really a bug.
    I think that if I could put LV data into OLE variant shape I may find an answer and solution to this matter.
    Thank you
    Daniel R.
    UdeC - Chile

    Below I describe how to handle OLE Variants, but I wanted to mention that LabVIEW does have a Database Connectivity toolkit (http://sine.ni.com/nips/cds/view/p/lang/en/nid/6429) that has already created a set of VIs for ADO. You might check that out first.
    However, handling OLE Variants in LabVIEW is automatic. LabVIEW itself has a variant datatype. When you use the ActiveX property or invoke nodes and one of the parameters is an OLE Variant, it is automatically converted to a LV Variant. You can then use the LV Variant VIs (such as "Variant to Data" and "To Variant").
    Brian Tyler
    http://detritus.blogs.com/lycangeek

  • Writing to harddisk using 6533 resulting in loss of data

    i want to transfer data at a rate of 5 MB/sec (slower speed is also OK minimum is 250 khz). But the problem is i am are losing data . I have to transfer around 40 GB of data from external world (some recorder) through the 6533 card . Presently i am using double buffer pattern generation mode of operation in which request is connected to clock. The problem is that there is no handshake i.e the acknowledge is kept open and the data will be coming on the data pin of the card till stop is pressed on the recorder. Can the card have access to PCI bus till stop is pressed (i doubt so because there are other PCI device on the PCI bus). I am using VC++ code for operation, where i have two threads where in one thread i am
    reading data and in the other i am writing to the harddisk. I am losing data in this case, so i did another experiment i just stored the data in the RAM and when my buffer in the RAM became full (i made 100 buffer of 32KB) i write the buffered data to harddisk i found there is no error. so how can use two threads so that i can write 40 GB of data. Presently I am working on a PC which has 128MB Ram and 80 GB harddisk windows 98 OS. what is OS 's overhead?. what is data rate possible and which mode to use ?I donot have control signal like stoptrig in the recorder.How to go about?????

    pinku,
    First of all I would recommend taking a look at the following tutorial:
    Maximizing the Performance of the NI 6534 Digital I/O Device
    Available from our support page (ni.com -> Support -> Search for: +6534 +performance). The tutorial has concepts that will apply to the whole 653X line of boards. It also has some benchmarks that will allow you to gauge the expected performance of your application.
    For continuous pattern input of more than 64 MB (the buffer limit imposed by Windows) you would have to perform a double-buffered acquisition where you write data to disk as you read it from the card.
    Some suggestions:
    1) Get the fastest computer you can get. Some specs that would help:
    - Enough RAM to handle all applications loaded at the time. Memory paging will halt your acquisition. Excessive RAM would not help you go any faster, it would just help you make sure everything is loaded on physical memory.
    - Fast Hard Drive. Newer hard drives get better throughput rates. SCSI would be nice but beware that a PCI SCSI controller would increase traffic through the PCI bus.
    - Faster CPU. The CPU speed really helps to make sure the transition from application memory to the hard drive is as fast as possible.
    2) Make sure you disable any processes or applications running in the background.
    3) Disable any other devices on the PCI bus, including integrated devices. Things like network adapters would create traffic on the PCI bus even if you think you are not accessing the network at the time.
    4) Write to the hard drive in blocks of power of 2 size. We have found that this makes the logging process much more efficient. Numbers will vary from system to system but the sweet spot we have seen lies around blocks of 16 KB.
    5) Use a 6534. The on-board memory helps by alleviating occasional backlogs due to PCI traffic or CPU used by other applications or services.
    Most of the questions you present above will be answered by the tutorial. The other recommendations will help you setup this specific application.
    I hope this helps,
    Alejandro Asenjo
    Applications Engineer
    National Instruments

  • Using 6533, how can I wait on REQ after latching ACK?

    This seems like it should be fairly straightforward but I can't seem to get it. Does anyone know how I can wait for a pulse on the REQ line (using a PCI-6533 DIO board)? The catch is that the DIO board needs to pulse the ACK line before looking for a transition on the REQ line and I cannot reconfigure the port in time to read the REQ latch.
    I am trying to: 1)set port data; 2) pulse ACK low (~100us); 3) wait for REQ pulse low (~100us); 4)read port data.
    Thank you for any help you can provide.

    Hello DMcAndrew,
    Typically for common handshaking type applications (burst, 8255), the acq and req lines are controlled automatically.  However it seems like you would like to control these lines yourself.
    It is possible for you to control acq with a software timed output.  I have attached an example that does this with DAQmx.  Since the control of the acq/pfi line is software timed, it would be difficult to ensure that the acquisition task does not start before the generation task (pfi2) goes low without missing a trigger.  Perhaps you could wire the output from pfi2 and your req signal back to a digital lines where a pattern match for a start trigger would wait for acq and req signals to go low.
    If you are just starting a new application and you are using the PXI or PCI 6533 I would recommend that you upgrade to DAQmx.  To see the different names in DAQmx there is a good online document here.  There is also a new help file for DAQmx here.
    I hope this helps.
    Jesse O.
    Applications Engineering
    National Instruments
    Jesse O. | National Instruments R&D
    Attachments:
    write_acq.vi ‏28 KB

  • Hi,  If I have 1 license for creative cloud, will it possible to install in 2 computers (1 laptop and 1 desktop)?  When I am in the office I can use desktop and at home I can use laptop? At the same time I will be using only one devise. Will that be possi

    Hi,  If I have 1 license for creative cloud, will it possible to install in 2 computers (1 laptop and 1 desktop)?  When I am in the office I can use desktop and at home I can use laptop? At the same time I will be using only one devise. Will that be possible?  Thanks

    Yes. Yes. Yes.
    Mylenium

  • Is it possible to use wildcards to match cell contents in an if statement?

    I need to return a ID along with some other information on a page by page basis, so that the information comes out linked by position.  I use a couple of loops and if statements to navigate through the document.  I am able to use exact matches of cell contents which is fine when the contents doesn't vary.  But the IDs, though they have a similar pattern, are all different. In a menu driven search, I am able to find what I need with '150^9^9^9^9^9-^9^9^9' But when I try putting this (or any number of [0-9], *, ? combinations) it fails.  Is it possible to use wildcards?  The symbol used for the match (==) makes me suspect that it is not possible and that only literal, exact matches will work.  But I wanted to check with the experts before giving up.
    Thanks
    pcbaz

    Thanks for the input.  You're right, a GREP search is much more efficient.  But what I'm trying to do and the circumstances here don't allow me, I think,  to go that route. I am trying to generate a list of values coming from several textframes on a single page and have them come out so that I can tell which values belong together.
    I'm using an inherited document with masters that were created 'manually';  the index numbering for textframes and tables is random. I navigate through the pages, looping through textframe indices asking ' does this textframe exist?' If so, I ask if it is a table -- if no, it is a simple textframe and I ask about the ID, if yes, I ask if the contents of cell (0,0) (invariant position and contents) are equal to the table I want..  I am sending the ID and other pieces of information from the table to one row of a new table on a new page.  So the ID and other information from a single page are linked by being in the same row.
    I know this a little 'off-normal' -- I'm using the search to navigate through the document and find things by location the way you do with a spreadsheet.  I have devised a work-around that helps me get around the fact that the ID is not invariant.  I create a list of the (exact) IDs from another document, equating them to a variable ('a').  I then loop through the list of IDs and ask if the contents of the textframe is equal to 'a'..This works o.k, unless there happens to be an extra space, a different kind of hyphen, etc. It would be so much easier if I could use the wildcards that work in a menu-driven text or GREP search in script just to ask about the contents of the textframe.
    Thanks again
    pcbaz (Peter BIerly)
    P.S. we have since rewritten the masters so this problem will not exist in the future -- we now know exactly which textframe and/or table indices to refer to to get any particular bits of information and don't need to ask questions about the contents.

  • Is it possible to use a cable with two headphone jacks on either end and an electric guitar adapter to record in Garageband?

    Hey everyone,
    I got my Macbook Air (Mid 2013 model) last month and I want to record my acoustic-electric guitar on Garageband (which came with the Air). 
    I don't want to buy a guitar that has a USB. I have a cable with a 3.5 mm headphone jack on both ends like the one pictured here on this website http://www.bestdealaz.com/item.php?id=628 (i didn't buy it from this site though).
    I connected a 6.3 mm guitar adapter (http://www.ebay.com/bhp/headphone-guitar-adapter) to this cable. Then I connected one end of the cable to my guitar and the other end to the Headphone/Microphone jack on the left side of the MBA.
    I saw how other people were saying to go to System Preferences / Sound and then change audio output to audio input.
    I can't do that. I tried.
    Please help!
    Thank you.

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

  • I am using a mac mini 2011 an 3gs i phone 2010 macbook white 2008 and a new 2013 apple tv box. When i check info on the cloud I get 'upgrade your operating system to the latest. My question is is it possible to use the icloud system without an upgrade

    I am using a mac mini 2011 an 3gs i phone 2010 macbook white 2008 and a new 2013 apple tv box. When i check info on the cloud I get 'upgrade your operating system to the latest. My question is is it possible to use the icloud system without an upgrade

    iCloud requires OS X 10.7.2.

  • Is it possible to use my ipad 4 as a second monitor through a USB connection.

    Is it possible to use my ipad 4 as a second monitor through a USB connection.

    perhaps, but my information was current. I had the same question and was looking for and answer and found it. So I responded in order to help others who found this question and were looking for an answer. This community is made more helpful and kept current by adding new answers with current information.
    imobl... air display was a valid response for 2011 predating the question. Also using Monitor2go was valid in 2012. There were USB mirroring and as a 2nd display for an iPad options at the time the original question was asked.

  • Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with MacBookPro 13" Mid-2012 running 10.8.4? Tried mini display to VGA cable

    Is it possible to use old Apple Flat Panel Display (62 watt power adapter) with a MacBookPro 13" Mid-2012 laptop?  Would like to use larger screen when working at home.  I have a mini display port to VGA cable and have tried to hook up the old display but it seems not to work.  When I try to activate the screen on the old display-- a window comes up in the MacBookPro and asks me if I want to shut down the computer.  What little I have read it that the MacBookPro had Thunderbolt and the old display may not be compatible?  Any assistance would be appreciated.

    quax88 wrote:
    11.09.12 22:16:06,148 ClamXavSentry[286]: scan email files
    11.09.12 22:16:06,148 ClamXavSentry[286]: I will quarantine infected files
    This doesn't have anything to do with your problem, but it will likely cause other issues with your e-mail.
    Here's my standard recommendation concerting the use of A-V software to deal with potentially infected messages:
    Never use ClamXav (or any other A-V software) to move (quarantine) or delete e-mail. It will corrupt the mailbox index which could cause loss of other e-mail and other issues with functions such as searching. It may also leave the original e-mail on your ISP's e-mail server and will be re-downloaded to your hard drive the next time you check for new mail.
    So, if you choose to "Scan e-mail content for malware and phishing" in the General Preferences, make sure you do not elect to either Quarantine or Delete infected files.
    When possibly infected e-mail files are found:
    Right-click/Control-click on either the infection or file name in the ClamXav window.
    Select "Reveal In Finder" from the pop-up menu.
    When the window opens, double-click on the file to open the message in your e-mail client application.
    Read the message and if you agree that it is junk/spam/phishing then use the e-mail client's delete button to delete it (this is especially important when the word "Heuristics" appears in the infection name).
    If you disagree and choose to retain the message, return to ClamXav and choose "Exclude From Future Scans" from the pop-up menu.
    If this is a g-mail account and those messages continue to show up after you have deleted them in the above manner, you may need to log in to webmail using your browser, go to the "All Mail" folder, find the message(s) and use the delete button there to permanently delete them from the server.
    To fix the corrupted mailbox index(es), highlight each one that was corrupted and choose Rebuild from the appropriate menu.

  • Is it possible to use backup files previously copied to an external hard drive to backup an iPhone?

    My sister froze her iPhone by trying to turn it off during a software update (not sure why) and restored it because she thought it would fix it. Unfortunately she unintentionally deleted all of her data and settings. She doesn't use iCloud, so I'm assuming all her files are backed up to her computer when she syncs her iPhone, but using iTunes I can only find two backup points using Edit>Preferences>Devices, both in the past few minutes. I know that each sync overrides the last backup files instead of creating newer ones, so apparently older backup files from her computer can't be used to recover her data. However, we both periodically use an external hard drive to back up our computers by basically dragging and dropping our files onto it, so there is an earlier version of her User folder on the external hard drive. It would definitely be preferable to use the backup files from a few months ago that are on the external hard drive and lose a few photos than to lose years of data, so would it be possible to direct iTunes to those backup files (AppData etc) instead of the ones saved on her computer hard drive? There's not any kind of browse option I can see that could allow me to get iTunes to search for backup files on the external hard drive and I'm not computer savvy enough to manually find the files and connect them to iTunes. Is it even possible to use backup files from an external hard drive? Do I have to replace the ones that exist on her computer now?

    Garageband can't use VST plugins.
    If you're talking about AUs: you could try to put an alias into the HD/Library/Audio/Plug-Ins/Components folder instead of the actual files, and see if GB loads them.

  • Is it possible to use both an ILB and an ELB (listening on the same port) in the same Azure cloud service?

    I'm building a test Lync deployment on Azure; yes, I know this is not supported, hence "test".
    Lync Front-End servers expose two set of web services, one for internal users and one for external ones; they listen on different ports (443 and 4443) on the same servers; when external services are published, you need a reverse proxy or a port forwarding
    in order to map port 443 of a public IP address to port 4443 of the Front-End server(s). When you have multiple Front-End servers in a pool, you also need to load-balance them.
    So, a typical Lync deployment looks like this:
           Internal users
                     |
                   443
                      |
              Internal LB
            192.168.0.20
            443         443
              |               |
       Lync FE 1     Lync FE 2
    192.168.0.21 192.168.0.22
              |               |
          4443        4443
              External LB
           Public IP Address
                     |
                  443
                     |
           External Users
    This should be easily replicated in Azure, as it supports both external load balancing and internal load balancing. They are even supported together in the same cloud service, so this configuration should be easy. However, it looks like "should"
    is the keyword here.
    After creating the external load balanced endpoint (which listens on external port 443 and forwards to port 4443 on the servers), I'm trying to create an internal load balancer and add internal endpoints to is; however, while the ILB can be created successfully,
    adding an internal endpoint listening on port 443 and forwarding to port 443 on the servers fails miserably, with an error stating that port 443 is already in use by another endpoint:
    Update-AzureVM : BadRequest : Port 443 is already in use by one of the endpoints in this deployment. Ensure that the port numbers are unique across endpoints within a deployment.
    For reference, my commands are:
    Add-AzureInternalLoadBalancer -InternalLoadBalancerName "LyncILB" -ServiceName "LyncFrontEnd" -SubnetName "LabSubnet" -StaticVNetIPAddress 192.168.0.20
    (This completes successfully)
    Get-AzureVM LYNCFE1 | Add-AzureEndpoint -Name "Https-Int" -Protocol "tcp" -LocalPort 443 -PublicPort 443 -LBSetName "HttpsIntLB" -DefaultProbe -InternalLoadBalancerName "LyncILB"
    (This fails)
    The existing external endpoint is configured as such:
    Get-AzureVM LYNCFE1 | get-azureendpoint
    LBSetName : HttpsExtLB
    LocalPort : 4443
    Name : HTTPS-Ext
    Port : 443
    Protocol : tcp
    Vip :
    ProbePath :
    ProbePort : 4443
    ProbeProtocol : tcp
    ProbeIntervalInSeconds : 15
    ProbeTimeoutInSeconds : 31
    EnableDirectServerReturn : False
    Acl : {}
    InternalLoadBalancerName :
    IdleTimeoutInMinutes :
    LoadBalancerDistribution :
    The error doesn't even make a lot of sense; the external load balancer listens on a public IP address, while the internal load balancer listens on a private IP address in the internal network; there
    shouldn't be any conflict here... however it looks like there is one instead.
    Why doesn't this work? Am I doing something wrong, or is Azure networking just being silly as usual again?

    Hello Massimo Pascucci,
    The issue that you are facing when creating an endpoint with internal loadbalancer is the limitation of not allowing same ports to be listening under a single cloud service. This reason for this is that there is a limitation of only one private IP (Also
    known as the Internal load balanced IP) per cloud service.
    There is also a limitation on the Internal load balancer more than one port to be published per load balancer:
    You can leave your feedback by following the link below:
    https://social.msdn.microsoft.com/Forums/en-US/1805c5a0-3906-4cd6-8561-9802d77e0ae5/is-it-possible-to-use-both-an-ilb-and-an-elb-listening-on-the-same-port-in-the-same-azure-cloud?forum=WAVirtualMachinesVirtualNetwork
    Refer to this article for more information on Internal load balancer:
    http://azure.microsoft.com/blog/2014/05/20/internal-load-balancing/
    Thanks,
    Syed Irfan Hussain

Maybe you are looking for

  • ITunes can't see my iPOD Music

    iTUnes can'r see mhy Fifth Gen iPOD Music Posted: Mar 25, 2007 1:12 AM Click to reply to this topic Reply email Email I keep my laptop music on an external drive. Today the drive accidentally got disconnected and thus iTunes (latest version Win XP) d

  • Display content area to PUBLIC but hide once logged on?

    Is there any way to display a content area or folder to the PUBLIC user but then hide it once the user has logged on? I currently have a folder whose contents are marked "Make Public"; this is displayed inside a portlet on my opening page. However, e

  • Formatting of Radar chart

    Hello, I am creating a web application with a Radar chart. However, I am having serious problems with the formatting of the chart. There are a lot of properties that you can set in order to format the layout of the radar chart. However, changes to a

  • Add combo in matrix

    How to add combo in system matrix ?  I am adding a column in the matrix of A/R invoice.I am using the following code-   Dim matMatrix As SAPbouiCOM.Matrix         Dim objColumn As SAPbouiCOM.Column         Dim ddlAP As SAPbouiCOM.ComboBox objForm = S

  • Open a word or RTF document with table doen't shown right

    I found some problem opening rtf or word documents with pages if they have a table Rtf doesn't import table Word has problem with merged cells