acquisition of simultaneous generation of 6555

Hi, we strive to get data in and out of a map 6555 to/from our associate DEGREE, which is connected to the map of 6555 via the provided wiring and LabView with the manual VI tool which allows to control the map sample data, the wiring is correct (confirmed the scope).

However, when we run our automated program that is supposed to load our data files and send them out, we don't see no signal at all on the same PIN that we led with manual tool of VI.

How our hardware guy wired the Board upward is kind of arbitrary (some channels are entered, some are out and not in a particular order or organization).

As a beta test, we start with channels mapped to the acquisition of DIO0-DIO15, and DIO16 mapped to the generation.  There is an HWS file, I created and which contains the data flow for DIO16, and then we want to save DIO0-DIO15 while DIO16 sends data.

However, we do not see the data coming out the wire again.

Two main issues:

(1) what string values should we be turning to niHSDIO_AssignDynamicChannels() to put in place the channel like that assignment?

(2) should we padd strings in the data file that we send to niHSDIO_WriteNamedWaveformU32?

I was wondering if the data we are trying to send to DIO16 maybe DIO0 or something.

Thank you.

Ed

Since you're using the U32 write, it means that writing VI expects an unsigned integer of 32 bits, with each bit associated with an output of the 6555.

So for output to line 16, you could Pad the 16-bit integer.  (Basically of output hex 0 0001 0000 x corresponding to 1-bit followed by 16 zeros).

Tags: NI Hardware

Similar Questions

  • acquisition of simultaneous data on 4-channel - AG6000A

    I'm looking for analog waveforms with a range of AG6000A with respective drivers. I can do it on one channel, it works perfectly.

    I want to extend to 4 channels, so that the LV reads all 4 channels simultaneously. Reading is now achieved by screw 4 'ag6000a read-only waveform' but if I run the system, only 3. channel acquires data.

    Does anyone have an idea how to handle 4 all 4 channels at the same time?

    Thank you

    Kriváň

    Why do not you look at the example called Agilent series 600 acquire several waveforms? He acquires two channels and can be easily modified to read from four.

  • Triggering of an acquisition session when starts a session of generation in a script


    I recommend trying to place a marker on the first sample of your second form of wave and exit one of the PFI lines and have then your acquisition session start generation on a trigger to PFI line. This should allow you to acquire without missing any of the samples of your acquisition. I would like to know if it works for you. Thank you!

  • Block of stimulus response SR

    Salvation in the article

    http://sine.NI.com/NP/app/main/p/AP/MI/lang/en/PG/1/SN/n17:MI, n21:155/fmid/2947.

    high-speed digital and stimulus response features ATE, there is a good example of test a SRAM I / C which is the closest example of you I've seen until our application is the use with the LabVIEW PXI chassis and 6555 map HSDIO for.

    We would like to use the stimulus response with a data file (US production with Modelsim in VCD format and using the Digital Waveform Editor software to convert to the format HWS), use the method of comparison of real-time hardware.

    In this article, there are a few screenshots of the example of the work apparently LabVIEW *.vi examples.

    Issues related to the:

    1. is the source of these samples available?  We found a source of example for the simple generation and acquisition but is not using the approach of impulse response that synchronizes the acquisition to the generation and uses the block SR split the data file.

    2. What is the name of the block of labview SR (Figure 4, labeled data block Parse) and where is the documentation on how to load a HWS file in this stage of automatic analysis.

    3 are there two separate signals (generate / acquisition) that are loaded into memory card 6555, or what one (stim/answer)?

    Our Guys labview wonder to generate two files our VCD file HWS, but the way in which this article seems to be written, is that it is really a waveform.

    Thank you.

    Ed

    Hi Ed,

    1. I don't think the source is available for these examples, but as far as I know, the SR block is the only thing missing.

    2. the SR block is not a built-in function, but I threw something together real fast that should explain it.  It also shows how to load a Workflow file to a numeric data type.

    3. There is only one waveform in memory of the 6555, including the data of the stimulus and response.

  • How do transfer data waveform on taking data of RT - PXI to host in labview

    Dear all,

    I have RT PXI and PC based on windows. I developed the based trigger for data acquisition. The system wait for trigger and what relaxation comes early acquisition and simultaneously send data to host Windows XP PC, where the data will be displayed. After having set the data acquisition time will stop and wait for another trigger. This average cycle going.

    In this application I send data PXI - RT to Windows host using the network shared variable. But the problem is that data gets delayed and some time to lose data, as time passes the system starts. To avoid this problem. I got to know that I do TCP/IP or programming of data taking.

    How can I send data from PXI to PC in this way?

    -Vishnu

    You can send your data measured by TCP IP to the host system. See attached screenshot how to do. I hope it helps.

  • Desired freq / real freq

    Hi all

    I'm converting a program of LabWindows/CVI to use traditional NIDAQ to NIDAQmx. Something I don't see in the API NIDAQmx is the distinction between the desired frequencies and actual frequencies for example what a signal or acquisition of a generation. Is that mean that the material can guarantee any frequency within its range (internal divisor not more mutipliers to a basic freq)?

    Example with NIDAQ:

    DAQ_Set_Clock (Dev, 0, DesiredRate, 0, &ActualRate);
    WFM_Set_Clock (Dev, 1, 0, DesiredRate, 0, &ActualRate);
    

    I suggest you call DAQmxCfgSampClkTiming to set up the sample clock.

    To reread the sampling under duress, I would use DAQmxGetSampClkRate after that sync has been set up.

    Best regards

  • Relationship between the samples through the second rate and sampling

    I was wondering if someone could clarify the relationship between the samples through second rate and sampling.

    I have USB6008 and USB6363 of the tips that I work with in Measurement Studio.

    For the nec USB6008 entry differential (up to four channels of HAVE), if I put a sampling frequency to 8192 samples per second, and I updated 2048 samples per channel with:

    Task.Timing.ConfigureSampleClock ("", 8192, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples, 2048)

    Am I right in assuming that:

    • through the 4 analog inputs 8192 samples will be collected every second
    • 2048 samples will be taken by way of analog input for each scan
    • The time between two successive data points is 1/2048 seconds (about 0.5 ms)

    Hi DKIMZEY,

    The help page for the "Timing.ConfigureSampleClock method" should have a hypertext link to the page "Sample clock" in NOR-DAQmx help, that contains this text: "this sample clock sets the interval of time between samples. Each tick of the clock starts the acquisition or the generation of one sample per channel. "When the sample clock frequency is 8192, then the time between two successive data for a single channel is 1/8192 seconds. The time between the data points on two adjacent channels is controlled by the clock to convert, which can be controlled independently on most devices (up to a point).

    Brad

  • start stop multiple while loops

    I have a fairly large VI that works while several loops with the strutures case inside.

    I would like to be able to close and on all looped programmatically according to events. (complete cycle or cycle started)

    I need to store my data in a table, but whenever I turned off the while loop data I gathered is lost.

    It goes like this-measure analog voltage - put it in a digital indicator... now I want to put it in a table only once by my machine cycle.

    If the opeator push the reset button, the table is available for acquisition of report generation.

    Any help would be appreciated.

    Thank you

    It's here.

  • Running multiple instances of Flash IDE CS (6)

    I have a build machine compile my fla files by running Flash.exe command line and providing a JSFL file as a parameter. I want to run multiple instances of the IDE Flash to enable simultaneous generations on this machine otherwise it only one thread running on a build machine that is a waste of resources.

    So, is it possible to run multiple instances of the Flash IDE? Perhaps there is some sort of command line? I have Flash CS6, but there should not be a lot of differences with CC, isn't it?

    I don't think that you can run multiple instances of flash CS6 and CC.

    -Reynaud

  • Generation and acquisition of analog signals simultaneously on USB-6212

    Hello, I am novice programmer DAQ trying to create (what I think is) something very simple.

    I use a box NI USB-6212 and LabVIEW 8.5 is trying to generate a pulse train analog while recording a simultaneous analog input.

    My first question is, is it possible?

    Since I'm new to this, I use the DAQ assistant in LabVIEW.  I can acquire a signal, I can also generate the desired signal, but I can't seem to operate simultaneously.

    I have been successful in obtaining my program to work with both USB-6212, but I have to be able to do this with a single.

    I have attached the block diagram and vi, I hope that's easy to answer the question, even if my research so far has left me empty handed.

    Any help would be greatly appreciated!

    Jon L

    Hi Jon,

    Well, first of all welcome to the DAQ programming! I took a peek at your code and published it with a device simulation very well, so I ran with the PCI 6251 card in my computer and he did not also get errors.  Could you post the error code you get?

    If I could figure out what is your error, I would say you encounter errors of buffer because it is too much overhead in the DAQ to wizards in the face of data rates.  My suggestion would be to use the example called "Multi-Function Synch AI - AO.vi.  This program can be found in the Finder for example of NOR (see Help"find examples in LabVIEW).  "" It appears in the input and output material"DAQmx ' synchronization ' Multi-Function.

    Can you give that a try and let me know how it goes?  Thank you!

  • Counter the acquisition and generation of simultaneous signals of Daqmx triggered

    I am writing a vi that collects the data of a specific length (1000 points) when writing the data of the same length on another port on the same card (PCI-6052e). Collection and production are both triggered by a pulse of a counter on another Board (PCI-6711). I am able to trigger both successfully, but not at the same rates and not to the desired resolution. The generation of waves and the collection forms should be 8 msec in duration. I have attached the screws. Any ideas would be appreciated.

    Thank you

    Jordan

    Eventually clocked continuous generation, but the displacement of the wave write vi DAQmx out of the loop (just before the beginning of vi), and this fixed the calendar.

  • niHSDIO dynamic generation and Acquisition using LV configure Trigger VI

    Hello!

    My experience is limited within the environment of digital programming; Nevertheless, I have worked on this problem for a few days and would appreciate some comments if possible.

    I am trying simply to generate and acquire a duty cycle of 50% of 8 MHz TTL pulse train on a PIN DIO of the PCI-6541 and acquire back from the signal on another axis of DIO. I have a connector corresponding to the embedded 6541 VHDCI connector which of course the generation and acquisition DIO welded pins to provide a loopback effect.

    In short, I use the niHSDIO configure Trigger VI (instance--> start Trig: SW), niHSDIO send software Edge Trigger VI and write Named Waveform VI (instance--> data: 1 D U32) in the generation section. For the section of the acquisition, in short, I use the VI of waveform Fetch niHSDIO (instance--> single record: WDT).

    I see results in the waveform acquired showing the generated and acquired digital TTL pulse on the respective DIO pins train, but I can't seem to get my 8 MHz frequency requirement. In addition, the lower part of the assignment of pin DIO, more frequency. Unfortunately, due to the configuration system required, I have confined myself to pin 12 DIO for the generation of digital pulses. Even with a 50 MHz clock frequency, I'm ~ 6 kHz of frequency acquired max. I looked at changing the parameters of the wave form VI named write, but it is not possible because the VI call a library function node. I also tried to generate a waveform of 8 MHz through a VI of generator of digital model, but I do not believe, you can trigger on generated waveforms? It seems that you must generate data using a simple loop to as a counter and sending the result to the waveform VI named write. Are there other ways I can simply generate and acquire a digital signal of TTL of 8 MHz (no external connection)?

    In any case, any kind of feedback would be greatly appreciated.

    Thanks in advance for your time.

    Dan

    Dan,

    Sorry about the nomenclature.  I usually use 0 x or 0 b for indication of radix, it is not necessarily a kind of standard, just what I used in my old days of the Assembly.

    Looks like you have a knowledge about the data.  Basically the material is just save in DRAM an array of words of 32 bits, with each bit corresponds to a data channel and each element being generated to the sampling clock rate you enter to your vi.  Everything else is just easy data manipulation or usage.  The interleaving method is just as I like to create a toggle model.  You can easily do a loop with an inverter and feedback node or use on the construction in screws to signal generation.  In addition, you can use the software digital waveform editor or control panel test to generate the county or toggle modes.

    Give us an update when you enter the laboratory and let us know if you encounter any other disorder.

  • Generation of data and acquisition of high frequency problem

    The fitting requires a fishing signal (32,764 KHz) saw tooth (0.3 Hz) signal output to drive the laser and acquires the signal from the output of the detector. I use the NI USB-6356 data acquisition with the speed limit of 1.25 MECH. / s.

    I put the generation mode like "Samples continues", samples of writing/reading of 1.2 M and 500K (Hz) frequency in the DAQ Assistant. I also tried 500K and 500K.

    The scheme of vi is illustrated in the following figure.

    Of the front plate, the generation of signal is normal, which may be seen in the left side of the following figure. But signals a lot of periodic fluctuations that will appear if the right side of the figure. In addition, the siganl acquist go all the time.

    I think it's maybe a few errors with my setting of the sampling frequency, I tried a lot of time for a change of pace, but it seems unnecessary.

    These fluctuations exist not only in the growing period but alos can be seen in the declining period, which is shown in the following figure:

    I tried to solve this problem for almost a week and try a lot of different rate, but all fail.

    Could someone give me any suggestions please? Thank you very much!!

    Thanks SOSOSO much for your reply immediately every time!

    This is my first time to write the Labview program with data acquisition

    The attachment is the field of Vi.

    I'll read the Web page that you offer, thank you very much once again!

  • Digital and analog generation and acquisition using USB-6251

    Hi all

    I have to actually synchronize a 6251, USB and USB 6366 Board. I have a vi, which is good that now I am able to use the 6366 as the master and as slave 6251, attached tie. The master generates a digital trigger for (generation synchronization) pulse and the acquisition of the signals on both cards, analog signal ramp and acquires signals. The slave acquires only a series of signals after outbreak.

    I want to have the 6251 as master and as slave 6366. The vi attached the other way around as I mentioned above. When I try to use the 6251 as the master, I get an error asking me to specify the clock source (I did the material and some changes in the program as well, as export properly 6251 at 6366 clock).

    Thank you

    SANJU

    Thanks for your reply jonathon,

    But in your code below, I coudnt get the Outpput internal PCI-6251/ctrl0...

    but I hardwaired the o/p (PFI 12) meter... .and generated a signal meter on this port, I used that as the clock...

    Thank you

    SANJU

  • acquisition of signals from multiple cards simultaneously

    Hello

    I am trying to acquire the signal of my cards OR PXI simultaneously but having some difficulties to implement which.

    Here is my configuration:

    Installation of equipment:

    (1) chassis NI SMU-1071

    (2) map of NI PXI - 4461-2 I / P and O/P 2

    (3) map of NI PXI - 4492-8 I / P

    Here is the acquisition code I wrote:

    The problem is that when I use the I / P channels on the same card (4461 or 4492) then, the code works well, but if I use the channels of entry on two simultaneous cards then I get an error message:

    "

    200106 error occurred at DAQmx Read (analog 1 Wfm NChan NSamp d) .vi:

    Possible reasons:

    Property must have the same value for all channels on the device.

    Property: RefClk.Src

    "

    I tried to set the clock reference to "The clock on board", but I still get the same error.

    What should I do to reslove this problem?

    Thank you

    Ritesh

    Hi Ritesh

    Have you tried to import a common clocks ref for 2 boards? This is not supported by all devices, but for those that you combine, this should be confirmed as you can see on page 44 of this document.

    WenR

Maybe you are looking for

  • Tecra S11 - 11G - external monitor flickers when the Wifi is enabled

    I have a similar problem on my brand new Tecra S11 - 11G. The only difference is that the problem is present only when I have my laptop plugged in and turned on WiFi radio. If I turn the Wifi radio off and keep the laptop connected to the power sourc

  • Console buttons multimedia Toshiba Satellite A300 do not work

    Hey all,. I reinstalled the driver and I restored my computer but the buttons backlit Toshiba multimedia Console still does not work. Any help appreciated. I used the Toshiba recovery disc, and it does not work. Model number. PSAGCA-08W01N Cheers, Le

  • How can I change windows side by side?

    In windows, you can change view side by side or waterfall or up and down when you want to display two windows at the same time. For example, I would like to see a building in Fire fox and the floor plan in the paintings to match the outside with the

  • purchase half price windows 7

    How can I buy the windows half price 7 for my lap top? We bought a desktop with windows 7 6 weeks

  • Can not register my new laptop 360 T-c28S R3 - 131

    I spent hours trying to register my cell phone does not. I'm totally frustrated at this point. trying to connect to sign up gets either a Gateway TimeoutThe bridge not received a quick response from the server in upstream or application. OR I get a w