Point me to the example make a pulse 6225 Board + daqmx

Looking for a book white/examples defining the terms of DAQmx digital signals for a trivial vi which runs by hand at MAX. All I want to do is use the terminal PFI4 on a pci-6225 map to generate a pulse of 100us. There are a variety of choices to generate a pulse of PFI4, but my choices keep getting rejected at compile or run time as inappropriate for the selected mode. There must be some examples like that, right? I shouldn't be looking the correct terms.

TIA

Alex

Hi Alex,

The following link has some general info on configuring DAQmx applications: http://www.ni.com/white-paper/5468/en/

There is also useful information contained in the help for the DAQmx writing VI: http://zone.ni.com/reference/en-XX/help/370469AA-01/lvdaqmx/mxwrite/

Mike

Tags: NI Software

Similar Questions

  • Keep the data on the record points and serve the rest

    Hello world!

    I think somehow either CompressWorkspace [tree] or PurgeTable what we want to do, but somehow I don't see exactly how...

    Here's our situation: the admin of our customer demand can create backup points. He made what is called "data freezing" happens a few times a year (3-4).

    The database is created using WO_OVERWRITE to keep a track full edit. However, for older data we now to just keep recording data and delete what that it is between the two. Only for the most recent backup points, we always want to keep the complete history. Is there a way to do this?

    To clarify things, with some text-Art, this might look like this for 5 Savepoints SP1... SP5:

    [SP1]-[SP2]-[SP3] hhh [SP4] [SP5] of hhh hhh [LATER]

    where - means "no historical data here" and "hhh" means "here for historical data.

    My first guess was the CompressWorkspace procedure, but if I give two points for first registration is deleted. What we want to do is give two points of record, have deleted all the data of the history between the two and keep both the backup points. In the example above, we would like to compress between SP1 and SP2 the SP2 and SP3.

    Note: the database will be migrated soon to 11 GR 2, so all the features of the OWM until this version can be used for a solution.

    Any help is appreciated!

    Kind regards

    Andreas

    Hi Andreas,

    You don't want to use CompressWorkspace.  Specify the backup even point to firstSP and secondSP and the parameter compress_view_wo_overwrite set to true.  Thus, for example:

    SQL > dbms_wm.compressworkspace exec ('LIVE', true, "SP1", "SP1");

    This should be done for each backup point where you want to delete the history.  The procedure would remove all lines for each primary key value, with the exception of the most recent in the backup point.  It cannot be done on a variety of checkpoints at the same time, as that would remove the previous save points, as you pointed out.

    Kind regards

    Ben

  • Can we make several Off features in a collection of panels and how the query-off based on the example?

    Mr President.

    Can we make several Off features in a collection of panels and how the query-off based on the example?

    Concerning

    Once again, no jdev version?

    It must be really hard to remember ehich version you are working.

    Would have given a quick glance in the docs

    featuresOff java.util.Set Yes a list separated by spaces of the features by default to disable to the panelCollection. Values supported are

    That is the answer to a message.

    The second answer is that qbe is filtering tables. If you fund the table without filter you have not the qbe.

    Timo

  • Improvement of the aquistion of ADC pulse time

    Hello

    I use Labview 8.6 Professional version and an ADC NI PXI-5114 in a chassis PXI-1033 to capture some positives.  The pulse widths are in the order of 100 ns to 10.  The impulses can reach CDA at random times.

    With the search here, I found some suggestions very useful and therefore following the examples of Labview OR-Scope my Foundation, I managed to set up a program that allows you to capture these impulses.  For now it works great except for one thing.  It will not capture consecutive pulses that are closer than 2ms.  It is too slow for my application, actually faster than I can be ready to seize the next pulse best.  If I can get this time back down to about 200 US, I'll be happy.  The ADC 5114 specifications indicate a time to rearm in the low microsecond range so I know the hardware is capable of doing much better that what I mean but this is translating to the software side of things gives me some difficulties.

    As much as I know there is no trigger to start and stop captures data on one edge, so in my program I capture of basic data on extraction into pieces and use a signal processing subVIs to pick up the trailing edge of the pulse in order to know when to stop capturing data.  If the pulse width has been set then this wouldn't be a problem, but as I don't know what it will be, I prefer to capture just the pulse so that I don't miss other legumes.

    Is it an inefficient way to solve the problem and what is perhaps originally the code is running slowly?

    I would appreciate any help with a solution to this time getting 'rearm' down (or comment on my code and that you feel would improve it).  I've been using Labview for a few years (only to learn as I go), but it's my first shot using NOR-Scope and a digitizer high speed.

    All suggestions are welcome!

    Thank you

    Daniel

    More importantly, if you want to rearm fast, deterministic, you must use multi-record acquisition.  This sets up the device automatically and very quickly (depending on the configuration and device, 1us to 10us), rearm.  As you apparently don't know how long the pulse can be at any point in time, you must set up the record for a reference position length small (say 10% for 10% pre, post 90% trigger) and samples sufficient to cover your expected worse (10us + 10% pre-trigger + a margin engineering for a pulse that is wider than expected).

    You can activate the multi-record acquisition by plugging in just in a number to Terminal "number of records" on the Horizontal VI to configure.  This will configure the digitizer to divide his memory embedded in N circular buffers to store individual records triggered.  It is the only mode that you can expect to get quick reset time on as host, recovery time, and duration of treatment are not the bottleneck.

    Once you do this, you will need to make a few small changes to the rest of your VI existing to control what (s) you are to pick up.  I suggest you look at the examples of Multirecord NOR-Scope.  If the flow is a concern, you probably want to fetch multiple records at a time.

  • How to use NI9474 and cdaq9172 to generate the right variable cycle pulse 1 kHz

    Hello, I would like to use a NI9474 (in a cdaq9172 chassis) to send a square with a frequency of 1 kHz wave. The cycle will change just about every second (based on NI9205 voltage readings in all separate loop, by controlling the local variable 'duty'). It is important to have a temporal resolution of decent output; that is the difference between 50% and 51% of duty cycle must be determined. 9474 says that it has a speed of 1, so I expect that this is possible. This is used for a buck converter. The output is switching on and off a MOSFET, which only needs 5 volts, and less than a mA, when on. I tried a "simulate" with a square wave signal using a frequency of 1 kHz and 100kS/s and introduced in a DAQ assist with dynamic data to the converter Boolean between (probably not the best approach I admit). I tried also implemented using the DAQmx screw (without help). In both cases, I got an error that says that I need an external clock. I know that the chassis has an internal counter. This could be used for synchronization? I looked at examples of Pulse counter, but which seems to be to use a meter as output, not a digital channel, so I'm a little confused. The numeric examples do not seem to be what I want either. If I can't use the chassis for synchronization, it is possible, that I could get a NI9401. Could I use this counting or establishment of a clock (I could attach a function generator using a square wave of 1 Mhz for example)? For example with a 1 Mhz clock, then for a 50% duty cycle signal 1 kHz, after 500 clocks range from low to high and high to low after the other 500, (or 510 and 490 in 51% duty). Is something like that possible? Thanks for any advice, Thomas I should confess do not understand the things of meter too well at this point. Many of the examples I've seen, are apparently complicated screws.

    Hi Thomas,

    You can certainly do with a counter pulse train generation by using your 9474 in a cDAQ-9172 chassis.  Make sure that the module is in the slot 5 or 6 (latest chassis do not have this restriction).  Examples of pulse train located in the finder example under entry and exit-> DAQmx hardware-> generating digital impulses.  The example of Gen dig Pulse Train - Continuous.vi is probably in the neighborhood of what you want.

    To update the market on the fly factor, write the Co.Pulse.DutyCyc channel property after the task starts.

  • "An insufficient number of calibration points function" in the calibration to learn?

    I suspect that IMAQ learning model calibration VI can be tapped, like I can't make it work for the few reference points.

    I get error-1074396116, even when I'm passing over 4 points of reference, as specified using.

    I noticed these posts, the http://forums.ni.com/ni/board/message?board.id=200&requireLogin=False&thread.id=10257, the http://forums.ni.com/ni/board/message?board.id=200&message.id=17400&requireLogin=False, where the problem seems solved. The VI of the sample provided by the first poster, http://forums.ni.com/ni/attachments/ni/200/10279/1/Reference_Points1.vi, does not work for me either.

    My setup is LV9 on winXp32, image of 640 x 480 8-bit grayscale. What I try to do is not the subject of the post, the potential bug is.

    Can anyone provide a working example? Calibration samples included in the finder of the example use calibration grids, not of few reference points AFAIU.

    Thanks in advance, Enrico

    After a little experimentation with the VI provided by the first poster (attached my small change), I realize account of the calibration point of view seem to need a minimum of 5 points, while non-linear required a minimum of 9. So, there is a bug in the documentation. This can be confirmed?

    Thank you, Enrico

  • Why I see a yellow exclamation point symbol in the address bar?

    When visiting certain sites using Firefox Android, I get a yellow exclamation symbol in the left side of the address bar. For example in http://www.w3schools.com/html/html5_geolocation.asp
    Why this is happening, there is no indication anywhere. Clicking on it does nothing.

    1. What does this symbol.
    2. the fact that I was able to get information on this topic (in the browser) makes this extremely hostile user and should be fixed.

    See screenshot to https://lh5.googleusercontent.com/-LJAuws1PnH4/UeJmfCwA5FI/AAAAAAAAAUM/VyTqkOySsg0/w491-h872-no/13+-+1

    None of these answers are correct. The favicon of error occurs occasionally in Firefox for Android. When the browser is offline or on a poor network connection, you will get a time-out error page.

    We have a bug where the icon persists on reload. With a little time the favicon cache will expire and the favicon will be updated to the correct.

  • Points square on the screen, but it doesn't seem to be a GPU failure

    Hello. When El Capitan (last) tried to wake up from its sleep it won't but I used the power button to wake him up, when he made these points there. The system froze. I hard rebooted the screen is split in two. I hard rebooted again, they were left, so I did the LANDAU and SMC restores the points place after a while came back (sometimes lines, sometimes the screen would split screen). I removed the adaptor for the second monitor. After doing all this when I started out on a disc USB external (Snow Leopard), the points appeared again a few minutes.

    I did a lot of tests and everything past that. All on their default test setting: on Windows 10: Prime95, GPUtest, sky, Speedfan for the hard drive. On OS x: AHT (the one by which you press D, which has been tested 3 times), Cinebench and disc utilities. Usually when the CPU or GPU, within minutes the points and the screen becomes scrambled in minutes, but there seems to be nothing wrong with the material (late 2009 iMac, make / batch of March 2010). On Windows, Boot Camp 10, everything was fine, no square points.

    This could be a software problem (corrupt kernel I read on some forums could lead the points). Now it has been hours after I did the test and resets, it's normal.

    Extensive tests show that the material is good:

    Thank you in advance. God bless you. Revelation 21:4

    Start in Safe Mode, Mac OS x: Safe Mode bootand see if you get the same problem there. If she does not repeat is to log on to another user on Mac account and check there.

    However, it looks like a GPU card failure.

  • "box to remove 'being a hero of the web' make your mark ' on the home page

    using FF5.01. WinXP sp3 when opening home page has my google image search in the Center, but under another box with different adds for FF for example: be a hero of the web or make your mark how to remove what I changed my homepage to "open with white but then my google search went which I use. any info just to stop the box appearing on the home page FF

    You're better off use the Chromedit Plus had extension to play with 3 user folders, such as Firefox 4 and later versions do not even have the required folder \chrome\ and the example - files of this version of Firefox. The user must create this folder itself, as well as files, too - Chromedit Plus takes care of this for you and gives you an interface in the window of Firefox to edit these files, so that a reset button in order to test your changes more conveniently-close Firefox, change the user to a remote folder file and save it, then open Firefox to check change the work - and when it is not the process all over again.

    http://webdesigns.MS11.NET/chromeditp.html

    The best way to get rid of these "extracts" should change you your homepage back to what Firefox used before Firefox 4.0.

    http://www.Google.com/Firefox

    But, you will see the "snippets" that Google decides to show you instead of Mozilla. But those who are not too obnoxious to research on this page, and you will get the Google Web return to top menu to access to various Google services on your homepage.

  • The mouse pointer passes over the Satellite L10

    I have a toshiba satellite mobile celeron 1.5, 512 MB ram, 40 GB HDD, dvd - rw, wireless, modem, lan.
    I have a problem when you type in certain documents, or simply type a few things. When I type in the world of the example or write an email that my mouse pointer jumps 5 or 3 or 10 lines (or), I normally use a touchpad. This problem is disturbing me since when I bought this laptop (September 2005).
    I downloaded and installed a new BIOS, but it is the same problem - mouse pointer jumps...

    Does anyone have a solution?

    TNX, Danijel

    Hello

    Try to disable the touchpad while typing. You can use the FN + F9 key combination.
    I checked some of the messages in this forum, and generally this should help.

  • How to generate a working executable from the example of writer DataSocket VI file

    I am trying to build an executable file of the example "DS Writer.vi".  The first problem was that the "Control.vi of DataSocket Server" was not distributed with my script compile/install.  I fixed it (thanks Dennis) but now I get the following error message.

    LabVIEW: (Hex 0 x 626) cannot open a VI with compiled code separate in a Run Time Engine that does not have access to the VIObjCache.

    There is a solution to this (http://forums.ni.com/t5/LabVIEW/Getting-LabVIEW-load-error-code-59-using-LabVIEW-2010-with-a-Run/td-...), but it involves change a property of a VI library of DataSocket (if I understand though).  I'm reluctant to make a change to a library OR standard, because it could cause maintenance problems in the future (other developers not having the same change, or updated versions of LabVIEW).

    Has anyone successfully built an executable using DataSocket?  If so, can you offer any advice?  I'm using LabVIEW 2011.

    Thank you, Mark

    Thanks Nathan.  I was able to create and deploy an executable with DataSocket.  The last obstacle was to "uncheck the option"Code is compiled separately from the source file"in the properties of the VI" for the "DataSocket Server Control.vi.  The only problem with this solution is that I now have a custom DataSocket library.  I think that a solution would be to copy as VI or library in my project folder so that the solution is transferable to others in the future.  I would like to hear how other developers LabVIEW with custom libraries, either by strictly avoid that, keeping their own copies, or another solution.  But this is probably a topic for a new thread.

  • DAQmx: synchronization of the two tasks of pulse output

    Hey Gang,

    I need to synchronize two tasks of pulse output.  I use the PCI-6601 Counter-Timer.  I need to use two tasks because the second output frequency must be a multiple of the first.  I think that the way to do it is using arm Start Trigger functionality.  I found some information on this site about it, but the examples spoke using a "dummy" analog task, I do not understand.  I have found no documentation on the trigger to begin arms in the DAQmx documentation.

    For reference, here's the enforceable part of my code:

    TaskHandle DetHandle, LasHandle;

    DAQmxCreateTask ("DetPulses", & DetHandle);
    DAQmxCreateTask ("LasPulses", & LasHandle);

    DAQmxCreateCOPulseChanFreq (DetHandle, DetChannel,
    "DetChan", DAQmx_Val_Hz, DAQmx_Val_Low, 0,0,.
    StateSettings.DetFreq, StateSettings.DetDuty);
    DAQmxCreateCOPulseChanFreq (LasHandle, LasChannel,
    "LasChan", DAQmx_Val_Hz, DAQmx_Val_Low, StateSettings.Delay,
    StateSettings.LasFreq, StateSettings.LasDuty);
    DAQmxCfgImplicitTiming (DetHandle, DAQmx_Val_FiniteSamps,
    StateSettings.DetPulses);
    DAQmxCfgImplicitTiming (LasHandle, DAQmx_Val_FiniteSamps,
    StateSettings.LasPulses);

    DAQmxStartTask (DetHandle);
    DAQmxStartTask (LasHandle);

    DAQmxWaitUntilTaskDone (DetHandle, 10.00);
    DAQmxWaitUntilTaskDone (LasHandle, 10.00);

    DAQmxStopTask (DetHandle);

    DAQmxStopTask (LasHandle);

    DAQmxClearTask (DetHandle);

    DAQmxClearTask (LasHandle);

    I think I need to insert the startup code of arms before the start of the tasks, but I do not know what device to use for the relaxation of the beginning.

    I'll appreciate any help.

    Thank you!

    Roger

    Hey Jorge and all,.

    I appreciate the effort you do in my name.  The simplistic answer proved to be using the correct syntax to specify the name of the terminal where the starting arm trigger specification may find the edge of digital triggering.

    I use an output digital as the trigger (not shown in the code segment):

    >>>>

    Adjust the arm trigger for meter market
    DAQmxErrChk (DAQmxSetArmStartTrigType (DetHandle, DAQmx_Val_DigEdge));
    DAQmxErrChk (DAQmxSetDigEdgeArmStartTrigSrc (DetHandle, TrgTerm));
    DAQmxErrChk (DAQmxSetArmStartTrigType (LasHandle, DAQmx_Val_DigEdge));
    DAQmxErrChk (DAQmxSetDigEdgeArmStartTrigSrc (LasHandle, TrgTerm));

    The "TrgTerm" variable contains an array of char as "/ Dev1/PFI0" "EUREKA" discovery is that requires an oblique protagonist to work.  In other functions DAQmx I used that was not necessary.

    All of this consternation was absence of a single character ' / '.  It would be nice to add this to the DAQmx database somewhere.

    Best regards

    Roger

  • DAQmx continually update the example output table

    Hello

    I use the example Synch_AI-AO in the DAQmx folder and it works very well for sine waves, pulse, triangle waves, or whatever it is periodic. However, I would like to output an array of noise which produced WhiteNoise, which is continually updated service every N seconds.

    I tried to call the StopCallback and the StartCallback, then after delaying for N seconds, but since I have to be running when I call these callbacks I find myself coming back to the place where I called them before going back to them (like recursion), who kills my program.

    Is there a way update output so that it does not have the question of the recurrence which blocks my program?

    Thank you.

    Hi EricJR,

    Instead of calling the functions StopCallback and StartCallback, have you tried to call the DAQmxWriteAnalogF64 function whenever new samples are generated?

  • Do the same function as the example of menus to cut short except with ring menu...

    Newbie here: I want to create a sliding menu much similar to that of the sample menu shortcut of Runtime (in the finder of the example) except with a ring of menu instead of the list box which is used in the example.  I have a ring with 8 values in menu and option 3, I would a secondary menu that slides on the side that displays another submenu.  Is it possible easily/efficiently?  I'm looking at other alternatives, but this option would be best for my application from one point of the user.  Any help and examples would be appreciated.

    Thank you

    Steve

    What is proposed in this example, it is how you can modify or create your own menus for runtime (aka the context menus or context menus) for a given control.  Basically, you customize the menu, then use event to manage what to do to the menu selections.

    Now a ring menu control is a different beast altogether, BUT it looks almost exactly the same thing, so I can't see why the two might be confused.  As far as I know, there is no support in a ring of menu for several levels of menus.

    Often I find that effective design labview GUI (and good design, in general) works best with a compromise of what you imagine to what you can do easily and simply.  Flow like water: find a native control behavior that is * sufficient *.

    But! Here is a hack that might get what you want.  Looks like you want the multi-aplomb to a context menu accessible but without going through right click?  Use a 'mousedown?"filtering events to replace a left click with the right button.  Now, when the user left clicks, labview will tell the OS that they clicked.

  • How can I score points defined by the user in amplitude / frequency diagram?

    I have a table of frequencies and amplitudes. I need these values to display frequency values on the x axis and axis is amplitude. a default fixed parcel must be constantly visible in the graph, and then I want to score a few points defined by the user in the same graph, save these two plots in the same graph and then make a mark on the chart.

    Help kindly it's about my master of engineering project where I am trying to biuld an audiometer (to test hearing sensitivity) and I'll interface with microcontroller ardiuno labview and my hardware devices.

    so kindly help.

    Thank you.

    rich

    The points defined by the user might just be another plot.  You can add annotations to a conspiracy, but it's a lot of work.

Maybe you are looking for