analog triggering on BNC2120 / PXI3-6361

Hello

I'm trying to run a similar trigger (falling edge) on a BNC2120 escape connected to a module PXI3-6361 (device X-series). What I read in the Installation guide for 2120 (pg 8), I should be able to use PFI 0/P1.0 (which I think is the BNC connector on the corner of high right out of the box) with DAQmx start analog Edge. Curiously, Labview does not provide a drop-down menu to select an appropriate trigger source, then for this option, I typed in the trigger source "PXI1Slot2/port0/line1. When I do that, I get an error:

Error-200265 occurred at DAQmx start Task.vi:3
Possible reasons:
Attempted to use an invalid trigger analog source.
Ensure that the source of command, you specify is the name of the virtual channel in the task or is the name of a non readable terminal that the device can use as a source of analog control.
Property: Start.AnlgEdge.Src
The corresponding value: port1/PXI1Slot2/$line0
Valid choices: V1, APFI0
Task name: _unnamedTask<6A>

So I then tried "APFI0" as the source of order and received this error timeout:

Error-200284 occurred at Acq & graph tension-Int Start of Clk - analog w Hyst.vi

Some or all of the requested samples are not yet acquired.
To wait for samples become available longer read timeout or read further in your program. To make samples available more quickly, increase the frequency of sampling. If your task uses a trigger to start, make sure that your startup trigger is configured correctly. It is also possible that you have configured the external sync task, and no clock has been provided. If this is the case, provide an external clock.
Property: RelativeTo
The requested value: current playback Position
Property: Offset
Required value: 0
Device: PXI1Slot2
Task name: _unnamedTask<69>

Can anyone offer some advice on how to achieve a trigger of analog voltage with this combination of features?

Thank you

Claire.


Tags: NI Hardware

Similar Questions

  • Error 50103 - simultaneous analog Vout and wine with start of analog triggering

    Hello

    I'm stuck error 50103.  I looked on the Web site of NOR and worked through the 7 cases and think that my problem is the 6 case - although I'm not sure - and have no idea how to fix this. Basically, what I would do is out my signal and have receive side save after it passes through a noisy channel. To start, I have attached a trigger control so that the transmission or recording start before the input trigger exceeds a certain value (in my case, 3V).

    Could someone please look at my code (attached, called 'Optical_DPPM_V3.vi')) and try to give me an indication as to what I'm doing wrong? Thank you!

    Furthermore, I use examples of OR that I have also included in the .zip for reference file.

    SP

    P.S. hardware: LabView 8.2, NI PCI-6070E

    Hi gt3000,.

    Thanks for your reply. I actually solved the problem I called one of your offices directly and spoke with someone last night.

    Indeed, the problem was "case 6" as it is stated on the page you gave. "." When I spole with one of your colleagues, I was directed to an example that does most of what I wanted. If anyone is interested, you can follow this path to find:

    Help--> find examples--> material input and output--> DAQmx--> synchronization--> multifunction--> multi-function Synch AI - AO.vi

    It seems that the trick is to use an internal digital triggering to synchronize the CLK for VI and VO.

    If people are interested, I can send my final code around for a differential pulse modulator, triggered by an external analog voltage which the receiver registers and stores the values in a worksheet. My next goal is actually write the code for the receiver to demodulate information... here go us!

    Thanks again,

    SP

  • Routing of analog triggers seizure through RTSI in MATLAB software

    Hello

    I want to trigger a framegrabber PCI-1424, when a certain threshold is reached to the analog input of my PCI-6259 DAQ card channel by using the corresponding toolboxes in MATLAB. Is it possible to get a software trigger located in the analog of the DAQ by RTSI card input, so that the framegrabber is triggered through the impetus of the RTSI? Unfortunately, when you use the following code.

    % Create analog input, set software trigger and RTSI lineai=analoginput('nidaq','Dev1');
    ch=addchannel(ai,0);
    set(ai,'TriggerType','Software')
    set(ai,'TriggerCondition','Rising')
    set(ai,'TriggerconditionValue',1)
    set(ai,'ExternalTriggerDriveLine','RTSI0')
    
    % Create video object and set trigger to RTSI linevid=videoinput('ni', 'img0');
    triggerconfig(vid, 'hardware', 'risingEdge', 'rtsi0')
    

    the pulse of the RTSI is sent, when the analog input object is started with

    start(ai)
    

    , but the trigger for the software has no effect on the line of the RTSI. Help or workaround would be much apreciated.

    See you soon,.

    Hanno

    I solved the problem via using hardware triggers:

    ...set(ai,'TriggerType', 'HWAnalogChannel')
    set(ai,'TriggerCondition', 'AboveHighValue')...
    

    Yet, software triggers do not seem to be transmitted by the RTSI bus.

    See you soon,.

    Hanno

  • analog triggering rate

    I have a USB-6259.  I have a digital triggering (3.3V high, long 10 US, external source) that I use to control a multichannel acquisition with 9 analog inputs on the USB-6259.  This trigger, I want to taste only measure of each channel as soon as possible (IE, between 1-10 USD).  Digital triggers will usually come at a rate of 1 to 10 kHz, but the exact chronology may not be known.  Is the 6259 capable of this?  It seems the trigger configuration takes some time automatically resets for next relaxation and as a result, it lacks certain triggers.

    I put the samples per second = 100000, and the number of samples = 2 (can't do 1).  I use a digital release of PFI0 and triggereing on the front.

    Hi TroyF,

    Looks like your trigger signal can be used as a sample clock. There is an example in the Finder of the example that does what you want to do. "In LabVIEW to help' find examples... "" "" Then select material input and output "DAQmx" analog measures "voltage' Acq Cont & chart voltage-Ext Clk.vi. This allows you to select an external source as the sample clock. You put the trigger signal to a PFI line and that the source of the clock.

  • Capture a sample only after analog triggering on a PXI4461 in Labview SignalExpress

    -Repost on LabView forum where this thread belongs.

    Hello

    I capture two waveforms (external excitations) with my PXI446, one on each HAVE. I use one of them as an analog trigger (rising edge @ some tension), let's say AI0. I need the value of AI1 on time (or a fixed number of dt later) when the trigger occurs. I need just a sample.

    (I almost use the 4461 as sample & hold circuit with AI1 as an input signal and the AI0 as the sign of "sample".)

    Currently, I use a "subset and resample" step with a very small dt and it seems that it works, but I don't like.

    The above procedure is in a conditional loop that collects 100 of these samples (acquire signals triggers 100 times) and produces a statistic of this set (using the step statistics).

    Is there a better way to do it?

    Thank you

    Aleksandar Andreski

    Hi Peter,.

    Thanks for your reply.

    I also think the same: do better in LV, rather than SE - LV. I tried the "subset and resample" function before, but as you say, that it cannot be made to select only a single sample. Moreover, the overhead IS are more bigger than in LV and so it slows down other parts of the measure that I have (e.g. a conditional loop).

    I'll probably do a task of LV.

    BTW, if I use LabView Realtime, can he run said fastest loops?

    Greetings,
    Aleksandar

  • Analog triggering on PCIe-6251 using BNC-2120 on Mac Pro?

    Hello all-

    There, does anyone know how an analog trigger using a PCIe-6251 card connected to a box of BNC-2120 interface?  I am running LabVIEW 8.6 on a Mac Pro OS 10.5.6 and my VI of analog data acquisition seems to work but hangs up waiting for a trigger.  The trigger analog signal must be applied to the terminal APFI0 and the BNC-2120 contains no connector with this name.  On the M-series cards, APFI0 corresponds to pin 20 on the map itself, but I was not to locate any information that shows how the pins of the connector BNC-2120 connect internally to different spring on its façade and BNC connectors.  Sales people NOR recommended the BNC-2120 as the correct one to use with the PCIe-6251, interface box so I think that probably one of the many connectors on the front panel of the box is wired to pin 20.  Am I wrong?  I spent hours to connect signals to the box in the hope of getting a trigger, and nothing has worked yet.  To make matters worse, reviewing the VI to trigger a data acquisition using a TTL signal connected to all of the PFI 0... 9 connectors on the BNC-2120 just causes of VI to give undefined error message ' specific 89136 route cannot be met because the hardware does not support it.»  The specifications for the PCIe-6251 indicate that a digital trigger should be possible through the PFI connectors, so it's a puzzle.  I have an interface BNC-2110 box in the case which turns out be a solution, nothing about it is named APFI0 either.  Any suggestion would be of interest.  Thank you.

    -Ken1

    Hi Ken,

    Unfortunately, the BNC-2120 doesn't have a connection available on the APFI your M series line.  The BNC-2110 has this connection available.

    A possible workaround is that you can trigger off channels of analog inputs as well.  Here is a screenshot of the M Series User Manual that shows the analog switch-off circuits:

    There are a few caveats to trigger off AI channels (mentioned in Chapter 11 of the manual)

    If you use a trigger to start, the analog channel that will be triggered off the coast of must be the first string in your scan list.

    If you use an analog input as a reference or a relaxing break, it must be the only channel in the scan list.

    I hope this helps!

    Best regards

    John

  • Configuration of the analog triggers on NI9234

    I am writing a custom software that interacts with a NI 9234 scanning module, using the NiDAQmx C library.  I tried to configure unity with a trigger of analog edge on one of the channels.

    I use DAQmxCfgAnlgEdgeStartTrig() to configure the trigger, and it returned without error.  However, when I try to call DAQmxStartTask(), it returns with the error "attempted to use an invalid trigger analog source.  Ensure that the source of command, you specify is the name of the virtual channel in the task or is the name of a non readable terminal that the device can use as a source of analog trigger. »

    I have set up the channel by using DAQmxCreateAIVoltageChan().  I tried the two nameToAssignToChannel of parameter null to use hardware channel name and assigning the channel a different virtual name.  These two seem to work, as after the channel configuration that I can use DAQmxGetNthTaskChannel to see that the names have been configured correctly, but try to configure the trigger still does not work with the above error.

    I would appreciate any idea on this issue.

    Most of the Modules with 24-bit ADCs, have no trigger analog equipment.  You will need to implement an algorithm to trigger in the software (target RT, FPGA host)

  • Analog triggering PXI-4472

    Hello everyone,

    I am currently having a grip on analog option trigger PXI 4472 Council. I found on this forum a few years ago an engineer designs OR the vi ' "(attached here) Acq Cont & chart voltage-Int Start of Clk-analog as a good starting point to become familiar with the option of analog trigger for this Council.". " The VI seems to be starightworward for my level of knowledge on Labview base, but apparently I'm missing something.

    Here's my problem, as far as I understand in the manual, I can use a 8 ports on 4472 as input for analog signal that can function as a trigger. In the code, edge DAQmx start analog. VI requires the source of the "APFI0" command and the help file, it should be a virtual channel through which signal will. I created the virtual channel named "APFI0" and ai0 connected to it, but I get the error message:

    {Error-200265 occurred at DAQmx start Task.vi:1 Possible reason (s):}

    Attempted to use an invalid trigger analog source.
    Make sure you specify the command source is the name of the virtual
    channel of the job or is the name of a terminal that is not readable which
    the appliance can use as a source of analog control.
    Property: Start.AnlgEdge.Src
    {Value: APFI0}

    I'm guessing that I'm not quite following how the dedicated line for the trigger is initialized. On the fron VI Panel, it is mentioned that the APFI0 is called a standard pin for M-type unit, that I (6221 PXI with BNC-2110 block), but I don't intend to use it as an analog input.

    Can someone suggest how to approach this problem correctly?

    Thank you in advance,

    Oleks

    Hello Oleks,

    Maybe this will help. On the block diagram, make another copy of the list of physical channels and connect to the trigger on the DAQmx Trigger.vi Source input. There will be a red dot of coercion, but it will ensure that you get the right format for your relaxation.

    What is the way analog, you choose to use a trigger, make sure it is included in the task, as below:

  • Triggers the analogue output with PCI-4461

    Hello

    I'm trying to generate a signal of analog output triggered with a card PCI-4461. First I tried to use the feature OR DAQmx 'start analog edge' with the way analog input AI0 as the source and the channel analog output AO0 as task. After it gave an error that I tried to use the NI DAQmx 'start digital dashboard' function with PCI0 as source and channel of analog output AO0 as task. It ran, but did not produce any output. Now I wonder if I can use the trigger analog or digital of the PCI-4461 to all of the output.

    Thanks for support you,

    Pribislav

    Pribislav salvation,

    you still have this problem? I did exactly the same configuration (power play) and it works fine on my system. The PCI-4461 does not support analog triggering, that's why this error occurs.

    Kind regards

    Michaud

  • Analog trigger with time information

    I use PXi-6133 can capture analog signals (8 differential channels) at the rate of 2 MECH. / s. I am able to capture the data and the log in the file using the logarithmic function PDM. However, processing of data takes too long as all the data are about 300 MB (for 2 cards / 16 channels, 10 seconds of vesting period).

    Order to reduce the amount of data, I think the sample just the data when it is in a voltage range I can specify (for example, sample channel 1 when the signal is less than 1V), sample 2 channel when the signal is less than 1V, etc.). I am able to implement analog triggering, but he didn't tell me when the event occurs (for example, there may be multiple triggers and I need to know when the trigger happens for example to 1.0001 s, s 2.1222 etc.).

    Anyone could shed some light on this?

    Thank you.

    KT

    Well, no worries, I hope that all goes well.

  • The pci configuration 6143 S series for the acquisition of data with the analog trigger level? (say to .5v)

    I am interested in buying a probe voltage signals. I use NIDAQ S-series PCI-6143. My requirement is that I need to acquire only above a certain level. I tried to use the task of triggering NIDAQmx but it fails to give error-200077 code. and the description says im allowed to select only digital edge trigger.

    Help, please.

    Thanks in advance

    HI Maria,

    in fact, the message you get is itself, as NI 6143 specifications indicates that this card supports just digital triggering. You will find the list of material of the series that supports analog triggering here: that S-Series (61xx) Support analog devices triggering?, or you can use an external circuit as comparison of analog signal.

    Kind regards

    s9ali

  • Synchronization of measurement DI/O with 5 analog in separate lines of various modules mounted on a NIcDAQ-9178

    Hi all

    I have a VI that measures analog 5 separate lines (pressure sensors, thermocouples in temperature, etc.) and 3 lines of DI/O (for a coder angular step phaseB and IndexZ).  I'm having a few problems (as follows);

    1 trying to simultaneously capture the reading encoder and analog playback, I tried setting them up on the same basis of 100 kHz time although the encoder reads at a different rate from that of the lines of I which produces squewed data.  So I tried to make the lines to HAVE it read at each rising edge of the pulse of the encoder, (this had to number 2).  Is there a way to make the lines SO the DI/O on the same clock sampling or better still in the same job for DAQmx?

    2. analog digital converter is too slow (ie the error that the previous conversion was not completed before a new has been tried), when trying to acquire 5 analog in different lines triggered by impulses from a line of digital IO ADC says its too slow, a work around that maybe?  Currently, I have a different task for each analog channel, is the cause of the error? I should concatenate the strings in a single task maybe? (any recommendations on how that would be great).

    I've been watching a lot of messages about the analog triggering from DI/O, although I don't think many of them have the same chassis and modules than me...  I work with a NI 9201 (Analog In), NI 9401, and a NI 9213 all hooked to a NIcDAQ-9178.

    As a plus for the previous post...

    After the validation, I came across this very useful utility provided by NOR.

    http://zone.NI.com/DevZone/CDA/tut/p/ID/11549

    It describes the synchronization between the DAQ hardware.  I guess that it is so a thread lost since the answers to my questions are answered in this website.

    Nick

  • Acquisition of vibration with the NI USB-9234 using the NIDaqMxBase library

    I have a NI USB-9162 linked to a NOR-9234 properly configured and installed under OpenSUSE 11.3. It's the output of ldaq:

    >lsdaq
    --------------------------------
    Detecting National Instruments DAQ Devices
    Found the following DAQ Devices:
    NI USB-9234: "Dev1"    (USB0::0x3923::0x72B5::0164852A::RAW)
    --------------------------------
    

    I'm developing a simple application to acquire the values of vibration of a project connected with an accelerometer.
    We start from the example of acquireNScans - AnlgStart.c of NIDaqMxBase 3.4.5 documentation.

    Unfortunately, the program fails and generates the following error:

    "DAQmxBase Error -200428: Value passed to the Task/Channels In control is invalid."
    

    Then I realize that the NI9234 doesn't support analog and digital triggers so I have decided to try with the acquire1Scan.c (a scan without triggering):

    int main(int argc, char *argv[])
    {
        // Task parameters
        int32       error = 0;
        TaskHandle  taskHandle = 0;
        char        errBuff[2048]={'\0'};
    
        // Channel parameters
        char        chan[] = "Dev1/ai0";
        float64     min = -10.0;
        float64     max = 10.0;
    
        // Timing parameters
        uInt64      samplesPerChan = 1;
    
        // Data read parameters
        float64     data;
        int32       pointsToRead = 1;
        int32       pointsRead;
        float64     timeout = 10.0;
    
        DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));
        DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_Cfg_Default,min,max,DAQmx_Val_Volts,NULL));
        DAQmxErrChk (DAQmxBaseStartTask(taskHandle));
        DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByChannel,&data,samplesPerChan,&pointsRead,NULL));
    
    printf ("Acquired reading: %f\n", data);
    

    Also this program fails and gives this error:

    DAQmxBase Error -200077: Requested value is not a supported value for this property. (Timing Mode)
    

    How can I get at least a single data value of the accelerometer of the device using the NIDaqMxBase API?

    Hi giaulo,

    The examples that you have tried to run are not compatible with your device.

    The 9234 does not support analog triggering, so examples of "acquireNScans" - AnlgStart.c do not work.

    He is also unable to make an acquisition of single point because is based on the architecture of delta-sigma ADC. Here is a knowledge base article explaining the limitation:

    KB 4SU94SH7: DSA Hardware Support a Point Acquisition?

    This is the reason why the "acquire1Scan.c" does not work.

    You will need run one example making an acquisition in the buffer. "acquireNScans.c" would be a good to watch. Be aware of all these examples, the default is +/-10V input range. The 9234 can only input +/-5V, so it will take a few changes. Also as you try to read an accelerometer, IEPE excitement is probably necessary. I've attached an example which is based on the example of "contAcquireNChan.c" that defines the range and allows the excitement for the device correctly.

  • Help getting started: switch 7841R FPGA

    Hello

    I'm a relatively inexperienced LabVIEW user with no experience with FPGA.  I'm looking to produce a simple FPGA VI as a first use of our 7841R.  Synchronize us multiple devices with a pulse generator and I also use the pulse generator to trigger our 7841R.  I was not able to find a simple example of how to do *.  Here's what I think I knew that day:

    (1) create a while loop

    (2) add a node FPGA of e/s to one of the digital input nodes (say, et0) (or maybe that should be a method of I/O?)

    (3) .this, this is where it gets fuzzy... probably the I/O node produced some results that I can then use to trigger an event

    (4) once triggered, change the voltage level on one of the nodes of analog output

    Any help would be appreciated - especially pointing me to tutorials or examples.

    Thank you!

    See you soon,.

    Tom

    * I worked a tutorial than the FPGA to output a sinusoidal signal and that worked very well... but I was puzzled after a few hours of research about to understand the trigger.

    Hello Tom,

    Here's a first tutorial, by that you can pass:

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3261

    This tutorial is the reverse (trigger something by a similar edge):

    http://zone.NI.com/DevZone/CDA/tut/p/ID/3236

    It is most useful to me (also on a custom analog triggering):

    http://zone.NI.com/DevZone/CDA/tut/p/ID/6359

    It shows how you can trigger a digital output based on the input analog value.

    In your case, you'll just have to do the reverse:

    Read a value digital and then based on this Scripture, something to an analog output.

    If these tutorials don't help you long enough, then don't hesitate to give us a sign.

  • Trigger AFPIO

    My guess is that I can search intensively and find something, but it seems that there should be a simple solution.

    I had a LabVIEW code that worked.  He uses an old VI ('acquire N analysis analog hardware Trig.vi').  I improved to 8.2 and of course could not get this vi to load correctly.  Now, I try to use the "DAQ Assistant" to do the job.  But it seems that the trigger does not work correctly.  I'm reading analog channel 1 trigger off AFPIO.  I know that works the "trigger" (that is, if I look at the signal I send to AFPIO on an analog channel in panel test that I see the "trigger").  But the DAQ Assistant starts a scan when the trigger happens and times out with an error.

    Y at - it something simple I could be missing here?

    Thank you

    Hi Barry,.

    It looks like you were using NOR-DAQ 6.9.x (NOR-DAQ or traditional 7.x) before, which means that you must use E series. When you changed from E to M series series, have you changed your wiring?

    On the series E, PFI0 could serve as a trigger analog or digital triggering. On the M-series and X-series, APFI0 is a PIN separated, which uses the same PIN number as EXTREF has done on the E series:

    • APFI0 is for analog triggering. It can be used as a cross-reference of the DAC for output (this is what EXTREF was for the series E) analog.
    • PFI0 is only for a digital triggering and the e/s digital.

    Brad

Maybe you are looking for

  • Re: Server connect error: 901 &amp; 403 -.

    Have photosmart 5520 e. Copier have scanned a document some time ago. Tried to scan again using the same procedure, but each attempt stops after document loading with the message: there was a problem connecting to the server. Turned off the printer a

  • Problem with the default printer setting.

    My default printer setting is changed without doing me it. This can be avoided?

  • Mailbox lost in Outlook express

    Hello I'm working with outlook express in Windows XP and all of a sudden I lost all messages my Inbox and all messages sent. How can I get these? Cordially thans and kind Jean

  • horror of e-mail

    ICAN receive no problem but can not send a Your server suddenly put an end to the connection. The possible causes for this include server problems, network problems, or a long period of inactivity. Subject ' Emailing: there is Mustafa Mustafa song -

  • Supported? Bought the upgrade to Windows 7 Pro 64-bit

    My system crashed! I bought a Win 7 Home Premium to Windows 7 Professional from Microsoft Update I log into my account from a friends computer and contact technical support. AN HOUR ON a CAT - cannot use the key Code for the software update that I bo