NI-DAQmx/ PCI-6036E / LV7.1 and Timing

Hello,
I have the following:
LV7.1.1
PCI-PCI6036E
PCI-6703
I need to create a program within LV so one of the DAQ cards will receive a Trigger from the DUT and read in approx 5 lines to determine timing. From the way it looks it is as if I need to set it up so the DAQ card almost Acts like a Logic Analyzer as I need to have all the line read in at the same time then allowing me to determine if the timing of each line is within the parameters in my spec.
My only problem is I don't know where to start. I can do the Basic stuff with these DAQ Cards but his is something I have not done yet. Are there any examples to help me get started on the right track?
Thanks
Jeff
Jeff D.
OS: Win 7 Ultimate
LabVIEW Version: 2011,2010,2009 installed
Certified LabVIEW Architect

Hi Jeff,
You can accomplish what you describe programmatically. Poll one of your digital lines until it goes high. Once it goes high, read the digital lines that you are interested. In order to simultaneously read the digital lines, I would recommend reading the entire port (the port will have to be different than the line you poll). There is an example of how to do this in the example finder, called "Read Dig Port.vi". You can just discard the port data that you do not need. The DAQ devices you have do not support any hardware timed digital acquisition, which is why I suggest you implement this with the software.
Thanks,
Laura

Similar Messages

  • Lock and unlock sharing DAQ PCI-6036E

    Is there an example for lock and unlock a DAQ resource (PCI-6036e)? I'd like to protect it from different threads.

    Well, I have LabVIEW 6.1 and TestStand 2.01f
    Does NI-DAQmx come with LV7?
    My application has one serial port,one PCI-6036E connecting to one SCXI with 16 thermocouple and 10 force sensors.
    motor controller pc board (MC)
    PC with TestStand and LabVIEW (master)
    | |
    RS485 COM1 PCI-6036E
    | | | | SCXI CHASSIS
    slave MC1 MC2 MC3 MC4 TEMPERATURE SCXI-1102
    | | | | | | | | Strain gauge SCXI-1520
    Stepper 1-3
    Brushless
    The PC is the master,
    MC1 2,3,4 are slave motor controller, they don't initiate communication but they take a command and execute it and they can return mo
    tor status encoder position.
    MC1 can controll four motors, serial command has MC1 address and individual motor sub-address.
    The four motors connect to MC1 are stepper and small.
    The motors connect to MC2 are brushless type
    The two motors connect to MC3 are stepper and medium size. Different manufacturers, but they all have encoder feedback and take about 4 - 15 seconds to move to commanded position.
    Strain gauges for measuring the force of the linear motors. Most motors have one strain gauge, but three motors have two strain gauges. (Fwd 1 inch with 8psi to a cork screw, once finding the corkscrew resistance, punch thru it with 50 psi and 1/2 inch)
    The test is life analysis and motor force.
    The test cycles the motors continuously and collecting data (encoder, temperature, force, cycles)
    What are the ways for doing the test?
    How should the graphical User interface be? this is the thing that the project managers care about. Only three seconds to impress them.

  • DAQmx Error: Non-buffered hardware-timed operations are not supported for this d evice and Channel Type.

    Hello,
    I am new to NI and to data acuasition cards in general. I am trying to put an application togather that would play large audio file using NI9263.
    And i am getting the following error.
    DAQmx Error: Non-buffered hardware-timed operations are not supported for this device and Channel Type.
    Status Code: -201025
    Does my hardware support buffering ?
    can i use the EveryNSamplesCallbackAO function ?
    Any sample code, will be helpful at this time. Thanks.

    Hi yma200,
    Are you using a USB 9263?  If so, this might be of help:
    http://digital.ni.com/public.nsf/allkb/EC1968728E660B288625780700570D06?OpenDocument
    If it doesn't help, can you please post the code that you have that is causing your error?
    Regards,
    Bogdan Buricea
    Applications Engineer
    National Instruments

  • Thermistor measurement using NI PCI-6036E and CB-68LP

    Hi everyone,
    I am quite new to LabVIEW and DAQ and I am in an attempt of performing temperature measurement using the only existing hardware available which are NI PCI-6036E and CB-68LP. I was in the attempt of trying to perform the example of temperature measurement based on a book by Robert H. King "Introduction to Data Acquisition with LabVIEW", but as I go further I realized that the hardware I have is totally different that the one in the book, as the one in the book can perform direct resistance measurement from the thermistor.
    I have learnt that there is a need of external excitation current needed but I am not sure of now to create one.
    Is it true that I need to do a lot of external circuitry in order for me to realize the temperature measurement with only PCI-6036E and CB-68LP? I don't have a budget to buy SCXI or BNC-2120 accessory.
    I bought a breadboard and a few resistors and connected to a voltage supply to build the external excitation but it failed miserably. 
    I am using Windows XP PC running LabVIEW 2011. 

    Hi Lynn,
    Thank you for your reply. I was just wondering at which terminal should I connect the AI0 of the DAQ card. I did the connection accordingly, by placing the external resistor in series with the thermistor. I connected the +5V source to one end of the external resistor and at the same point I place a connection to the AI0 and at the other end of the thermistor to the ground. The voltage seems to be a constant 5V.
    I wanted to monitor the change in temperature of the thermistor by monitoring the voltage variation. When I measure the voltage with an external multimeter there seems to be some changes in the voltage, from 4.51V to 4.54V when I place my thumb on the thermistor to give some heat. However, I couldn't monitor any variation with the VI on LabVIEW. Did I misconnected everything?
    I build the VI solely using DAQ Assistant to measure voltage.

  • Need internal register info and map for PCI-6036E

    I'm going to be using NI-PCI-6036E Data Acquisition cards using a hard real time extension package for Windows. As a result, we will have to write a driver for the 6036E cards to access them in real time. Consequently, I need a map of and information on the internal registers e.g. a programming model. and the PCI vendor ID and device ID

    I would definitely recommend that you download our Measurement Hardware Driver Development Kit (DDK). This is a free download from our website, and can be found at www.ni.com or at the following direct link.
    NI Measurement Hardware DDK (Driver Development Kit)
    http://sine.ni.com/apps/we/nioc.vp?cid=11737〈=US
    This kit provides development tools and a register-level programming interface for NI data acquisition hardware. This works with E Series devices, including the 6036E.
    For questions specific to the DDK, please leverage the discussion forum catageory "Driver Development Kit (DDK)."
    Best Regards,
    Justin Britten
    Applications Engineer
    National Instruments

  • Labview limitations with the PCI-6036E

    I haven't used labview for since the 4th edition and have just recently purchased a copy of labview 7 express along with a PCI-6036E DAQ card.
    I have an experiment that requires the use of controlling a voltage by measuring and integrating a current i.e. when the summed current reaches a particular value the output voltage changes.
    What would be the minimum turn-around time for reading this current and switching the output voltage?
    The experiment was previously written in TurboPascal but lacks any sort of user friendly GUI and writing the program in labview seemed like an obvious choice.
    Many thanks,
    Paul

    Paul,
    Unfortunately, we don't really have a benchmark for this sort of thing since it is going to be highly coding and system specific. However, here are some suggestions to make the response time as short as possible.
    *Increase system specs: faster processor, more RAM, less PCI bus traffic, etc. Hope this helps. Good luck with your application.
    *Minimize other programs running at the same time
    *Minimize network traffic, mouse/keyboard strokes, or anything that takes additional processing
    *Coding efficiency: making use of NI-DAQmx instead of traditional NI-DAQ, proper use of locals and globals if necessary, efficient analysis
    Overall, for a ballpark guess, it shouldn't take more than a few milliseconds to change.

  • Getting error 10401:Unkn​own Device Error from configured PCI-6036E

    I have installed a PCI-6036E into a PC with a P-II and 32MB RAM. I am running NT4.0 SP6 operating system. Attached to the PCI-6036E is an SC2345 with one SCC-A10 attenuator module. When I try to run either one of the sample solutions or a VI that I have written, I get an error 10401 Unknown Device. The text goes on to say that the board is either unsupported or not configured. When I go to the MAX software, I can see the board and it lists the interupt as IRQ 11 and DMA as 0. The values are grayed out. The SC2345 and installed module are set up as accessories. If I click the Test Resources button on the Properties window, it comes up with the error that the device is not responding to the first IRQ level
    How can I fix this? Is this an NT specific problem or will this sort of thing happen under Win9x and Win2k?

    Videojet,
    The types of errors you are receiving usually indicate improper installation or a bad board. Please make sure you have followed the proper installation procedure outlined in the Hardware Installation Wizard: http://www.ni.com/support/install/.
    If you find that you may have a bad piece of hardware, please initiate a service request on www.ni.com/ask. Call into to our technical support line to repair your board.
    Have a great day.
    Message Edited by Support on 01-22-2007 11:24 AM

  • How can I connect the output of a force transducer unit(BNC cable) to the PCI-6036E DAQ card via the SCB-68 block connector?

    I m using the 404A force transducer unit by Aurora Scientific and i want to connect the (converted to Volt) output, which is a BNC cable, to the PCI-6036E DAQ card via the SCB-68 connector block, facing difficulties in choosing the correct input mode for my signal(couldn t clear this using the manual), setting the switches and which channel shall i use in the block connector in order to configure ot with LABVIEW

    Hi MSc Student,
    Connecting your transducer to the 6036E card via the SCB-68 connector block should be pretty straight forward. You have 2 choices of input mode, Referenced Single Ended (RSE) this is where you will connect the screen of the BNC cable to a ground connection for the DAQ card in the SCB-68 and the other to any analogue input channel . These are listed in the device pinouts in the help section of MAX, under the 68 pin devices section. The terminal block numbers correspond to the DAQ card's pin numbers. Another method, which avoids ground loop problems would be to use the Differential connection and connect the signal and ground connections of the BNC cable to a differential analogue input, these are listed in the 6036E manual and in th
    e MAX help section again. the disadvantage to using this method is 2 analogue input channels are used and you must use the lowest 8 analogue input channels for differential inputs.
    The switch settings that you need can be found in the manual for the SCB-68 in table 2-1, the manual can be found here : http://www.ni.com/pdf/manuals/320745b.pdf
    The switches are for power to extra signal conditioning and the cold junction compensation for thermocouples which in your case you do not need so set the switches to the positions in the first box ie Direct feedthrough, with temperature sensor disabled and accessory power disabled. The channel you use should not matter the only ting to remember will be that if you use differential mode measurement that you will be connecting the signals to AI(n) and AI(n+8) so differential input 0 is across the connectors for AI0 and AI(8). The channel numbers corespond to the analogue input number for the card.
    I hope this information helps,
    Chris M
    App
    lications Engineer, National Instruments

  • What is the maximum number of samples that can be acquired with a single trigger using PCI-6036E DAQ card?

    1. My PCI-6036E card has a FIFO of 1024 bytes in AI. Maximum how many samples can be acquired with single trigger for digitizing a waveform?
    2. PCI-6036E DAQ card has got a AO with 10ks/s update rate? Can I generate a pulsed output with the AO of this card? I need a pulse of, say, 5 V and 1 kHz frequency.

    Giri,
    1.The trigger is usually for enabling the acquisition. I mean, when it is logic zero, you acquire nothing; however, when it is logic one, you start acquiring your waveform,and you can acquire continuously without having to worry about how many samples, unless you want to set your program for doing so. You can acquire continuously by implementing buffer acquisition. Finally, the FIFO that is in the board will not affect the buffer acquisition.
    2.Yes, you can do that! You can generate your 5V signal with that specific frequency, and you should not have any problems, because the freq fits in the update rate.
    I hope this information is helpful.
    L Aguila
    Applications Engineer
    National Instruments

  • The device PCI 6036E: Analog Input error:"the device is not responding to the base address",Output :No signal

    I am using PCI 6036E DAQ card, DAQ 6.9.2. , I have not connected to any external device.
    When I tested card(in Test Panel of MAX2.2,DAQ 6.9.2) an error appearing �the device is not responding to the base address� � then I pressed Yes, Then TestPanel window appearing�
    In analog Input Tag, there is an error �-10805�. This error also appearing when I run the standard analog input samples (use Delphi 6.0).
    I tested analog output functions in TestPanel, Delphi Examples, LabView 6.1. There are not error appearing but there is not output signal (using Oscilloscope to see).
    Output, Input digital functions are working correctly.
    Next I try to foll
    ow all the instruntions as recommended:
    -Changing TO another slots PCI
    -Reinstall Os WinXP,98SE�
    -Use another Computer�
    But all of the cases are still not working.(the above error still appeared, no output signal)

    Nvd,
    I'm sorry to hear about the problems that you are running into with your DAQCard. I can understand your frustration with the errors that you are seeing. You mention that you have tried to do some troubleshooting, I was wondering if you have tried all the troubleshooting techniques listed in this KnowledgeBase:
    http://digital.ni.com/public.nsf/websearch/DCFCDB240788F8D486256D6A00834D80?OpenDocument
    If you have tried all of those things, I would suggest one additional thing to try. I would suggest updating your NI-DAQ drivers to version 7.0. These drivers are the newest versions of our Data Acquisition Drivers, and can be downloaded from our website here:
    http://digital.ni.com/softlib.nsf/webcategories/85256410006C055586256BBB002C128D?OpenDocument&
    node=132060_US
    If you have tried all of the above troubleshooting options, please post a detailed description of what you have tried. This may help to clarify what is going wrong.
    Jed R.
    Applications Engineer
    National Instruments

  • Is PCI-6036E suitable for me to send out analog signal to controll a device?

    Hello
     I need to controll and generate an analog signal to control a nanopositioning stage and I would like to know which one will be better using PCI-7344 board through UMI-7764 or using PCI-6036E board through SCC-68 I/O connector. additional question, I have actualy four wiring pigtailed with LEMO connector, the LEMO connector have two PINs which will be connected to the device, and the 4 wires which will be connected to the signal conditioner, the two pins Ain+ and Ain- with respect to the device, the other 2 wires one is the shield ground and the other one is ground also, the device is CGND, shall I connect the only two differential wires which will be connected in the analog out at the UMI-7764 snd the other one in AOGND at UMI-7764, and the other 2 will be ignored. please may I get any help or advice with full of thanks.
     Aneece
    Message Edited by Aneece on 04-09-2009 10:22 AM

    The XXXXX's means it's recording sys-ex information from somewhere, probably from your Yamaha. It also means you're probably recording onto an audio instrument track, or a MIDI track, not an audio track.
    Without assuming too much on my end, I would suggest, obviously, of course, that you spend a day or two really learning how Logic operates. Learn the terminology, really digest it, and take baby steps.
    Plug in one MOTU interface, and get audio in and out of that. Then plug-in the Yamaha, and do the same. Once you get that under your belt, set up the aggregate device, and by that point, you should be well on your way.
    Focus on the "Getting Started" guide, and after you have a handle on that, try pumping audio in and out of the interfaces, one interface at a time.

  • PCI 6036E/SC 2075, can read only from ch 2, need to use both. help please

    I have interfaced DAQ PCI 6036-E with SC2075. I wrote a code to get data from analog input chl 1 and ch 2. I am getting data only from ch1. cables and hardware connected to sc2075 had been tested and are working properly. help please .Also, is it possible to test those channels from measurement and automation explorer and how ?.thanks

    Greetings,
    Yes, it is possible to test these analog input channels in Measurement & Automation Explorer (MAX). To do so, expand Devices and Interfaces, right-click on the PCI-6036E, and select Test Panels. On the Analog Input tab, you can set the Channel control to any of the device's channels. If both CH1 and CH2 function correctly in MAX, you will need to troubleshoot your code.
    Good luck with your application.
    Spencer S.

  • PCI 6036E vs. D-link Wireless resource conflict

    I have both a PCI 6036E daq card, and a d-link wireless ethernet card on a Dell with fully updated BIOS, drivers (NI-DAQ 7.0), windows xp ect. When both cards are installed, the computer freezes about 15 seconds after windows starts up. I suspect it's a resource conflict between the two PCI cards since they work fine when only one of the two is installed, and so I have methodically changed the IRQ settings in the BIOS as well as tried different physical PCI slots, to no avail. What else can I try?
    There is also a normal ethernet card built into the motherboard that looks like it shares the PCI resources, but I've both updated drivers and completely disabled it, so I don't think that's part of the problem.

    You are probably correct in identifying the problem as a resource conflict between the two devices. It appears from your post that you are specifying the resources of the devices in the BIOS rather than letting Windows assign them. This is generally a good practice and works well. However, in this case, Windows may be freezing because it is not accepting the resources that you have specified in the BIOS. One possible solution may be to turn on the PnP OS option in the BIOS and let Windows allocate the resources. This may not resolve the resource conflict among devices, but it may keep Windows from freezing on you. Once you are able to get Windows to boot with both devices in the machine, you will be able to set the resources of each device in the Windows De
    vice Manager.
    Another option you may want to try in debugging this issue is to removing or disabling all other hardware that is being assigned resources (ie. sound-card, modem, mouse, etc.) . This will allow you to determined if there is not enough resources available in the system or if this is strictly a conflict between these two devices.
    You may also want to try substituting a different PCI device for either the DAQ board or the d-link board. This will allow you to see if this a general PCI resource allocation problem or again, device specific.

  • Self-calibration of NI PCI-6036E

    I have a new NI PCI-6036E (low cost) data acquisition board. We set it up using one of the analog input channels in single-ended nonreferenced mode.
    I want to acquire a voltage value which is equal to a pressure reading of the connected pressure controller.
    After connecting all parts together and set up the parameters I still have an offset between the voltage value from the pressure controller (7.85 V) and the card reading (8.05 V). How can I solve this problem?
    I tried to do a self-calibration of the data acquisition board using the provided online E series diagnostic utility on your web page undere: www.ni.com/support/selftest but it says "device detected but not supported". The E-series model I am using sould be supported
    Can I do a quick self-calibration in an other way?
    It would be very nice somebody could give me some advice how to solve this problem.
    Thank you very much for your help!
    beam

    Beam,
    You can programmatically perform a self-calibration. In LabVIEW, you can call the E-Series Calibrate VI within the Data Acquisition>>Calibration and Configuration subpalette. If using a text-based ADE, you can call the Calibrate_E_Series NI-DAQ function.
    You are right in that the PCI-6036E device should be supported by the online diagnostic utility; that should work. Make sure you have NI-DAQ 6.9 or higher and Internet Explorer 5.0 or higher.
    Also, is the voltage you are reading floating or ground-referenced? If the source is floating then you should use bias resistors when configured in NRSE or differential mode. Chapter 4 of the E Series User Manual (linked below) goes over how/when to connect bias resistors. I would take a look at this chapte
    r and use it as a reference for connecting signals. I hope this helps.
    PCI E Series User Manual
    http://digital.ni.com/manuals.nsf/webAdvsearch/06F1C9FB0D0BA5C286256C010057461B?OpenDocument&vid=niwc&node=132100_US
    Regards,
    Todd D.
    NI Applications Engineer

  • DAQ and timed loop

    Hi,
    I have a question about DAQ and timed loop. I used timed loop while acquiring data. I need timed loop since I have tvo more loops in my application and ı need give some priority to them.
    Data acquisition should have a high priority. But the example codes about DAQ always use wlile loop. Is this wrong to use timed loop in DAQ application, or there is a unexpected result about
    this usage.

    You could use timed loops in Data acquisition operations as well
    But, one thing you will have to watch is the 'number of samples per channel' terminal of DAQmx Read function.
    Suppose you have rate as 1000 samples /sec, in your DAQmx timing vi
    In continuous acquisition, if you specify number of samples per channel as 500, instead of performing 2 iterations / sec to get your 1000 samples as your nor mal while loop would, your Timed loop will run for 1 sec and you will get an error that all samples could not be acquired

Maybe you are looking for

  • ALL MY DUKES TO ANYONE WHO CAN EXPOSE THESE POSTERS/IMPOSTER

    Please check message #16 and #17 at the link below: http://forum.java.sun.com/thread.jsp?forum=31&thread=216311 Also look at these links: http://forum.java.sun.com/thread.jsp?thread=216613&forum=17&message=750160 http://forum.java.sun.com/thread.jsp?

  • Options to edit historical data in Citadel database (Lookout 6.0)

    We are running a new installation of Lookout 6.0 I am looking for ways to edit the historical data that is found in the Citadel database. For example, if an alarm clears before I can enter comments, I would like to go to the database after the fact a

  • Update groups in credit management

    HI SAP Experts,                               can any body explain the functionality of update groups in credit management. can we create customize it apart from standard one. in normal implementation what update group is used extensively ? why? your

  • Share Photo Flux from iPhoto Library

    Picking a photo from my iPhoto Library to share it on a new Flux of Photos on icloud doesn't work on iPhoto, on my side... When I try to share one (or several ) photo, a new photo flux is created, but no photo updated inside... Is that a bug on iPhot

  • File button where is it?

    i am trying to import bookmarks from IE to firefox 4 beta. i can not find the file button or any button that says import.