has triggered the numerical sequence of read/write

Hello

I'm pretty sure it's impossible to do in Labview, but thought I would ask the question just in case:

On a digital falling edge I need to define a digital line on a highest PCI-6224 and a low, then read sixteen lines as a port.  Output high and low lines should change status then and sixteen lines should be read again.

The process is repeated on the edges of successive falls.  The time between edges may be as short as 11 microseconds (90kHz).

We have currently a program written in C++ to do this job, but I want to create something a little more friendly and have virtually no C++ experience myself.

Thank you.

Hi Simon,.

I have an idea how to do that using the DAQmx card.  This has not been tested, but I think it should work with just a few tricks with DAQmx.  There are three tasks that will be required:

Meter output
==============

This should be a task redeclenchables meter.  Take a look at the example in the example finder LabVIEW under Hardware Input/Ouput > DAQmx > generating digital pulses > Gen dig Pulse Train-finishes-redeclenchables.

1. This should generate two pulse whenever the external trigger is received so your 11us impulses are the trigger for this task.
2. these impulses are then for each reading of digital lines:

Rising edge - changed lines to enable
Falling edge - read data.

By making these large enough pulse (> 140ns) that will take care of the running lines.

3. the gap between pulses must be long enough for any delay required between the readings.

Digital output
==============

It must be a regenerative continuous power - see example material entry and exit > DAQmx > digital generation > Cont writing Dig Ext Clock.vi - Port.

1. the clock source should be set by right-clicking on the source control.  Select i/o filtering name and then check the box advanced terminals.  You can then select him appropriates the in-house production of counters.

2. you need to set the clock for the front edge.

3. the entrepreneurs that the buffer with two outputs that we require for example 10 and 01 and then sending a pulse to the clock pass effectively between the two.

Digital input
=============

This should be a task of standard continuous input as in the example of the input and output material > DAQmx > digital measures > Cont read Dig channel-Ext Clk.vi

1. set up the VI of timing almost identical to the output task.  Same source, but this time on the front clock down.

2 do with the data you want!

Overall program
===============

The main consideration is that you should start the meter output last as soon as it runs other can start synchronization of data.

I hope this helps and is clear enough.  I would like to know if it makes sense or if you would like more information or even no matter what assistance this program construction.

Kind regards

Tags: NI Software

Similar Questions

  • Help? the source volume is read-write and can not be disassembled...

    I use 10.11.5 on an iMac 21.5 ", end of 2009 and I want to restore the OS X 10.11.5 to HD on an external drive but I get this message" Source volume is read = write and cannot be disassembled, so it cannot be copied from block. "  I can find answers do not address El Capitan.  Help would be greatly appreciated.

    .. .Goldie

    You use disk utility's restore feature?

    If the HD has a recovery partition, you can make starting in place of the recovery.

    Or you can use SuperDuper! (the basic version is free and can copy the entire disk, the paid version allows "smart updates", which copies only files that are different, saving time) running on externally to perform the copy.

  • The control law of read/write FPGA on the loop of the root / the UI thread?

    Hi all

    As the title suggests, the read/write control FPGA, https://zone.ni.com/reference/en-XX/help/371599H-01/lvfpgahost/readwrite_control/, is on the loop of the root / the UI thread?

    Watch, https://zone.ni.com/reference/en-XX/help/371361J-01/lvconcepts/multitasking_in_labview/, this would indicate as that, but I would get a good response.

    Kind regards

    David

    While I'm not 100% if it acts on the loop of the root / UI thread - calls to the FPGA (e.g. control of read/write operations FIFO) block permanently. I remember having a weird problem in the past where my FPGA operations have been suspended because I was expecting given FIFO elsewhere.

    You should be able to test this easily enough - try to open a file dialog during playback of your FPGA. If playback crashes while the dialog is open, you have a loop of root problem.

  • specify the format of the cross-reference in read/write rules?

    How can I specify a cross-reference in the rules format of reading/with import xml document?

    Gary,

    If you want all occurrences of the xref element to use the same format, you can specify the format of an InitialObjectFormat rule in ESD or use a rule r/w in the form:

    element 'figref.

    {

    is part of fm of reference;

    format FM property reference value is "Figure."

    }

    If you want to use different formats and have a particular element to specify that one, you can set an attribute whose value is the name of format with a rule like:

    "xref" element

    {

    is part of fm of reference;

    attribute ' xref-fmt' is the formula of property reference fm;

    }

    In fact, if your DTD defines an attribute called 'format', default FM it uses for this purpose.

    -Lynne

  • Repeat the Scans with DAQmx read/write

    Hello:

    I use DAQmx vi to generate signals on channels ao0/1 a reading of the signals of the channels ai0/1 a card NI USB DAQ of 6251. I do this by using the read and write of vi and a trigger vi. This vi will run successfully for a single analysis. Now, I need to be able to perform multiple scans with the same settings but separated by 5 seconds or more. When I click on Scan, the vi analysis. However, when I click scan again once it does nothing and I don't know how to scan again.

    The vi VU RAMP MOD (not included) is simply used to generate the shape of the signal.

    Thank you!


  • In the target FPGA read/write control function?

    Hi people,

    I learn a lot from the sample project FPGA, including how you can easily retrieve and set controls and indicators in an FPGA using the read/write control function running in an RT target.

    However, I can't find a way to do something similar in a FPGA target.  I've been down this road before - that is, trying to move the data in/out a looping VI FPGA (void) to a (parent) FPGA VI - where my memory points to reach what I needed use.

    So I was happy to see the palette FPGA enabled me to drop the control functions to read/write on a FPGA vi target.  But alas there where tons of errors (not compatible son for target, etc.) and I guess now it's not possible.

    So, just to be sure, I'm not missing something, is there something like control functions to read/write to use in an FPGA for read/write in an another FPGA (looped)?

    In addition, why would I be able to read/write on a FPGA vi control functions if they are not supported?  (Sorry for the n00b question)

    Thank you

    Steve

    maherhome wrote:

    You're right that I don't have this knot in my palette.  However, I also do not seem to have a Refnum Occurrence in the palette is in the FPGA (see below), but I need to synchronize several loops of FPGA and added research using the textfield in the VI editor (and if compiles and runs).  So 6 months to Labview and I'm fuzzy on how the palette is restricted

    I don't know what you're trying to prove here. There is no control of refnum in search in your image. Occurrences are available in FPGA, and for control of refnum for one you just right click on a function of the instance and create a control. If you can create a valid thread of a certain type of data, then you can create a control or the indicator for it, regardless of the question to know if this type of control or indicator appears in the palettes. However, the functions that you can use in the block diagram are limited by what is available in the palettes.

    maherhome wrote:

    Regarding orders read/write for the FPGA/lights, I'm surprised that the infrastructure developed to allow read/write between RT and FPGA has not mobilized to allow read/write between FPGA and FPGA.  The elements of memory function, but they are less convenient.

    You may have noticed that you cannot compile the individual parts of an FPGA VI and combine them later; This is because when you compile an FPGA VI, all its subVIs are essentially merged to create a single block diagram (with additional logic if one not reentrant Subvi is used in multiple locations, this is why it is not recommended on FPGA). The subVIs no longer exist in the FPGA compiled; reading and writing a control on them would make no sense. If you want similar behavior, use global variables - but understand that global variables store values in FPGA logic resources. Using the elements of memory (or FIFO, which can also store in memory) leaves more fabric available FPGA logic by storing data in resources specially designed for this purpose.

  • How do you know the speed of read/write of a flash drive?

    Who knows a program to read/write speed?

    Hi Cristi,

    Thanks for posting in the Microsoft Community.

    An indication of the standard flash drives read/write speeds is the following:

    USB 2.0:

    Sequential write speed range = 4-10 MB/S

    Sequential read speed range = 15 to 25 MB/S

    USB 3.0:

    Sequential write speed range = upto20 MB/S

    Sequential read speed range = upto45 MB/S

    These reading and writing speeds offer a guide to the read/write Flash Drive performance and have been identified in recent tests. Please note that we are changing the components USB Flash Drive at any time based on the availability and cost. This means that the read/write speeds above cannot be guaranteed.

    You can use your favorite search engine to search for this application that measures the speed of read/write of flash drives.

    Warning: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    Hope this information helps. For any other corresponding Windows help, do not hesitate to contact us and we will be happy to help you.

  • failed to read/write memory

    I would'nt be the smartest on the laptop, and rather than take it to get repaired, once again, I would be grateful if someone could help me. I have a dell inspiron XPpro.when I turn on that I get the error codes memory read/write failure@1FFF1DC8,read FF12FF10 expecting10FF10.memory line failure@1FFF0000,read F10FF10, expecting00000000.memory read/write failure10000000, read00ED00EF, expecting00EF00EF running. Have tried the system restore, but it goes up to the start-up of the fault. I get into windows by pressing F1. It took forever to make that the system is slow and freezes. I read the forum and would have tried to reinstall windows but can not find the disc, I did not have the registration number of the sticker. I would be grateful for any help, even if just to tell me to take it to an expert.

    Hello

    When exactly do you get this error? When you start the computer or after you start?

    Check out the link and follow the steps.
    How to perform disk error checking in Windows XP
    http://support.Microsoft.com/kb/315265
    Important: Running chkdsk on the drive if bad sectors are found on the disk hard when chkdsk attempts to repair this area if all available on which data may be lost
    If the problem persists, then you can contact the manufacturer of the computer
  • NFC tags low level read/write operations

    Hello

    I know it's little bit offtopic question - but since you are experts in the field I will try you may ask a simple question:

    1 / I want to know what protocol is used to read/write for the NFC operations, tags are used. According to my understanding after that the label is placed on the NFC (NFC, USB drive phone) reader, it is powered and set to the ready state. The application protocol for read-write operation is used. As I think that the format and content of the commands used to read/write is not specified in the ISO 14443 and it is based on a material/manufacturer and will be different for FeliCa, Mifare, Innovision, etc tags, so there is no way how to handle read/write NFC tags with unique implementation operations. This hypothesis is correct?

    2 / are there tags, that supports the 4 7816 APDU commands for read/write operations?


    Thanks for the reply
    Kind regards
    STeN

    Hello

    To read the NFC forum specifications. It will be better explained than by me.

    several protocols are used according to the contactless front-end configuration and capabilities. It includes ISO14443-A, ISO14443-B and Felica. Sometimes the other protocols are also available, for example Innovatron (not Innovision lol)

    Mifare is not a Protocol, it is a line of NXP products. These products use the lower layers of the ISO14443-A protocol specification.

    There are 4 types of tags

    (1) using the lower layers of the ISO14443-A
    (2) using the lower layers of the ISO14443-B
    (3) something related to felica?
    don't know exactly on these 3, you should read the specs. Everything is clearly understandable, not like ETSI.

    (4) something using commands ISO7816-4 on top A ISO14443 or B or others. You must SELECT, BINARY, BINARY update READ. You can implement using javacard, I did it and it works. You need two binary files, which can be hard-coded.

    Concerning
    Sébastien

  • Frequency of calls to control for the FPGA read/write

    Hello

    I use a cRIO-9076 with a module NI 9476 DO spend some faucets. It is sometimes necessary for faucets with a pulse time down to a few ms of impulse.

    The FPGA VI Gets the power tap queries, executes a logic of security, and routes the numerical results for the exits. It gets applications power of the VI on RT target that uses the function ' Read/write FPGA control' interaction programming of the FPGA VI front. The loop on the RT runs with 1 kHz, no iteration is missed. That means, it should be possible to switch the valves with a resolution of 1 ms.

    What I see on an oscilloscope, is that the output digital are high for multiples of 50 ms, the system does not reach the valve for example 80 ms pulse or pulses shorter than Ms. 50 is a kind of limitation for calls of "FPGA read/write control"? I tried both options for arbitration, but it does not help.

    The best knowledge of the limiting cRIO/module/features or ideas? Thank you in advance.

    Karsten

    Hi Karsten

    You use any time in your FPGA VI?

    It is useful to your code by sending as an attachment so that I can have a look.

    Kind regards

  • Effective use of the FPGA read/write

    I am writing an application for a CompactRIO real-time and I am looking for ways to simplify my code and reduce the CPU usage. I use FPGA to do much CAN e-mail and signal processing, then I have a VI running on the real-time processor that reads values in the FPGA, does some processing and outputs data in the FPGA. My code running on real-time parallel uses several loops running in a master/slave architecture. A single loop reads all necessary information in the FPGA in indicators and writes the values of the controls in the FPGA. The other loops read entries and manipulate the outputs via local variables.

    My question if it would be more effective to get rid of the loop which is dedicated to the communication of FPGA and has of each loop to read and write directly on the FPGA. If I use a reference block FPGA open and use the reference of the output in several loops, each read/write operation block others until it's over? Each output is changed only in one place in the code, but there are several entries that are used by multiple loops. It is even more effective for each loop of read/write for the FPGA on request? How will this affect determinism?

    Thank you

    Jon

    Jon,

    Read/write controls is not deterministic, but I think that your previous method should work just fine, as long as you have that unique writers. If you have multiple writers, you start affected by race conditions.

    I don't think you will see a significant improvement in the performance/CPU in the alternative method. You would see big performance gains if your master loop reads more slowly indeed, but it's always a compromise.

  • Make the NTFS read/write permissions without possibility to create/delete folders

    Out to one of our sites, we have a server running Windows Server R2 of 2012 which took a file share accessible to our people on the spot. Our project managers have developed a very strict folder for this file share structure, and for the purposes of verification, they want to stick to the closer this structure as possible.

    Therefore, although the local people must have read/write access to create, edit, and delete files, they won't they are able to create or delete folders. They want to use the existing folders and not to store stuff in folders that nobody knows there is except for the person who created them.

    The closest way to you, I got to do is to uncheck the advanced permissions "create folders / adding data" and "Delete subfolders and files." This has some side effects, however, the most notable being the inability to add data to the files, some files (such as CAD drawings) can be changed by anyone except the person who created them.

    Is there a way using only the NTFS permissions to accomplish what the project leaders? And if not, are there any third-party utilities that will help us do this?

    Thanks in advance for any help.

    Try asking in the Windows Server forum:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • The user read/write register access to the network folder/drive. Some users unable to save or write to the directories.

    I have three users who have no problem with read/write & record readers records secure network access. I have two users who can read some files and save in some files, but cannot save or access certain folders even after receiving full access read/write for all files in the network drive. Help, please. The computers running Vista Ultimate and server access to Windows Server 2003. Thanks for your times * address email is removed from the privacy *.

    Problems related to access to the files on a server networked in a business environment are a produce little for Windows answers Forum.  I recommend you repost the question either in the Technet Forum to the:http://social.technet.microsoft.com/Forums/en-us/winserverfiles/threads orhttp://social.technet.microsoft.com/Forums/en-us/itprovistanetworking/threads.

    I don't know that someone there can help you.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Sony ILÇE-7R - what is the speed of read/write in the camera

    I have several Sony ILÇE-7R cameras used for a given application where more than 80 panes in a row with 1 second interval occur.

    When you are taking pictures on a 1 sec shutter time / 1.2 s, then the camera tends to slow when writing the buffer on the SD card. (A suitable high-speed sdcard has been used).  When the buffer is disabled on the SD card, then the camera accepts no any command of the shutter (IR Led or cable gives the same question), so I'm missing components/images.

    What is the read/write speed in the camera?

    What are the compensation of buffer time?

    Are there settings that can improve the buffer time on the SD card, while taking still pictures of compensation?

    Is there firmware settings that have been implemented to improve the write speed camera?

    Thank you very much

    Kind regards


  • Dell XPS 8900 media card reader write protected: how to remove the protection?

    I use the card reader to write mp3 files on a micro-SD card to use in a small MP3. Until today, no problem. Now I get the error 'write protected' - and it is not because of the tab in the adapter SD being in the wrong position.

    There were a few quirks days when card readers are presented as explicit readers in this PC, but this phenomenon disappeared when I restarted the computer. I suspect that this may be related.

    Advice as to how do these ports without protection would be appreciated. Meanwhile, Plan B, using a to a USB external card reader works.

    Also: Run Windows 10 as originally installed on the computer.

    Phil

    The outcome: diskpart approach after trying and failing, I decided to try canned air in the slot for the fourth time (this is what I did the first time that the crack would not read and later that day).

    This time I gave him a dose really long and deep air under pressure. And voila, he now writes and reads.

    Sorry to take all this space on what turned out be a non-issue, or should have been.

    I have three other computers with media slots, two of them for close to three years, and no one has posted this question - as in my XPS 8900 after only three weeks of minimal use of niche.

    Guess never say never is a good adage.

    Phil

Maybe you are looking for

  • 8.1 Windows Installer on Vaio 13 Pro clean

    Hi people After having a lot of problems to upgrade my Vaio Pro 13 of Windows 8 to 8.1, I decided to try a clean install of 8.1. However, I have problems to install all the drivers. Someone at - he managed to a clean Win 8.1 install and get all the d

  • Hi... hp officejet pro 8600 white Panel

    Hi, I'm new to the forum. I'll get straight to the point I bought the officejet pro 8600 AiO After 3 weeks of use my Panel turned to white. I tried to reset the printer to advice provided by experts on the other post but nothing happened.Can you plea

  • HP v165w

    Hello How it would format the flash size is zero   USB device ID: VID = 03F0 PID = 5307  

  • Run as user different option missing

    In Windows 7 If you hold the SHIFT key while clicking a program icon you are supposed to get some hidden options "run as Administrator" or "run as different user". In my case, the second another user option is missing. How this can be solved?

  • Video of Smartphones blackBerry problems

    Any who experience problems when you use the video mode on the camera? I have a new 8330 curve that does not work when I try to video of something. Usually freezes up. Still photos are very good. Any ideas on that?     TXS