Measurement of voltage deferred with a start from a pulse TTL (PCI-6251, OR DAQmx)

Hello

What I do: gain a measure of tension after a certain period of time (order of microseconds) when we observe a TTL pulse, lasting about 1-100 microseconds. What are the options I to do thins?

PS. If this problem is solved in a C code example, please point me to the right direction. I saw examples of NOR-DAQmx, but not a not spot something like this.

Hi hum-human resources management.

The example of DAQmx ANSI C Analog In\Measure Voltage\Cont Acq - Ext Clk - Dig start shows how to use DAQmxCfgDigEdgeStartTrig() to activate a digital start trigger. It also illustrates the continued acquisition, clock to external sampling and all events of samples N; for a simpler starting point, look at analog In\Measure Voltage\Acq-Int Clk-Anlg start and try to convert to using digital analog INSTEAD of triggers.

However, this will start acquiring exactly when the trigger occurs, not after a period of time fixed. Use DAQmxSetStartTrigDelay() and DAQmxSetStartTrigDelayUnits() to add a fixed delay between the trigger and the beginning of the acquisition. Help OR-DAQmx C reference (which should be on the start menu under National Instruments > NOR-DAQ) lists the valid values for the property of units.

Brad

Tags: NI Hardware

Similar Questions

  • Complete noob - would like to measure the voltage to manual start and stop

    Hello

    As the topic says I'm a complete noob when it comes to programming OR.

    I'm looking for someone to point me in the right direction

    Installation program:

    Windows8 office

    Visual Studio 2013

    NI 6255 PCI data acquisition card

    Block connection OR SCB-68

    What I want to do:

    I want to write a console application to measure the voltage on the signal ai16

    -I want to be able to start and stop the application manually

    -I want to be able to pressure measured in a CSV output.

    Where I am:

    I compiled and ran the example "NOR-DAQ\Examples\DAQmx ANSI C\Analog In\Measure voltage.

    It is said that I have "collected" samples but I don't know what that means, as I do not see an output file...

    What I don't understand:

    Samples - I do not understand cela or know even where to start

    How can output file - I get the file to save the collected data.

    Thanks in advance

    Chad

    Hi Arron

    Thanks for the link, unfortunately, it has not helped because the instructions were for Visual Basic and C++ not. It was my fault for not putting the language of prog that I need help in my original post.

    However, I started to find help on this link: http://www.ni.com/tutorial/5409/en/

    -With the help of NOR-DAQmx in text based programming environments

  • I replaced my original Apple Watch with a watch of S2. When I install and associate the new shows, is there a way I can restore all applications, configuration information and data of the original of the new shows so I don't have to start from scratch?

    I replaced my original Apple Watch with a watch of S2. When I install and associate the new watch and my iPhone 7 more, is there any way I can restore all applications, configuration info and data between the original and the new shows, so I don't have to start from scratch?

    Try this procedure

    Cancel the twinning of your iPhone - Apple and Apple Watch Support

    Spend your Apple Watch a new iPhone - Apple Support

  • I accidentally deleted all my settings and the apple iphone 6 s ID. Now I have to activate my phone and start from the beginning. But I don't have my EA sim with me right now and cannot organize any sim EE. How can I activate my phone without sim card?

    I accidentally deleted all my settings and the apple iphone 6 s ID. Now I have to activate my phone and start from the beginning. But I don't have my EA sim with me right now and cannot organize any sim EE. How can I activate my phone without sim card?

    Sorry, but you can't activate an iPhone without a SIM card installed. It is simply not possible to do.

  • Xp pro installation gets past the copied installation files and then restarts, rather than continue with install it starts from the beginning again.

    new installation of XP pro on a Dell Inspiron mini

    Xp pro installation went copied files Setup then restarts, rather than continue with an install it starts from the beginning again, laptop is configured to boot from the hd, but does not do that, I reset bios to default and hd settings has been reformatted, the cd for this laptop drive is usb because it has not built in 1... If I try and I remove the usb cd when reboots after copid setup files it told her there is no operating system...

    any help much appreciated...

    Hi, Leon,

    Always include computer make and model, please.  Thank you.

    Research in the Bios (reboot and press F1 or F2 depending on your system, check that all usb options are enabled (for example, USB legacy or support for USB 2.0 devices).)

    If there is a timeout parameter, set it to Max.

    Then, find the boot device priority section

    A USB flash drive, which is usually listed as USB - HDD, but may be listed as a removable device, will have a priority very low start.

    Rearrange the boot device priority so that the flash drive has a higher priority than the hard drive.

    Install Windows XP from USB key

    • Insert the USB key into the USB port on the computer.

    • Open the "I386" folder and find the file "Winnt.exe".

    Double-click on the "Winnt.exe" to launch a command prompt BACK to an installation of Windows XP.

    Type the path of the location of your "I386" folder in the DOS window. For example, if your USB is the letter "D" in your "My Computer" window, type "d:\i386" without the quotes and press the Enter"" key.

    Let the installation program copy the Windows XP installation files on your computer.

    Restart your computer to a command prompt. The Windows XP Setup will continue automatically.

    Follow the on-screen instructions to complete the installation. The program will ask you your Windows XP product key in this process.

    http://www.ehow.com/how_6912418_install-Windows-XP-USB-drive.html

    Make a bootable memory card or USB key using PEBuilder

    http://www.tech-recipes.com/Rx/2583/making_a_usb_drive_or_memory_card_bootable_using_pebuilder/

  • T61 with MultiDrive will start from CD, but not DVD

    Hello.

    I have a little problem - I am installing Windows7 on my T61 (currently it is running Ubuntu) and I can't boot from the installation DVD.

    I changed the boot order and it will boot very happily on a CD - I tried to use the utility to update firmware of drive that comes as an ISO CD - motorcycle boots very happily and says my firmwqare to date.

    No chance with a (real) WIn7 install (32-bit) DVD, but - it debits for a while, then finally gave up on the MultiDrive and ends up booting from the HARD drive.

    Any thoughts?

    Thank you

    Youra.

    Looks like a damaged disk, or a bad drive. Try the drive in another computer and if possible, try replacing it with another drive on this computer.

    If she starts on a CDrom, it starts from a DVDrom, as long as the drive and the drive are good.

  • I have a Dell Inspiron Mini Windows 7 starter from a pawn shop and it has the previous owner on this subject and I can not log on because I need there password. Can someone help me with this?

    I have a Dell Inspiron Mini Windows 7 starter from a pawn shop and it has the previous owner on this subject and I can not log on because I need there password. Can someone help me with this?

    The only safe option is to perform a factory restore. If you do not, then you are likely to be confronted with a machine that is seriously infected or was hacked. Have a look here for instructions:

    http://support.Dell.com/support/topics/global.aspx/support/KCS/document?c=us&l=en&s=Gen&docid=DSN_336966&isLegacy=true
  • Help, I have a problem with the PS and CC - I get and error measure in PS - "this program cannot start because ONCoreFoundation8.dll - is missing... and it crashes, and now creative cloud will not be open to all."  I spent more than 2 hours to speak to so

    Help, I have a problem with the PS and CC - I get and error measure in PS - "this program cannot start because ONCoreFoundation8.dll - is missing... and it crashes, and now creative cloud will not be open to all."  I spent more than 2 hours to speak to someone in tech support that I did not understand, and I don't know what to do next. The tech gal was run, but once she hung up he returned to broken.  I have an idea, but that's just a guess - trouble started about the time I tried to open On1 of ps there has been a perfect icon effects 9 (for some reason, they decided to add the icon when I got it - I have 8) I clicked it and it loaded the update and then asked me if I wanted to try or buy - that's when I realized that I should have clicked on 8 and tried of back , but is either too late - I think, maybe this dll. 8 or 9 in with perfect On1 effects - and it has changed my settings in PS - and is the reason why it is not compatible - ideas? I have a pc with window7-Carol

    Try to run Photoshop without loading third-party plug-in. hold SHIFT keys when you start Photoshop.  The missing module is not Adobe software.

  • Update 4.0 or start from scratch with 4.1?

    Here's my current context:

    vCenter 4.0 & customer 162856 to build running on a physical server with Windows Server 2003 32-bit.

    vCenter Update Manager DB and (everyone) are on separate physical server to SQL 2005 64-bit Windows Server 2003 R2 64-bit

    -Production Cluster running 3 ESX 4.0 Build 164009, 8 virtual machines running all the updates with the v7 hardware VM and VM Tools

    -1 ESX 4.0 Build 164009 (without clusters), run 1 machine virtual update with material v7 VM and VM Tools

    -1 ESX 3.5 Build 110268 (without clusters), current enforcement 6 VM with a hardware VM and VM Tools v4

    -1 ESX 3.5 Build 110268 (without clusters), current enforcement with a hardware VM and VM Tools 7 VM v4

    * After upgrade, I add a host ESX 4.1 extra (new installation) to create a 2nd group for DMZ using one of the above mentioned existing nonclustered hosts.  My total environment after upgrade will be is a small with only 7 guests and a total of 24 VM

    OK, I start over from scratch with the vCenter 4.1 instead of upgrade.  A few reasons for this is that these latest changes to my vCenter caused problems that more in VMware communities say a uninstall/reinstall their problems solved.

    These changes are the following:

    1. I installed the Client on an existing vCenter Server 4.0 4.1 vSphere.  I had some minor issues and found this shift of the versions is not good, so I uninstalled 4.1 and kept 4.0 client.  It was not great thing and resolved as far as I'm concerned.

    2. I changed my existing VUM by a local account SQL & SQL authentication to a domain account using Windows authentication.  As I made this change I get errors at the launch of the customer following plugin VUM.  I watched many messages on this problem and again the end result is a reinstall or replace as it was that I don't want to because I have the most secure option of Windows authentication.  It has become a pain in the neck and I tried to make sure that everything worked as it was before I have to start the reconstruction of vCenter for 64 - bit and take the existing databases, etc., but now it seems as if it would be better to start from scratch.

    Now, the things I did when I first installed VMware I would change are:

    1. instead of using 2 databases separate for vCenter and VUM, I would use rather than a database because my environment is very low and this option is recommended for large scale environments.  Initially, I would have not took care to keep the two, but the previous problems described above with my Crossover makes me want of it clear and start over again because I just used it in the past, it's a very small database.  I intend to use it more once I come to vCenter 4.1.

    2. I rebuild my server vCenter existing that is running Windows Server 2003 32-bit to a Windows Server 2008 64-bit, so if I start from scratch that do exactly I lose my existing vcenter database?  Just the configurations that I have with my cluster and individual ESX hosts?  I thought I can just add them in vCenter as before and just make sure it is everything what it was before... again... not a big problem since I was a very small environment.

    Thoughts?

    I would like to start with a new configuration of vCenter server, unless you use vCenter features such as vDS. The only things you lose are cluster settings (HA, DRS, resource pools,...) as well as historical data and Crossover settings.

    However, I keep the vCenter (with vCenter services disabled) and let the 3.5 on this virtual machine license server until you have upgraded 3.5 hosts. This way you can avoid the installation of the old license on the new vCenter Server Server server.

    Also, I'd install the vCenter DB and the DB VUM as separate databases!

    André

  • Measure the voltage and the temperature simultaneously with PCI-6281

    Measure the voltage and the temperature at the same time at the same time. However, when I put the voltage and temperature in a loop, the acquisition of voltage is significantly delayed. When I put the voltage and temperature in two different loop, none of them works.  There is an example in aid of Labview as shown. This structure works fairly quickly? In addition, how a volgate get and temperature Analog DBL 1Chan 1Samp? I check the exported excel, the first column is 0, 1 the second column contains the value of the voltage, temperature value. I wonder how can I get these two values for each scan.

    ,

    Assuming that the DAQ cards can handle it, you can set an analog trigger for the channel of the tension.  Then you just X samples to get your 100us data value.  Keep the last sample.

  • Measure the voltage and the temperature at the same time with a single card PCI 6014 DAQ?

    Hello guys,.

    I'm doing a charger measuring the voltage of the battery, the charge current and the temperature of the battery using a 6014 cardboard...

    I want to use my PCI6014 DAQ card to measure 2-channel analog voltage input and 1 temperature Channel Analog input using thermocouple type k measurement of voltage or temperature isolation is OK, but I can't understand how to measure the voltage and the temperature at the same time... I want to use input differential...

    Thank you in advance, all the tips

    YSL

    Create a task and add channels to the task, as follows:

    Christian

  • Blocking of blue screen with the analog voltage (WinXP, PCI-6251)

    Hello

    I'm looking to solve a problem of blue screen with my measure blocking
    application, which I am developing with C++. Blocking seems manifest
    a little random after a variable amount (500-50 000) of voltage analog
    measures. My application needs to make a huge amount of these digitally
    trigger voltage measures after a certain period of time, and I'm using a
    unique
    task to do. The task is stopped and started after a single measure
    is
    which is done around 10 000 - 100 000 times per second. For this
    because I do synchronized with the PCI-6251 map data acquisition and
    one
    Ztec oscilloscope card. It seems that the probability of blocking could be
    associated with
    the frequency of measurements of voltage that I perform.

    The
    the app itself is multithreaded, but I'm blocking concurrent access
    TO
    the card with lock - all access to the card are behind a single mutex

    lock, so simultaneous access is blocked. In any case, all data acquisition
    access
    o the map is initially a single thread, which is dedicated to the acquisition of data
    operations.

    I also did stress tests with Ztec scope map, which does not
    result
    in all the problems. I also disabled in order of acquisition of Ztec map data
    TO
    Make sure that it wasn't the card scope, the origin of the problems - the problem
    persistent, so this seems to point towards the direction of the nidaq map.

    The deadlock appeared when I used the original supplied with drivers
    the
    card. I installed the latest drivers (removed the device from)
    ' Windows
    Device Manager and your application Measurement & Automation, reinstalled), but the blue screen still appears.

    Blue screen gives me a few debug data, but it does not mention any

    files .dll or something that would be of course point to a specific file (driver). I enclose at least partially matching code snippets.

    Hello again! I've been in contact with a local support person, who suggested that I have use DAQmx_Val_FiniteSamps instead of DAQmx_Val_HWTimedSinglePoint. I don't have any other changes, but this (see below) and the problem disappeared, so this seems to be an acceptable solution, because I don't see at all why not do this way. (Thanks Henry!)

    DAQmxErrChk (DAQmxCfgSampClkTiming (task_reader, NULL, 100000.0, DAQmx_Val_Rising, DAQmx_Val_HWTimedSinglePoint, 1));
    DAQmxErrChk (DAQmxCfgSampClkTiming (task_reader, NULL, 100000.0, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 2));

  • Measurement of voltage detection failure

    Hello everyone

    I am a new user of Labview and I try to measure a voltage but is facing difficulties.

    I use:

    Worm - Labview 8.0 on Windows XP

    -Based electric circuit with a voltage generator and resistor for voltage

    -A connection block 68 CBS

    -A NI PXI 1042 chassis

    But Labview seems unable to detect my acquisition circuit, I tried to use the DAQ assistant > analog input > tension in my new VI, but it has not detected any device.

    I miss any point?

    Any help would be welcome, if my explanations are not clear enough, you can ask me some questions.

    Thank you for reading my post.

    DAQ Assistant materials should not be your FPGA.  Looking at different sets of drivers.

    I expect to see the device in your PXI system, if Max.

    To work with this device, you do not add the DAQmx code in your code and go from there.  You will never get a reading.  Instead, you add a target to your project.  You have a controller in a PXI chassis or are you plugging it directly into your PC?  If you have a controller, it is based on WIndows or RT?  If it is Windows, you'll want to work from the PXI himself.  If it's a RT., you should be able to see all of a remote connection.  If it is not a controller, try to turn off your PC and PXI.  The PXI power first and then the PC.  You read only what is PXI chassis when you start your computer.  If you have added anything to it, you will not see it.

    I don't remember off the top of my head.  But, I believe you'll right click on 'My Computer' in your project to see the map of the R series.  Choose "New objectives" and search for your listing.  If it is not there, right click on the project name instead.

    For this device, ignore the DAQmx palette entirely.  It is useless to you.

  • Incompatible VISA read starting from 3458

    See the attached screenshots. My goal is to capture 4000 datapoints to a ramp of output voltage of 0 to 5v, with 3458A in LEVEL triggered 1v level, starting from the SALT ON signal that allows the output of the unit. I confirmed all signals are OK with a scope, but I can't get the 3458 to SYSTEMATICALLY capture the waveform. Whenever I run the screw, I get random numbers of datapoints varying between 5 and 4000 desired. Why can not always get my 4000 datapoints? In the screenshots below, the TrigELoadramp, vi immediately following the Setup3458.vi. In vi of this last paragraph is copied from the driver notes Agilent 3458 A, which makes no sense to me.

    Use a property on the VISA reference node.  Property, you need to define is the Message-based settings-> allow termination character.

  • Sometimes during random playback of music, next song starts from the Middle

    This has happened for about 2-3 months now. It is usually a rare event. Maybe its just me, but I feel that slowly becomes more frequent...

    In any case what happens is, while I'm listening to my iphone the shuffle, it starts the next song as usual, but sometimes this song will start from the middle. It's weird. It also happens when im jumping songs manually.

    -A.L.

    Start with the basic troubleshooting steps.

    First, try a simple Reset: hold down the Home and Power buttons until you see the Apple logo (10 to 20 seconds).

    If this does not help, you may need to restore your iPhone.

    https://support.Apple.com/en-us/HT204184

Maybe you are looking for

  • Combining unlimited minutes in the world with the United Kingdom 100 minutes

    I'm subscribing to unlimited minutes in the world, but I also call a lot of UK mobile phones which are not covered. Is it possible also to buy the United Kingtom 100 minutes and if so, with the combination recognize that fixed UK are not deducted fro

  • Pavilion: gateway / realtek rtl8188ee / windows 8.1

    I am constantly lose Internet connectivity. I already uncontrolled power management goes, updated the driver, manually assigned ip and gateway and it still loses connectivity after only a few moments. I tried all the drivers on the laptop. Is there a

  • EL CAPITAN-change hard drive in GUID Partition

    I read the previous posts and utility assistance from disk on the evolution of the GUID to load El Capitan. To this day he used the Apple Partition map and trying to update I received the message GUID. Unfortunately, the solutions do not work for me.

  • virus or malware on IMAC.  There is a 'new user' I can't get rid of.

    HI - while browsing the internet, I picked up a virus or malware or something on my IMAC.  The popup msg wanted to send a notice to Apple and I think he wanted to test.  I tried to click out of it, but it wouldn't disappear.  I clicked on safari, but

  • I just tried in vain to download Windows Service Pack 2

    I just got this error message after trying to download Windows Vista Service Pack 2. Installation has failed The parameter is incorrect Error: ERROR_INVALID_PARAMETER (0 x 80070057) How can overcome the Please this problem? Thank you