Analog start trigger for x series card gives an error?

Hi everyone,
I am having some trouble setting up an analog start trigger for DAQ using an x series PCIe card (6351)... Attached is my configuration... After reading the manual (http://digital.ni.com/manuals.nsf/websearch/08B4B2E1B5373B94862579BA006E6BAB), my understanding is that AFPI0 is a compatable analog trigger for the device; however, the vi will not run and I get an error... Although if I change the soruce to "Force" (which is ai0) it works..
Also, the device document says (pg 11-8):
"To improve trigger accuracy, do the following:
• Use an AI channel (with a small input range) instead of APFI <0,1> as your trigger source. The DAQ device does not amplify the APFI <0, 1> signals. When using an AI channel, the NI-PGIA amplifies the AI channel signal before driving the analog trigger circuitry. If you configure the AI channel to have a small input range,"
To me, this implies that I probably should use "Force" as the trigger soruce anyway (note that the instrunment is used to acquire data load cell data generated from human muscle contractions; so slew rates are relatively low compared to signals acquired from industrial tests).
Could someone please comment on these issues for me?
Regards,
Jack
LV2010
Attachments:
Untitled 1.vi ‏22 KB

Ok... I think I have answered by own question... APFI0 needs a low impedence signal to drive the terminal... I mistakenly thought this was an internal terminal or trigger...
So I should stick with using the first analog signal acquired in my DAQ device (e.g. ai0) as the trigger source?
Regards,
Jack
LV2010

Similar Messages

  • TS2446 Hello!After I've done my last softwere update I couldn't buy or get any free apps on the apps store.There was an error on my paymant method.I reintrodius my data for the credit card and again error for my credit card.I've changed the credit card an

    Hello!After I've done my last softwere update I couldn't buy or get any free apps on the apps store.There was an error on my paymant method.I reintrodius my data for the credit card and again error for my credit card.I've changed the credit card and the same.why???????

    I have tried all those things I even updated the software to the new iOS system and it still did fix my problem.
    What happened is that my garage band looks like it will open then it shuts down.
    I have lot of important things on my garage band and I'm afraid that if I uninstall it deleting it then reinstalling it all my work on it will be gone and I can't have that happen.
    Everyday I am hoping that when i go to open the app that is will work but it doesn't it gets ready to turn on then it shuts off , the app doesn't even open all the way and turns off.
    I really hope I don't have to erase it.
    It'll say it's ,lading my songs then it shuts down .
    If I waited for the App Store to come up with an update for garage band should I wait till then to update my app so it doesn't get damaged . I don't want to erase it and all my data get erased . I figured if I wait for an update then my garage band will reset itself but won't delete my data. I'm not sure if that will help. Is there anything you or anyone else might know that can help me with this matter ?
    Thank you
    Simachyahi

  • Data acquisition from analog start trigger to analog stop trigger

    Hi,
    I'm trying to start and to stop a data aquisition by using an analog input trigger. I'm using NI-USB-6251. At input channel ai0 is a sin-signal connected. At input channel apfi0 is an analog trigger signal connected. I can start the trigger signal by pushing a button on my frequency generator. Here's a part of my code:
    Hi,
    ich versuche eine Messung mit einem analogen Eingangssignal zu starten und zu beenden. Ich benutze die Messkarte NI-USB-6251. An Eingang ai0 ist ein Sinus-Signal angeschlossen. An Eingang apfi0 ist der Triggereingang angeschlossen. Das Triggersignal löse ich immer per Tastendruck auf dem Funktionsgenerator aus. Hier ist ein Teil des Quellcodes:
    TaskHandle taskHandle = 0;
    int32 read;
    float64 *data;
    float64 sampleRate = 1000; //Samples per Channel per Second
    uInt64 sampsPerChan = 4000; //Samples per Channel to read
    int sumOfChan = 1;
    double triggerLevel = 2.0;
    double min = -0.2;
    double max = 0.2;
    double timeOutReadAnalog = 10.0;
    void calculate()
    DAQmxCreateTask("", &taskHandle);
    DAQmxCreateAIVoltageChan(taskHandle, "/dev1/ai0", "", DAQmx_Val_Cfg_Default, min, max, DAQmx_Val_Volts, NULL);
    DAQmxCfgSampClkTiming(taskHandle, "", sampleRate, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, sampsPerChan);
    DAQmxCfgAnlgEdgeStartTrig (taskHandle, "/dev1/apfi0", DAQmx_Val_RisingSlope, triggerLevel);
    DAQmxCfgAnlgEdgeRefTrig (taskHandle, "/dev1/apfi0", DAQmx_Val_RisingSlope, triggerLevel, 3000);
    DAQmxStartTask(taskHandle);
    if( (data=malloc(sampsPerChan*sumOfChan*sizeof(float64)))==NULL )
    MessagePopup("Error","Not enough memory");
    //set start and stop trigger
    //set breakpoint here
    DAQmxReadAnalogF64 (taskHandle, -1, timeOutReadAnalog, DAQmx_Val_GroupByChannel, data, (sampsPerChan * sumOfChan), &read, NULL);
    I've choosen the sample rate (1000/s) and the samples per channel (4000), that the aquisition needs 4 seconds to be complete. I can start the aquisition by Start-Trigger, but I think I have a problem with the function DAQmxCfgAnlgEdgeRefTrig. Actually the array will always be filled with 4000 values. I thought I can start the aquisition by triggering once and e.g. after two seconds triggering again for stopping aquisition with result of 2000 values in the array. I hope you can help me with this problem.
    Ich habe die Sample Rate (1000/s) und die Samples pro Kanal (4000) so gewählt, dass die Aufzeichnung 4 Sekunden dauert. Ich schaffe es auch die Aufzeichnung über den Trigger zu starten, jedoch funktioniert das Stoppen mit der Funktion DAQmxCfgAnlgEdgeRefTrig nicht. Aktuell ist es so, dass das Array immer mit 4000 Werten gefüllt wird.
    Ich hatte mir erhofft, dass ich durch einmalige Triggerung die Messung starten kann und beispielsweise nach zwei Sekunden erneut triggere und die Messung damit stoppe und dann nur 2000 Werte eingelesen habe.
    Ich hoffe, ihr könnt mir dabei helfen.

    Hi Martin,
    I looked over your code and noticed that you called the function without checking the returnvalue.
    Try to change the line to the following:
    First: define a new int32 value and call it for example: errorcode
    Second: The function returns a status code, wich if it fails, includes an error code so save this code in the new generated value
    errorcode = DAQmxCfgAnlgEdgeRefTrig (taskHandle, "/dev1/apfi0", DAQmx_Val_RisingSlope, triggerLevel, 3000);
    and try to run the programm and read out this value.
    If you got this value, please post it here and I will try to help you if I can.
    Regards
    Philipp

  • With DAQmx, how to use AO start trigger for AO/AI synchronization with finite AI sampling

    I am a new user to DAQmx and I am trying to synchronize AI (finite samples) with AO in LabVIEW 7.1 using a PCI 6229 card. I want to generate a finite waveform (AO) and, subsequently, collect a finite number of voltage samples (AI). I would like to repeat the AO-AI cycles in a while loop.
    Alternatively, I could use an infinite AO generation and collect finite number of voltage samples on AI but always exactly at the same spot of the AO buffer.
    Using traditional DAQ and a 6024E card, I used a counter triggered by AO start trigger signal (example attached). I have problems with translating this example into DAQmx.
    Please help!
    Ruber
    Attachments:
    AIAODelay_traditional_Eseries.vi ‏155 KB

    Lesley,
    Thank you very much for your suggestion. Late last night I actually tried a to use AI start trigger instead of AO start trigger and it worked (since I tried the AI & AO to start simultaneously, it does not matter what triggers what), even in the loop. The devil is in details, as I had to carefully wire the number of data points and what to place inside/outside the loop.
    The problem with shared clock is that I need to sample the AI and AO at different rates but using AO and AI clock separately did not seem to affect the performance.
    I still want to try to use the AO start trigger (as you suggest) because I would like to delay the AI by a few ms from the AO. Is there a simple way to to that?
    I suppose, switching from traditional DAQ to DAQmx requires your brain to be rewired - after playing with it for a couple of days and nights I developed a "feeling" for it. One of the differences was that, in order to use this example in the loop, one has to use 'stop task' inside and 'clear task' outside the loop.
    Thanks again!
    Radek Uberna

  • MSI 76.45 driver update for 6 series cards?

    After checking the MSI site for updated drivers, it looks like the 7645's are the latest for the 6 series cards. Yet, in the readme file under compatible cards for this driver version, there are no 6 series cards listed. What's up with that?
    I was just wondering if MSI has something wrong here. Is this, in fact, the latest driver for the 6600GT??
    (My apologies if this subject was already covered)

    Clark,
    Just go to nVidia for your nVidia Drivers
    Depending on who wrote the readme file, you're right, there could be something wrong, and it's just a readme. Nvidia usually claims all drivers are backwards compatable, however, as you may know, nVidia's drivers correspond with the genre of card currently on the market, ie GF4=4X.XX GF5 (FX)=5X.XX GF6=6X.XX and so on, so nVidia currently focuses on optimizations for the current card on the market and sometimes support suffers for older cards. Having said ALL that, more times than I care to count, MSI seems behind the times, this is the norm, as documentation and consistency is not a strong point on any the website, hence my recommendation to go directly to nVidia. If it is the latest and greatest from MSI that you want becasue of the DOT feature, then I believe that is the latest from MSI.
    Now I'm wondering how you are looking for drivers. Are you looking for drivers via the MSI Live Update Utility, or on the Taiwan website? In any case whatever is there from MSI is there. It you want the latest and greatest then you can take your chances and start expirimenting with the latest from nVidia ftp://download.nvidia.com/windows The whole shebang is there for your convenience.
    Finally, if everything is working fine, then there should be no reason to update. Recomendations to keep your system loaded with all the latest drivers is not always the best advice...
    Does that help?

  • Is there a simulator for E-Series Cards?

    Hi Folks,
    I developed an application that uses an E-Series card. To make any updates, I need to connect remotely to the system that has the card. I'd like to try several programming techniques in a controlled environment first, then move the program to the actual system, so I need to be able to simulate the E-Series card.
    Thanks,
    Mike

    Mike,
    Below are the links to a couple of tutorials concerning RDA:
    Networking Two PCs for Remote Data Acquisition
    Developing Networked Data Acquisition Systems with NI-DAQ
    Spencer S.

  • When i install updates one update fails to update for the monitor and gives a error code 80070005.

    model a6637c desktop
    product FK549AA-ABA
    software build 84NAv6PrA1
    serial
    {Removed for privacy}
    How do I correct error 80070005 for update lcd monitor failure

    Hello chuck1955,
    The error you are getting is usually generated because of either you not being an administrator or having malware on your machine. Now if you can install other updates that makes it a little odd.
    Try the steps in this Microsoft KB just to rule them out as the problem.
    http://goo.gl/ECD17
    If I have helped you in any way click the Kudos button to say Thanks.
    The community works together, click Accept as Solution on the post that solves your issue for other members of the community to benefit from the solution.
    - Friendship is magical.

  • Need the fastest update from analog Measurement (DAQ) for controlling sensors that give direct feedback to motion control. Seems board limited? Fastest is about 1.5 milliseconds, can I go faster?

    I have designed a sensor system for my linear motor stages that sends relative location back via an analog signal. My positioning speed is dependent on how fast I can read my sensor. Currently, my best implementation updates the software every 1.5 milliseconds. I would like to increase this by at least an order of magnitude. My DAQ is a 1600 series with 200K sample rate, so that is not my limit, my limit is to get it into my software. Any ideas?

    Hello;
    To acquire data on a point by point basis will limit the sampling rate to how fast the OS can handle your process.
    To speed up that rate, you will need to use buffering. That technique allows one to acquire data as fast as the hardware limit is, and store those points in a buffer.
    You didn't tell what programming language you are using, but regardless the language, there are good examples showing how to program a buffered acquisition with your board (C:\Program Files\National Instruments\NI-DAQ\examples\ or in Labview Search Examples->I/O Interfaces->Data Acquisition->Analog Input->Continuous Analog Input).
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Replacement for K-Series Card Reader?

    Hi - my K230 card reader seems to have kicked the bucket. The light comes on when a card is plugged in, but most of the time nothing shows up under "computer" in windows explorer. On the rare occasion the drive does appear, when clicked on it says I need to "insert a disk into Removable Drive ..."
    So, I'm thinking a quick switchout shouldn't be a big deal, but I can't find the part I need. The Hardware Replacement Manual shows the card reader, but doesn't discuss replacing it. A web search isn't returning anything.
    Has anyone done this? Does anyone know the part number or where to buy one? Thanks.
    K230, Windows 7 64bit

    You may try contacting the lenovo service center and you will get the part easily.
    Best Regards,
    Tanuj
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution".! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • I need use the Click Map feature in Omniture which currently only works on Firefox V4. For some reasin V5 gives an error when trying to install. Can you please help me download V4?

    I need to view the click data via my Omniture account. To do this I need to install the ClickMap plugin. It works on V4 but when I upgraded to V5 I now get an error saying the plugin cannot be installed.

    If ClickMap is an '''extension''', as opposed to a '''plugin''', you have another option.
    When Firefox disables an extension, it usually is because it includes a list of compatible Firefox versions and it hasn't yet been updated for Firefox 5. If it worked on Firefox 4, there is a good chance it will work on Firefox 5, but no guarantee.
    You can force Firefox to ''ignore'' add-on version restrictions by (what else) installing an add-on. Then you can test whether the extensions important to you actually work in Firefox 5.
    [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ Add-on Compatibility Reporter :: Add-ons for Firefox]
    After you install this add-on and restart Firefox, there will still be a message that "--- is incompatible with Firefox 5.0" but the add-on will be enabled and a Disable button will appear for that entry.

  • Clicking + for a new tab gives an error message.

    After updating to Firefox 32 yesterday, any time I click on + to open a new tab, I get an error message: XML Parsing Error: undefined entity
    Location: about:newtab
    Line Number 116, Column 47: .....
    Why?
    I can enter a URL or search a topic and everything works as it should.

    hello, this is caused by the acceleratetab addon that you have installed. please go to the firefox ''menu ≡ > addons > extensions'' & disable or remoe it.

  • Overlaying adobe air sdk 13 for flex mobile project gives me error

    After overlaying adobe air sdk in flash builder 4.6 i am getting this error in my flex mobile project "Could not resolve <s:ViewNavigatorApplication> to a component implementation.". I have followed the steps mentioned on adobe site. Can anyone please suggest me what i need to do in order to get this work.

    You are probably missing the updated flash debug player that describes all the new methods to the application.
    There is a good walkthrough of how to upgrade flash builder to a new library version, this is described in the first video of hsharma's starling tutorials.
    Its very annoying though, i wish adobe would really build in a feature like this to update libraries.

  • Using the same wire for positive edge start trigger and negative edge stop trigger for 6533

    I would produce a start trigger for an external data source to start them.
    Emediatly after this starttrigger this source produces a trigger Signal.
    I would like to use this trigger Signal as an extern trigger which should provide some functions:
    1. on the positive edge of the Signal some pattern should read in with an external clock.
    2. on the negative edge of the trigger signal this process should stop.
    I would do this with CVI

    Hey Schicki,
    I have included two links below that should help you with your application. The first one is setup to perform digital pattern I/O with an external clock in CVI. The second shows how to incorporate start/stop triggers in digital pattern I/O operations. You should be able to combine parts of these two programs to complete your application.
    NI 6534 Double-Buffered Pattern Generation, External Clock -- CVI
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E7FD56A4E034080020E74861&p_node=DZ52321&p_source=External
    Output Digital Data from a Buffer to a Group of Two Digital Ports Upon a Digital Start Trigger
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3EA4556A4E034080020E74861&p_node=DZ52321&p_s
    ource=External
    I hope this helps.
    Regards,
    Todd D.
    NI Applications Engineer

  • Synchroniz​ation of M-Series cards via RTSI and ANSI C?

    Hi!
    This is my first post and I'm happy to be here. I tried to search as thoroughly as possible, but if this has been answered elsewhere, I'd be grateful for a hint/link nevertheless.
    System:
    Win 2000 Pro with NI-DAQmx (part of NI-DAQ 7)
    2x PCI-6220M, 1x PCI-6221M
    RTSI Cable
    all components are registered in MAX
    Problem:
    I want to synchronize the cards over the RTSI bus. I am using the ANSI C library. There's an example SharedClk10-FiniteAcq_main.c, but it is designed for PXI and uses the undocumented (at least in the C reference?) DAQmxSetTimingAttribute function. I tried to pass '/Dev1/RTSI7' as the clock source, but it did not work.
    Then, after reading the C reference a bit more, it seemed as if I needed to use DAQmxExportSignal. But it gives me an error DAQmxErrorInvalidRoutingSourceTerminalName_Routing = -89120 when I try to route DAQmx_Val_20MHzTimebaseClock to '/Dev1/RTSI7'
    I'd like to know what C functions I have to call in which order to enable synchronized sampling with the three M-Series cards.
    So far I do:
    DAQmxCreateTask (primary & driven)
    DAQmxCreateAIVoltageChan (p & d)
    DAQmxExportSignal (p)
    DAQmxCfgDigEdgeStartTrig (d - trying to import the failed export of /Dev1/RTSI7)
    DAQmxStartTask (d & p)
    DAQmxReadAnalogF64 (p & d)
    DAQmxStopTask(p & d)
    This is my first time using M-Cards or the ANSI C functions, so I might have missed something essential.
    Can anyone give a hint as to what I need to do?
    Jens

    First, if you haven't, you should explicitly create a RTSI cable in MAX. This can be done by right-clicking on Devices and Interfaces -> NI-DAQmx Devices and choosing Create New NI-DAQmx Device -> RTSI Cable. Then, for each device that is connected to the RTSI cable, use MAX to edit its properties and in the "RTSI Configuration" tab, specify the RTSI cable. This will allow NI-DAQmx to automatically route signals of the RTSI cable.
    Now that a RTSI cable is configured, you don't need to explicitly export signals from the task. You can use the DAQmxGetMasterTimebaseSrc function to retrieve the master timebase terminal name from the primary task and the DAQmxSetMasterTimebaseSrc function to set the master timebase terminal name for the driven task. The DAQmxGetMasterTimebaseRate and DAQmxSetMasterTimebaseRate functions can be used in a similar manner. Configuring these properties will result in NI-DAQmx automatically routing the master timebase signal from the primary task to the driven task using the RTSI cable. To ensure the driven device starts at the same time, invoke the DAQmsxCfgDigEdgeStartTrip function passing a triggerSource parameter of "/ai/StartTrigger" which will result in NI-DAQmx automatically exporting the start trigger signal for the primary task over the RTSI bus and using it as a digital start trigger for the driven task.
    I assume that you will also want to invoke the DAQmxCfgSampClkTiming function for each task to specify the acquisition rate and number of samples to acquire. Note that since the master timebase signal and the start trigger signal are already routed using the RTSI cable, the sample clock itself does not need to be shared between the two tasks.
    geoff
    Geoffrey Schmit
    Fermi National Accelerator Laborary

  • Using a Counter as a start trigger to one or more tasks

    I am using the NI USB-6251. I want to configure a counter (e.g. Dev1/ctr0) at a user-specified frequency and the rising edge on this counter should act as a start trigger for an analog input task and a digital output task. 
    I've tried to do this by creating a task for the counter:
    integStartTriggerTask.COChannels.CreatePulseChanne​lFrequency(
    "Dev1/ctr0",
    "Integration Start Trigger",
    COPulseFrequencyUnits.Hertz,
    COPulseIdleState.Low,
    0,
    integFreqHz,
    0.5);
    and then connecting this to the StartTrigger for the analog input task:
    analogReadTask.Triggers.StartTrigger.ConfigureDigi​talEdgeTrigger("Dev1/ctr0", DigitalEdgeStartTriggerEdge.Rising);
    However running this gives the error: 
    Source terminal to be routed could not be found on the device.
    Make sure the terminal name is valid for the specified device. Refer to Measurement & Automation Explorer for valid terminal names.
    Property: NationalInstruments.DAQmx.DigitalEdgeStartTrigger.​Source
    Property: NationalInstruments.DAQmx.DigitalEdgeStartTrigger.​Edge
    Source Device: Dev1
    Source Terminal: Dev1/ctr0
    Task Name: analogReadTask
    I have also tried "Dev1/ctr0/StartTrigger" instead of "Dev1/ctr0". What am I doing incorrectly? Thanks.

    Hi zkhan.cimtec,
    To use a digital trigger for your start task you need to use a PFI line to read a signal that is coming in. You are setting up a task that outputs a start trigger on your counter line, but you can't read off that same line to start the task since that line is already configured for output. An example of how to setup a start trigger coming into a PFI line can be found in the examples here:
    <National Instruments Public>\NI-DAQ\Examples\DAQmx ANSI C\Analog In\Measure Voltage\Cont Acq-Ext Clk-Dig Start
    Hope this helps,
    Kevin

Maybe you are looking for

  • Problem in assigning Infoobjects to Catalog using BAPI_IBOJ_CHANGE

    Hi Gurus, I am creating infoobjects using BAPI_IOBJ_CREATE and assigning the created infoobjects to a catalog using BAPI_IOBJ_CHANGE. But, while assign the info objects to a catalog, if the catalog already contains infoobjects they get unassigned, an

  • 10g Migration issue in forms related to graphics

    Hi.. I am facing a 10G migration issue realted to graphics in Forms. A form got migrated from 6i to 10g and it has Graphics in it but it is not displaying the graphics in Runtime after migration.can anyone help me reagrding how to resolve this Graphi

  • Will Not Find Library on external hard drive

    Ok ,I have done everything according to the book, moved my itunes library on my external drive,(It all there)when I open itunes nothing there, so I created a alias of it (the library) and put it were the original was (that I Trashed) and still nothin

  • Error in quantity/value determination in condition type P101

    Dear experts , I am getting bthe following message in the condition type analysis in PO for the condition type P101 . I want to  know from where does the sysytem pick th value of the said condition in PO . Further , I observe that the system in NOT p

  • Joystick use in a Labview VI not working after an installer is made.

    I have a program that is supposed to take input from a joystick, and output a series of RS-485 signal to control devices.  It works fine when I run it on the computer I am programming on, but when I build an installer and put it onto a computer witho