bad signal output generations

Dear all,

I want to record and output data with two separate cards (later synchronously).
For data acquisition, I use the NI PCI-6133, for the data output, the NI PCI-6733.
The data collection works, but there are problems with the data output. In the first ms the desired signal (eg. Sinusoidal 25kHz, 1V) is issued, but after a certain time a sinusoidal output with about twice as high frequency occurs, the actual signal occurs only sporadically on.
The desired and undesired signal seem arbitrary to change. In addition other frequencies were tested which attain the same result.In the appendix of the current code, and some recording of the problem (with the PCI-6133 & oscilloscop measured). Can anyone explain the error?

Personally, I think that the first step is to remove the Structure of sequence - it is absolutely not necessary (you use correctly the wire of the error to serialize the main steps of the data stream).  It becomes big, bulky on the block schema structure will allow you to "reduce" it to a more reasonable size.

Here are a few questions and comments.

  • You have a current activate button, you seem to be set up a channel of AI voltage (not a current AI).
  • Why is the function AO Start Task in a "First Call" Case statement?  According to the block diagram, it is not in a loop, so it has the first appeal and the Case statement is not necessary.
  • I did not AO output waveform, so I won't comment on the loop of the AO.
  • I have done HAVE sampling.  Why you have a Stop function and clear the tasks inside the loop?  Only after acquiring the data?  [I think you have to put these two functions and the error handler, outside the while loop].
  • By putting them HAVE and AO in the same loop, you are forcing them to run at the same time.  If that's what you want to and if they have the same time 'cycle', and if there is enough "free time" for all other calculations that you have to do inside the While loop with a loop may be OK.  Especially if they are cycles at different rates, you should have them in parallel while loops.

Looking forward to Version 2.  Try to get as much of your diagram of block on a single screen as possible.  Do not hesitate to 'hide details' in under face.

Bob Schor

Tags: NI Software

Similar Questions

  • 6733 continuous signal output generation.

    Hello

    I want to use an NI PCI-6733 map for generation of continuous signal output.

    I downloaded the modules OR measure small DDK OR 671 x & 673 x examples (PCI & PXI) and run the samples.

    Our goal is to put a few samples in the FIFO buffer and use the external update (on PFI5) to send the samples to the exit.

    Essentially a combination of AOEX4.cpp and AOEX6.cpp example should work.

    However, example 6 uses board-> DACDirectData0.writeRegister (.) to set an output value.

    To update the output, I use the following code to generate a wave of block.

    Sub
    NIPCI6733Card:nPoll_Test_T6() / / function called at 5 kHz
    {
    t67xx * Council const = & GetNI();
    Support * const theSTC = & GetSTC();

    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
    theSTC-> Joint_Reset.writeAO_Configuration_Start (1);
    theSTC-> Joint_Reset.setAO_Configuration_Start (0);
    theSTC-> Joint_Reset.setAO_Configuration_End (1);
    theSTC-> Joint_Reset.flush ();
    ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

    Board-> DACDirectData0.writeRegister ((OutputHigh). 0400:0 x 0 x 0);
    Board-> DACDirectData1.writeRegister ((OutputHigh). 0400:0 x 0 x 0);
    Board-> DACDirectData3.writeRegister ((OutputHigh)? 0100:0 x 0 x 0);

    OutputHigh =! OutputHigh;

    }

    My frequency of update of application (the election) is 5 kHz. The output should run on 15, which means that each update I need to resolve before the 3 samples. I want to use FiFo for this.

    (Note: the output is triggered by PFI5 at 15 kHz)

    My idea is to 3 samples in the FiFo buffer each update of the application and leave the external trigger update of the output.

    Example 4 uses the FiFo. However, this example stops after 5 running running the same fifo data.

    How can I set up FiFo continuous data?

    370735e.PDF manual describes the following:

    With non-regeneration, old data will not be repeated. New data should be
    continuously written to the buffer. If the program don't write new data to
    the buffer at a speed fast enough to deal with the generation, the buffer
    will be negative and cause an error.

    This is what I want. Is there an example?

    Kind regards

    Peter

    Dennis,

    Thanks for your reply.

    I have whil post-its on the correct Board.

    I implement for IN-Time. It is a time real OS for Windows.

    Kind regards

    Peter

  • BlackBerry Smartphones water damaged phone has bad signal

    My 9790 "BOLD" age of 6 months of BB washed. I had fixed and everything worked perfectly, except for the bad signal (most of the non-existent time)! I never had problems before water damage. Now I have to put my phone on specific points, the specific angles and then only, it will pick up signal with maximum 3 stripes. If anyone phones, I can't talk to them, cause now I pick up the phone, the signal goes into SOS mode or network research. I brought back to the guy who fixed it, and it replaced the ariel, without success. Any other suggestions? I still have the contract of 15 months left!

    Physical repairs are problematic, especially on a device that has been damaged by water, you never know if indeed you have solved all the problems caused by moisture or water. And dried water in a device may leave behind the salts and minerals on the circuit, which can cause problems six months later and are not detectable today.

    You might be better to start with a new device.

  • Voltage offset problems with the NO-9401 for PWM signal output

    I try to create a 20 kHz PWM signal to drive a motor control circuit uses the NI 9401 module in the chassis OR cRIO-9073. Generating the PWM signal works. For some reason, changes in shift of power as the market factor is increased. It is less effective for the engine, as you can imagine.

    The code I am using is the finder of the example, for the generation of PWM on an FPGA and is attached.

    I thought that it worked before but may have used the the NOR-9505 rather PWM output to test my circuit. It would be unreasonable for me to do this as a permanent solution.

    The problem can be summed up as: with an increase in the liability of the cycle the voltage line (offset) movement of the output signal in the negative (according to ADGE) Basic or down. The Vpp signal is correct and does not change. Against ticks from 0 to the maximum of 2000 ticks (duty cycle IN), the offset voltage shift is such that 100% the level of full voltage is 0V.

    Any ideas as to why this offset voltage shift that happens?

    Do not be dismayed, I worked on the problem. There was a connection problem - I thought I was logged in as reference Earth, but it has not been properly clipped.

  • Bad signal TV on my Qosmio F20

    I am new user of qosmio F20-111 and I have some problems with reading a TV on this subject.
    I have a cable TV connection that I use for several years on my TV 'ordinary' (there is a very good signal).
    If I try to watch TV on my qosmio, it is VERY BAD VIDEO SIGNAL on all the channels that I watch on "regular TV". AUDIO SIGNAL IS on these channels OK.
    Please help me!
    Blaz

    Hello Blaz

    You have the same situation with Qosmio player and Windows Media Center?

  • Large signal output capacitance measurements

    Hi all

    I'm working on a power amplifier and I want to measure the ability to output under large signal condition. I use a non-linear model of the GaN power transistor.

    Power output is about 36 dBm, f = 8.2 GHz

    I tried both methods:

    (1) I have spent under bias Vgs - 6V to 1V, Vds = 28V. I use solver C_PRC linear tab to find the parallel to the output capacity. I got a chart that changes from 0.3pF to 0.5pF. In this simulation I don't use tuner to impedance, just ports (50 ohm) and sources of bias.
    (2) amplifier is biased to 28V and 125mA. Then, I drive amplifier with of 20dBm to 30dBm input power. In this simulation, I used HBTUNERs to maximum power output (power input 25dBm at the entrance) and the output. I can see there is a change in capacity at the entrance vs input power change. However, in the output, production capacity is constant and 0.52pF. I am able the ability of the drain of transistors, tuner. I use great Solver for the parameter measuring signal Y and calculate the capacity.

    The interesting thing, I can meause entry changes easly to large signal capacity, but output capacity is constant!
    I have two questions:

    (1) why the three measures are different?

    (2) for large signal measurements, for example; 30dBm output, 30 v peak-to-peak output average 40dBm 50 v peak-to-peak. So, there is a change in capacity over a period of time. When I measure the Solver big signal, Solver uses the high peak values? If so, can I change low peak value?

    (3) can be used for important signals gamma probes?

    Thank you


  • Signal output data expressed on a serial port

    Hello everyone,

    I received a task which requires me to collect several channels in express signal analog voltages before displaying these data to the serial port of the computer. My programming experience is very limited as Im working on the back of the high school before going to College, and even though I have the foundations of basic labview stowed, Im struggling to understand how to approach this problem.

    I started looking at the base read the series and write vi provided in the examples and I know how to get labview vi to intergrate with signal on purpose, but because of my lack of knowledge related to the use of channels of communications, binary, hexadecimal and asqui I don't really know where to go from here. The writing and reading of strings for example, I don't understand.

    I would like the data are ideally output on the serial port in real time and data are collected continuously at 6 kHz.

    I realize that there probably is no simple answer to this question, given my lack of knowledge, but any help would be greatly appreciated!

    Thank you!

    Harry

    Hi hcook,

    As smercurio_fc said, the strings that you send are totally dependent on what you're talking about. I haven't used a 'box of dspace' before, but a normal serial device will wait to receive specific orders.  Once it receives an order of some, she will perform a certain task.  You are right in saying that you need to establish what string commands to send to the box of dspace.

    You can find these useful:
    General concepts of Serial Communication
    Overview of Serial Communication

    I hope this helps.

  • Precise triggering voltage input and output generation in the DAQ Assistant

    Hello

    I wonder if anyone has come across a simular problem with the synchronization of input and output voltage. I use a box 11 LabView and NI USB-6259. I have been using the DAQ Assistant to configure the input and output channel. In particular, my task is to generate a single rectangular "pulse" as the output voltage to drive a coil and once the pulse went to get a signal from a sensor of magnetic field and get a power spectrum. This means that the order and the time during which the DAQ Assistant is used is extremely important. For example, the output voltage channel must be opened first for 2 seconds. Subsequently, the channel of input voltage must be open for 1 second, in which the sensor signal is obtained and post-processed. Only after these tasks are performed in this order he can can be repeated in a loop until the experiment is over. I don't know how to trigger data acquisition assistants (one for entry) and the other for the voltage output correctly. Y at - it a trick?

    See you soon

    Michael

    Hi Dave,.

    Thank you that I wired the error strings but the timing issue was unrelated to it. In the DAQ assistant, I simply had to choose the continuous aquistion of the 'samples' methods 'N-switch' for input and output voltage and all works fine now.

    Thanks again

    Michael

  • Card bad voltage outputs data acquisition / cut off voltage

    Hello

    I use a 6713 PCI and PCI MIO 16E1 and have a very strange problem: when I try out a voltage using LabView, I get instead of the voltage, a tension cut with a high unstable phase. Basically, all right, as long as my blood pressure is below 0.3V. All is well here, high level is stable, precise curve shape. But as soon as it exceeds 0.3 V, it is cut and the tension starts to drift. I have attached a drawing of the problem in this post.

    The system worked very well, but a week ago, the problem appeared. First he went again, but now he reappeared. The first attempt to define a certain tension might work, but already for the next pulse the problem occurs. Now she even work correctly once. Reboot etc did not help.

    The funny thing is, however, the same PC has two features listed above. I only and never used the PCI6713. When the problem occurred, I tried to move to the MIO 16E1 but it shows the same thing! Exactly the same problem here! I unplugged all the wires to the cards and it still does not work. Anyone here with an advisor?

    Thank you!

    Mike

    I was able the output voltage with a scope with 1 MOhm input impedance. But I found the problem by chance now! We got a whole batch of defective cables BNC! I already suspected the cable and tried different cables, about the same result. Then somehow, as I wrote, the problem disappeared once. Now, I used another type of cable to test the unit and it worked! So I checked the other BNC cables, and some of them seem to have a shortage between the mass and the Center, but in a way it produces sort of a junction diode (probably because of a layer of oxide somewhere). When I shook the cable suddenly I could measure a low impedance between the mass and the Center, but only for milliseconds, just like a bad contact.

    Really weired! But thanks for the help!

  • Arbitrary signals output rate

    Hello, I'm trying this arbitrary signal by arbitrary simulation of output signals express VI. I want an exit point out analog of the DAQ USB 6281 every second. When I said to output a point by iteration I get error 200609 say the selected buffer size is too small (selected the size of the buffer: 1, minimum buffer size: 2) how can I change the buffer size? attached if my VI, just go under the 1 'arbitrary' case and you'll see my VI Express with points iv series.

    But you are passing an array many points so you should have to index this table point by point by putting the DAQ Assistant, in a loop with a delay of 1 sec. You can also spend the whole wave and specify a frequency of 1 Hz in the DAQ Assistant.

  • How do I create free of glitch signals output in the buffer permanently changing?

    Hi, could you point me to the example more suitable for the following cases:

    I read and write digital and analog data at a rate of 5 kHz.  At this rate, I need read and write samples N at a time and can point single bed and wrote. I want to assure you that my output is glitchfree, then, how to grow the next N samples to the DAQ (PCI-6221) card before it has finished writing the previous samples of N?  This would ensure that at the time he was finished with the stamp of the previous, it will continue with the next buffer without missing a clock.

    I can't use a blocking writing or interrogate the task when it is at the point where I managed to write the next N samples a clock or two would have passed.

    Any ideas?

    Hi AnthonV,

    What you have described so far, I think the following example of the expedition would be a good starting point:

    Help > find examples... > input and output material > DAQmx > power >

    Gen CONT tension Wfm - Int Clk - no Regeneration.vi

    The main idea is to define the task to continue (but not to allow the regeneration of the buffer).  Data are written continuously in time loop then the task is still running, so as long as your loop may follow the generation that should do what you need.

    If you have any questions about the example do not hesitate to ask.  Thanks for posting and have a great day!

    -John

  • Satellite M70 wireless very bad signal - Intel 2200 b/G card

    I'm very angry about this wireless, an Intel 2200 b/G card.
    The wireless card do not work very well. It connects to the AP, but the quality of the signal is very poor. It's the ping response from a robotics AP we:
    Ping 192.168.2.1 with 32 bytes of data:

    Reply from 192.168.2.1: bytes = 32 time = 2ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 2ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 510ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 7 ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 40ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 307ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 827ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 31ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 4 ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 433ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 2993ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 15 ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 288ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 3931ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 20ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 3ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 894ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 563ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 48ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 2649ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 5ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 315ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 59ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 7 ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Request timed out.
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 3748ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 140ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 1195ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 106ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 177ms TTL = 255
    Request timed out.
    Reply from 192.168.2.1: bytes = 32 time = 3ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 1ms TTL = 255
    Reply from 192.168.2.1: bytes = 32 time = 235ms TTL = 255

    Ping statistics for 192.168.2.1:
    Packets: Sent = 55, received = 45, Lost = 10 (18% loss),
    Time approximate round trip in milli-seconds:
    Minimum = 1ms, Maximum = 3931ms, average = 434ms

    What should I try? I'm using the latest drivers, change the transmitting power, try to manage the connection with MS Application and software for Intel wireless, I have the latest version of the bios, I change the default MTU for this connection. Nothing help me.
    The access point works very well, if I use a Wireless USB stick connection is ok, no lost package or 3 sec ping response

    Hello

    I've heard that Intel has a problem with this wireless network card, but I'm not sure if they have yet set.
    Have you tried the driver here:
    http://Downloadcenter.Intel.com/scripts-DF-external/Filter_Results.aspx?strTypes=all&ProductID=1637&OS FullName = Windows * + XP + Home + Edition & lang = eng & strOSs = 45 & submit = Go %21

    Good bye

  • Bad analog output help Every_N_Samples-NI-9263 cDAQ-9172 chassis (works with cDAQ-9178 chassis)

    Hello

    The NOR-9263 analog output voltage geberation works correctly with the cDAQ-9178 chassis but gives wrong result using the chassis NOR cDAQ-9172.

    In the attached code example, a single cycle of a sine wave is composed of 40000 samples and came out in the background using Every_N_Samples at a rate of production of 5000 samples per second.

    The output buffer size is set to 10000 samples.

    Prepare us the buffer writing 10000 samples 1, then write the remaining data in the background using the Every_N_Samples callback.
     
    Bug: Using the cDAQ-9172 chassis, to the 5000 s/s sampling rate with the help of an external field (or through closure to another HAVE), we observed that 1 10000 samples came out twice, followed by the rest of the waveform. The last 10000 samples are never exits. If you are working properly, we would expect to see 1 full cycle of a sine wave.

    The bug does not occur with the chassis NOR cDAQ-9178. I use the driver NIDAQmx v9.2.1f0 on Windows XP
    The bug does not happen with simulation devices, so you will need to use harwdare real to reproduce.

    Please find attached an example of code C based on the example program OR "ContGen - IntClk.c" to reproduce this bug.

    Thank you

    whemdan,

    The MathWorks

    Hi whemdan,

    By default, DAQmx regenerate old samples if no new data is available.  To give the correct behavior, you can:

    Use DAQmxSetWriteRegenMode to disable the regeneration (DAQmx_Val_DoNotAllowRegen).  In most cases, this is recommended if new data are written continuously in the buffer as the build is in progress.

    If you just need to generate 40 k samples, you can write them just all at once, rather than in 10 pieces of k (the code you attached probably is just an example, so I'll assume that you have a reason to write the data into segments in your actual code).

    I think the difference in behavior between 9172 and 9178 can if explained by the different way, buffering is set up on each product.  The 9172 uses a buffer of 8 k (on the STC2) in all cases (source).  The 9178 uses an 8 k of memory buffer (on the STC3) If you use regeneration shipped, but uses the 127 samples FIFO cartridge, if you use no on-board regeneration (source).

    Then... on the 9172 8191 samples are immediately transferred to the FIFO.  By default, the hardware is going to request new data when the FIFO is less to fill (this is configurable with DAQmxSetAODataXferReqCond).  I'm not sure what the transfer data request size is in your case (you can set the maximum value with DAQmxSetAOUsbXferReqSize), but obviously it is bigger than the other 1809 samples that you have not yet sent to the Board of Directors of your first entry.  At this point, the pilot will regenerate 10 existing k samples so that sufficient data will be available to meet the demand of data transfer.

    The 9178 however use the FIFO of 127 smaller samples so you will not have the same behavior in your case.

    In summary, the behavior is explainable by the difference of material.  If you want to avoid to regenerate old samples, you should ban the regeneration using DAQmxSetWriteRegenMode.

    Best regards

  • Bad signal wireless Dell Inspiron 1564 laptop 1397 WLAN Mini card

    I tried just about everything to improve wireless signal deteriorating strongly that the PC is moved a few feet of Belkin router.   Other members of the community of Dell have reported that switching from the driver provided to pilot Microsoft 'default' significantly improved things and suggested: Microsoft, driver Date: 01/10/2008, driver Version: 4.176.75.21 can someone tell me where this driver can be downloaded or offer alternative remedies?

    1 I solved the problem by uninstalling the Dell Wireless WLAN Card Utility then [Control Panel, system, Device Manager] removal from the Board & let Windows redetect and re - install [using its default driver].  Problem solved - I now receive wireless signals well.

    2 I also spent a step further, but then had to travel to what I wrote at paragraph 1 above.

    2.1 I tried updating the driver with Dell to update the facilities but [even though the version number of the driver was the same] the problem of weak reception back.  I repeated the solution in my para 1 and it was beautiful once again.

    2.2 I have updated the driver using Windows Update, but once more [although the version number of the driver was the same] the problem of weak reception back.  I repeated the solution in my para 1 and it was beautiful once again.

    Both Windows & Dell drivers come from Broadcom at some point as they made this card.

    I also tried to contact the Dell technical support six times during my warranty period, but never got a reply.

    This solution I have from what I'd learned from the user of the Jack MVPforum.

  • No audio signal output windows 7 SR1629uk

    I installed Windows 7 on my Presario SR1629UK desktop computer. Soumd icon shows "no audio output device is installed. It is installed and works OK on the victory. XP. HP does not have a driver for Win. 7 can help anyone.

    Hello:

    See if the driver directly from Realtek works.

    Accept the agreement, download and install the file first or second as there is (32 or 64 bit).

    http://www.Realtek.com.tw/downloads/downloadsView.aspx?langid=1&PNid=24&PFID=24&level=4&Conn=3&DownTypeID=3&GETDOWN=false

Maybe you are looking for

  • Satellite 1800-400: internal modem does not work with Ubuntu Linux?

    Hello I try to get the internal modem on my departure from 1800-400 of Satellite under Ubuntu Edgy. All other works out of the box except the modem software and I was wondering if one can be able to help with this. I have been on many Linux forums an

  • Pavilion 20 bo13w: critical alert of the road

    received an e-mail about a critical alert driver for hp pavilion 20-b100 all in a series of deskyop pc, hp pavilion b000-20 in series to a pc desktop and hp pavilion 23-b000 Office all-in-one, but he said nothing on mine says email is an update of th

  • Xoom docking mode

    When ICS is out my Xoom (wi - fi) would go into a docking station mode when I placed it on the dock. Now with JB is no longer doing this. I can't find a setting to change this. Anyone has any ideas. I don't often, notice only needs charged once a wee

  • Cannot start the HP Pavilion dv7 - Intel(r) WiFi Link 5100 AGN

    the WiFi has been disabled by the Device Manager, and I can't activate it When I get in the Device Manager, one! sign was shown next to Intel(r) WiFi Link 5100 AGN, and I click Properties, the device status displays the message below: "This device ca

  • How to copy my photos on a Flash drive

    I just bought a new laptop so want to copy my photos from my old laptop to the new. I clicked on copy on cd, but when I inserted the cd it says had not enough space. So I bought a Flash drive, but cannot see how to copy pictures of her. There is only