SYNCHRON 2 module

Hi, I built a VI that data of 2 scans of modules DAQ and then that summarizes data collected in an Excel sheet. I used 2 loops of sampling and 1 extra loop that must save the data in Excel, using the functions of the queue when a value Boolean true.
Now, my problem is that when I press the Stop button to stop the analysis of data and the VI, the data analysis stop correctly, but the VI continues to operate. I used the notification as local variable function tries to stop the loop iteration, but I can't. using probes I could locate where the problem was. the problem is that the stop of the loop of storage condition does not get set to true.
Can someone give me please a tip on how I can solve the problem?
Thanks in advance.

Hello lab_fanger,

now, it stops but it takes a while, because the loop of TC is very slow.

Queues where destroyed without checking if there is empty

He can run, you must reconfigure the DAQ Assistant.

It may be useful

Tags: NI Software

Similar Questions

  • Synchronized text works only on the pages of the BC module created in Muse?

    I get these errors strange collection showing where there should be synchronized text. The synchronized text was initially placed in the a-master page, and then a blog module was added to that specific page. The synchronized text works perfectly on the home page and on the mobile view, but on the page of the blog that contains the module blog of British Colombia, it broke.

    I work in the muse, latest version. Site is loomcreative.com.au and is hosted on BC.

    Screen Shot 2015-02-17 at 12.09.50 pm.png

    It should look like this:

    Screen Shot 2015-02-17 at 12.16.26 pm.png

    Any help would be appreciated.

    Thank you J

    It seems that you have enabled the liquid for items at the end of BC module? Please search settings who are called to the page using Jason.

    If this is not the case, let me know.

    Thank you

    Sanjit

  • Smartphones Wireles blackBerry sync not found in the options for one of the modules 'synchronized '.

    When syncing, I get a message that my calendar Outlook cannot be synchronized because wireless is turned on.  Help said me.

    On your BlackBerry® device, in the calendar, Contacts application, tasks of application or Notepad application, press the Menu key > Options.
    If necessary, click a calendar or contact list.
    Change the field in no. wireless sync or uncheck the wireless sync.
    Press Menu > save.

    the problem is that when I go in the Options there is no field 'wireless synchronization '.  Everything I find is the calendar view, by calling rooms and Date & time. The two accounts, my gmail one & the blackberry.net acount are also displayed.

    What am I doing wrong or I am barking the wrong tree?

    Ken

    OK, I am currently perplexed.  I ask that your son be moved to the Commission from the BlackBerry Desktop Software and maybe someone else can help more.

  • Module GPS 9467 NOR seemed synchronized GPS.

    Hi This is Lee.

    I use NI 9467 9024 & 9111.

    I want to connect the data with PPS so i trigger ' v done as attaché.

    I think PPS is must be the beginning of my data, but it has 8ms delay. (sample 5 k)

    This means that my 9467 and FPGA timekeeper metronome example give me 8ms trigger earlier.

    This known issue? I did something wrong?

    Thank you.

    Lee.

    Lee,

    The way you have your code right now the loop of sampling should go to 1 Hz, but there is nothing to synchronize with the PPS.  Rate of metronome is related to both GPS, but not his point of departure.  If you combine the two loops in the right way, that would work.

    One way would be to use an event to trigger the acquisition.  Or you could simply merge the two loops so that the acquisition begins in the second picture of the structure of your sequence.

  • I want to return to my original on my sony vaio firefox because the synchronization elements are wrong. I tried to sync with my VAIO and work in synchronized folders and

    I'm in trouble! I thought that my home PC to synchronize with my other accounts and instead, my synchronized work firefox! I'm broke!
    I want to go to the track I was so before synchronization please please help me!

    These can not get your data back, but will help in the future.

    These modules can be a great help for the backup and restoration of Firefox

    FEBE (Firefox environment Backup Extension) {web link}
    FEBE you can quickly and easily backup your
    Extensions Firefox, history, passwords and more.
    Indeed, it is more than just backup - it will actually rebuild
    your saved individually into installable as files.
    It will also make backup of the files you choose.

    OPIE {web link}
    Import/export extension preferences

  • Photon counting using Photon unique cash Module and PCI-6602

    Hi all

    I am currently working on program couting of photons using a single (Excelitas) and PCI-6602 photon counting module connected to the BNC-2121.

    I took a glance at other positions, but I still couldn't solve my problem (or, again, I'm not sure if yes or no, the problem is the specification of the material).

    In the program, I'm generates a trigger to 1 MHz pulse using a trigger in a separate loop.

    Other than that, I have loops of the producer-consumer model to get data and do a simple subtraction to calculate the number of photons in 1 microsecond.

    According to the values connected to 'Input.BufSize' of buffer DAQmx and "Samples per channel" DAQmx calendar, I could change the loop number that the program has done its job correctly.

    With the values, the program acquires photon 1 MHz with signls for 139 times.

    After that, the program stops and the loopback number increases very quickly.

    When I forcifully took stop the program, while the loop number increases very quickly, the program appears "error-200141".»

    The error that says "data has been replaced before it can be read by the system." Mechanism of data transfer is interrupted, try to use DMA or USB in bulk. Otherwise, divide the input signal before taking the action. "even if the meter explicitly works in DMA mode by using the sample clock.

    I wonder there is nothing that can solve my problem or even the only solution will buy a better Board of counters/timers.

    Thank you all for reading this.

    I will be very happy with any index

    Kind regards

    Myeongsu

    Yes, the same thing happens on my system.

    It does not happen with PCIe-6612.

    I found more strange things:

    When I start to reduce the frequency at a time given (800kHz) can fill the buffer, it will not start since the beginning of the buffer. He can go to the beginning of the buffer only at 100 kHz for my PC.

    Options to fix:

    (1) PCIe-6612. Seems to work. I tried streaming at 10 MHz, 5 min - fine.

    (2) reduce the frequency of the pulse. If your laser supports 100 kHz, you're fine.

    (3) put in place additional synchronous counter at 100 kHz. Basically, it's material average number of photons by 10 pulses.

    (4) read 2 adjacent pulses each 1/50 kHz - then your data transfer will be 100 kHz and you will get the number of photons of this impulse of the 20 - th.

    Programming issues:

    (1) remove the display of the received picture, make only the processing of data and show results if you really need it.

    (2) clock.vi sample sets the buffer size, if you specify the size of the buffer, do this after this vi.

    (3) I deleted unnecessary "loop generation." He is running on the hardware and stops when you stop it - after reading the loop ends.

  • Simulate the module

    Hello! I'm building a testbed for manual control of the synchronous generator, and I'll use two modules NI - NI 9476 and NI 9209. So I need to wait for a while, the modules are purchased and delivered, so my question is - I can simulate these modules somehow? I am a rookie, then you'll appreciate all of your help. Thank you in advance.

    Hey, Sergii,

    If you know that compact RIO you can simulate it, also you can choose to simulate modules for it, see the link below.

    http://digital.NI.com/public.nsf/allkb/F466AD83D24F041D8625714900709583

    It will be useful,

    Kind regards

    Natalia

  • How to build a parser of vector signals PXI using different module combinations

    Normal
    0

    21

    fake
    fake
    fake

    PT - BR
    X NONE
    X NONE

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    MSO-style-priority: 99;
    MSO-style - qformat:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 cm 0 cm 5.4pt 5.4pt;
    MSO-para-margin-top: 0 cm;
    MSO-para-margin-right: 0 cm;
    MSO-para-margin-bottom: 10.0pt;
    MSO-para-margin-left: 0 cm;
    line-height: 115%;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin;
    mso-fareast-language: EN-US ;}

    Normal
    0

    21

    fake
    fake
    fake

    PT - BR
    X NONE
    X NONE

    MicrosoftInternetExplorer4

    / * Style definitions * /.
    table. MsoNormalTable
    {mso-style-name: "Table normal";}
    MSO-knew-rowband-size: 0;
    MSO-knew-colband-size: 0;
    MSO-style - noshow:yes;
    MSO-style-priority: 99;
    MSO-style - qformat:yes;
    "mso-style-parent:" ";" "
    MSO-padding-alt: 0 cm 0 cm 5.4pt 5.4pt;
    MSO-para-margin-top: 0 cm;
    MSO-para-margin-right: 0 cm;
    MSO-para-margin-bottom: 10.0pt;
    MSO-para-margin-left: 0 cm;
    line-height: 115%;
    MSO-pagination: widow-orphan;
    font-size: 11.0pt;
    font family: 'Calibri', 'sans-serif ';
    MSO-ascii-font-family: Calibri;
    MSO-ascii-theme-make: minor-latin;
    MSO-hansi-font-family: Calibri;
    MSO-hansi-theme-make: minor-latin;
    mso-fareast-language: EN-US ;}

    I understand
    Vector signal analyzers OR consist of 2 or 3 separate PXI modules: 1
    digitizer, 1 buck converter of RF frequencies and 1 generator of signals (model 5663).

    1. can I use digitizer and signal
    generator general purpose oscilloscope and generator of signals separately?

    2 may I build my own VSA by choosing
    different combinations of scanners and the signal generators? Or replace the signal
    generator by an arbitrary signal generator?

    3.       I
    intend to buy a digitizer/oscilloscope and an arbitrary signal generator
    analysis of response of frequency on the transformers. Later I plan to
    buy a step-down converter frequency and build a vector signal Analyzer. Is this possible?

    Hello

    The frequency IF the 5660 and 5661 (it's the same thing) is 15 MHz, with an instantaneous bandwidth of 20 MHz. The difference between the 5660 and the 5661 is located in the digitizer that accompanies it. The 5660 uses the PXI-5620 digitizer that has a sampling rate 64 MECH. / s and a buck converter of digital frequency limited to 1.25 MHz of bandwidth. The 5661 uses the digitizer PXI-5142, giving you a MECH 100. / s rate and a PSO allowing digital downconversion circuit and the decimation of the full bandwidth of 20 MHz.

    The common comment in the SBA above is the RF PXI-5600 frequency step-down converter which is a superheterodyne architecture of three floors. OL is for the three stages of this module are auto-approvisionnées in their own country. The architecture of several step allows for rejection of the improved image and filtering at the expensive of a noise floor slightly higher due to the signal path more complex. There also an OCXO on board, this gives him a time reference more precise - noise reduction phase etc. The PXI-5600 by itself is wide from three locations.

    The SMU-5601 since SMU-5663 step-down is designed based on the single frequency step-down converter and resumes from a single location. The celled frequency step-down converter gives you improved noise floor characteristics and a better dynamic range, with the rejection of the image fees, having does not simply because there is only one step. The LO is provided by an external module in this case for several reasons. Have a separate external LO allows more modularity in your system, as well as the ability to share a single LO generator between several vendor-specific attributes. This opens the possibility of MIMO applications. The internal of the NI PXI-5600 LOs are not shareable and therefore cannot be synchronized between several PXI-5600 s. The PXI-5663 (all three modules) takes up the same amount of space in the slot as a single NI PXI-5600 without a digitizer.

    The PXI-5154 is indeed a powerful scanner, given its instantaneous bandwidth of 1 GHz. Remember, however, that the connector Active Directory on this digitizer is 8 bits, compared to the 5622 which is 16-bit. If you need more resolution is of course entirely depends on your application. The PXI-5600, as SMU-5601 is controllable as a buck converter stand-alone frequency using the DAMA API OR. You will need to program your application with the scope API for use with PXI-5154 OR and the API de DAMA. A few other caveats to note is that there is no PSO on the PXI-5154 so you can't enjoy the Equalization filter to correct the frequency of the NI PXI-5600 response. Also, as I mentioned above, the frequency of YEW of the NI PXI-5600 has 15 MHz with a bandwidth of 20 MHz - processor 1 GHz bandwidth on your digitizer will be somewhat of an overdose of the IF signal.

    While you're dead on with the advantage of modularity, I would take the time to really meet your search application and ensure that different choices of module and their combinations to meet these needs.

    Hope that helps!

  • Synchronized analog input and output on myRIO

    Hello!

    A brilliant new myRIO just landed on my desk and I'm looking forward to learn how to use it.

    I have a question about the ability of the default FPGA personality.

    Is really similar synchronous HW in and output possible? Can configure you the necessary trigger and clock routing from within VI RT? To say ~100kS/s?

    I need to delve into a FPGA design to achieve this?

    Thank you!

    You will not be able to get your RT loop to run reliably at rates greater than 5 kHz, and we generally do not recommend trying to control I/O faster than 500 to 1000 Hz. This isn't a limitation of the default personality himself, it's just that some tasks are better suited for the OTR and some are better for the FPGA (it is important to understand when developing an application on the myRIO). Synchronization and the output of ~100KS/s signals are something that you have to do on the FPGA.

    http://www.NI.com/Tutorial/14532/en/

    There are some good tutorials in the link above. They use the cRIO instead of the myRIO but the functionality is basically the same. The biggest difference is that you won't have to add modules to your project, because all the inputs and outputs of the myRIO are fixed and must fill out automatically when you add a FPGA target to your project.

  • synchronize 2 cDAQ-9215 modules on the cDAQ-9174

    Hello

    We collect 8 channels of the AI of the comments about 32KS/s, but they must be synchronized with precision. We intend to use 2 CDAQ-9215 modules mounted on a CDAQ-9174 chassis.  This system will do the job? And what kind of calendar and clock configuration should I use to improve the precision of the synchronization.

    Thank you.

    Hello

    I'm sorry I didn't know not the 9215 was a simultaneous module.  Instead of the S series card, you should be good to go with a 9174 and 2 9215 modules. If you use the same DAQmx task to run on all 8 channels acquisition they share all the same timing engine and snack at the same time.

  • Agilent 33250 has synchronized with DT9812

    Hello everyone,

    I'm trying to control two devices (Agilent 33250 A and card DAQ DT9812) synchronizedly using LabVIEW.
    I need excite a transducer using an arbitrary waveform generated by 33250 A burst mode with its frequency swept KHz x to Y KHz with a given increment. Breakup of period and number of cycles should also be adjustable.
    I am trying to send orders for the generator of signals via port GPIB using LabVIEW VIs.I have the necessary drivers. (Config Burst Modulation.VI under "ag33xxx.llb" and Agilent 33XXX series generate Arbitrary Waveform.vi under "examples" in the attached file) but I don't know how to combine these two.
    I contacted the instrument without any problem and I can take any form of arbitrary wave I want. I can also put the generator in burst mode, but I have to be able to do in a single VI.
    After that, I also need to synchronize the process such as the each time that the frequency of the waveform changes, data is acquired by the computer. I have the LV-LINK to control data acquisition card. I'd appreciate any help that gets at least started me off.

    Thanks in advance

    Deniz


  • 4 PWM with 9472 9174 chassis module possible?

    Hello

    is it possible to generate 4 independent PWM with a module on a 9174 chassis 9472? In the past I have already achieved 1 with a PWM module 9474 (same chassis) with the help of an independent timer 9174, so 4 = 4 PWM timer?

    Concerning

    cpschnuffel

    Hello

    There may be situations where you need to use the blocking process counters / synchronizing, but basically you have 4 PWM channels with 4 counters.

    Marco Brauner NIG.

  • Sync module NI 9205 with NOR-9234

    Hello

    I have a cDAQ-9178 chassis with 4 x accelerometers IEPE PCB 16 absorbent of NOR-9234 (DSA). I have a NOR-9205 I intend to use to acquire the power of 4 problems. The NI - 9234 s are synchronized through their extensions in a single task. I would add the NOR-9205 to the chassis and synchronize it with the NOR - 9234 s. I have the following questions:

    1. Calendar synchronization

    How to properly START and the NOR-9205 CLOCK synchronization with the NOR - 9234 s? PXI I export the master St DSA. WHICH device (OR-9234 or NOR-9205) should export WHICH signals to WHOM?

    2. even or parallel task

    Since I produce a TDMS file in its task of NOR - 9234, it would be nice if I could simply to ADD the OR-9205 to this task to develop this unique TDMS with extra 4 channels of the NOR-9205 file. Is this possible?

    Thanks in advance,

    Hi golubovski,

    > Are you saying my task of canal expansion can fire them OR - s and NEITHER-9205 9234 with its 32 channels of multuplexed HAVE? How to recognize which modules can be combined in this way convinient?

    Yes. With the cDAQ-9178, any set of AI modules can be included in the same task and in most cases that apply to the AO and DIO as well, but you cannot mix a, AO and DIO in the same spot. The NOR cDAQ-917 x manual goes into more details on what combinations of modules, the types of channels and the tasks are possible.

    > I am aware since I worked so far with the PXI - 4472 DSAS. How well can correlate between the NI 9234 - and the NI9205?

    Well, I wanted to make sure that you did not know that it is something that you'll probably need to take into account. On the top of my head, I don't know the answer to this question.

    > As far as I know, in which case I use dummy DAQ with the NOR - 9234 to offset 40 clock cycles I guess I'll need to separate the tasks - how to integrate viewers into a single stream of TDMS?

    If you use two separate tasks and you are using the built-in support of DAQmx for TDMS logging, then you will get flow TDMS separated for each task. Note that a dummy read will still record to the PDM file, then maybe it will not work in your case.

    If you use the TDMS API to write to the PDM file, you can do the preliminary processing of data before it is written in a single stream, but there is some trade-off between ease of use and efficiency: either you write data point floating in the file (easier but less effective), or you have to deal with scaling (most effective raw data (, but harder to do).

    Another approach is to put all the modules in the same task and compensate for the delay of the filter after reading the data from the PDM file.

    > Also, for fixed 3.2 µs I have to calculate how many cycles given the actual sampling frequency or is there another method?

    If you filter delay compensation by removing a whole number of data samples, then Yes. However, there are other methods of data processing that can compensate for a number that is not part of the sample clock periods. I don't have a recommendation, but maybe someone else does?

    Brad

  • Model a block synchronous dual-port RAM with LabVIEW FPGA

    This question caught my attention recently.

    I am trying to model a particular design element called "RAMB4_S8_S8" with the LabVIEW FPGA module. This element is a block synchronous dual-port RAM allowing simultaneous access to two ports independently from each other. That being said, a port can perform read/write operation to this RAM while at the same time, the other port might be able to do the same thing. There are two opportunities of possible port conflict, however. The first is when both ports are trying to write to the same memory cell. The other scenario is when a port writes in a cell memory while at the same time the other port reads from it. Other than that, everything should be a legitimate operation.

    In order to reproduce this I select memory block that is integrated into my FPGA target. An interface is configured to be the playback mode, and the other is set to write fashion. For the option of arbitration, I let the two interfaces to be "arbitrate if several applicants only. Then I got a compiler error when I tried to run my FPGA code for this model in a SCTL. The error message is something like "several objects to request access to a resource through a resource configured with option interface" arbitrate if several applicants only ", which is supported only in the single-cycle Timed loop if there is only a single applicant by interface.

    This error goes away if I replace the SCTL with a simple while loop, but not what I would like to implement. So I wonder if there is a better solution to this problem, or is it just the limitation of the LabVIEW FPGA module.

    Thank you.

    Yes, you can use a form of conduct to perform the operations you want in the generations clock cycles, but all the code is inside a single SCTL. Basically, read the first address and storing in a register in a single cycle and then read the second address in the second clock cycle. This would allow you to two readings of valid memory every clock cycle 2. I have included a crude extract to illustrate the concept. The case selectors are identical with address A being connected to the memory in the true case, B in the case of fake address. Your biggest model memory dual port will be intact, but it will operate at 1/2 rate.

    Take a look at the white paper that provides more details on the construction of memory:

    Data on a target FPGAS (FPGA Module)

    The ball on the memory block indicates that memory block double port cannot be applied in a configuration of reading, which is a double ROM. access read/write port must be imitated with custom code.

  • AO on Rising, HAVE on front descending, synchronized

    Hi guys -.

    My question concerns a cDAQ-9178 with a module of HAVE and AO (9215 and 9263, resp.).  For testing purposes, I've ao0 directly connected to ai0.  My goal is as readings and synchronized entries, but with this case readings slightly after writing.  I had hoped to accomplish that by having the AO write on the face of the clock, and read it on the falling clock edge.  It does not, then, obviously, there is something more, that I need to learn more about the system.  Here's what I have:

    I borrowed some of the examples here DAQmx strongly.  Of course, I make some bad assumptions about the inner workings of the timing feature.  Anyone point me in the right direction here?

    As a PostScript, if the above simply does not work, I'd settle for the simple fact of having the kick WAS systematic in a sample after the AO turns on.  Who is a better solution, and if so, is there an example of such a regime out there somewhere?

    Thanks in advance for the help.  Be well and have a great day.

    -Brad

    Brad,

    The exported your task AO trigger signal is very narrow (probably on the order of 10s of nanoseconds).  I suspect that this is going to compensate for your HAVE read as much as you want.  Instead, I would say that you use two properties from the property Trigger DAQmx for node do for you.  These properties can be found of "Property Trigger DAQmx-> Start node-> more-> delay" and "Trigger DAQmx node property-> Start-> more-> delay units".  Place this property on your task node to HAVE, just after calling the trigger DAQmx VI.  Using these two properties, you can hold the start of your sample clock HAVE according to the values defined on these properties.

    Hope that helps,

    Dan

Maybe you are looking for