Data-acquisition with NI 6036E DAQ card & GPIB using an external trigger

Hi all,
I hope somebody could give me some help with the following and answer some questions:
Simple system description:
Labview 6.1
PCI-GPIB card
6036E DAQ card
In my system, I am using an external analog trigger signal (A) for continuous data-acquisition. Characteristics of the analog trigger signal (A) are: ~40 Hz, signal height +1.48V, triggered by rising edge (the analog trigger signal (A) could be changed to a TTL signal). Each data-acquisition is done within ~1.0 ms after the rising edge of the trigger pulse. The timing of the data-acquisition and analyzing procedure is controlled by execution in a sequence structure placed in a loop.
Now, I connected a power meter to the system, to measure the laser power during the data-acquisition. The power meter has two options to provide the laser power data:
a) via analog signal output (voltage corresponds to laser power in watts)
b) via GPIB (direct output reading of laser power in watts).
Problem:
During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
How do I do this in Labview programming for the following two situations?
a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
b) If I use the GPIB connection of the power meter. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
An other possibility would be to trigger the power meter directly, so it outputs constantly power meter values at ~40 Hz. How could I than acquire 1 power meter value (at a certain time im my sequence structure) via analog input at DAQ card or GPIB?
Additional questions:
How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
It would be very nice if somebody could give me some help.
Kind regards,
beam

Hi beam,
I just want to verify that I understand your situation correctly:
An external trigger signal (A) is wired to one of your input channels (e.g. CH0) to trigger data acquisition of a second channel (e.g. CH1). Your power meter is connected to an analog input channel, which you would like to trigger with a certain rising edge at some of your sequence structure.
Problem:
During a certain point in my data-acquisition sequence structure (defined by a frame), I want to use the next occuring analog trigger signal (A) to acquire 1 value from the power meter.
How do I do this in Labview programming for the following two situations?
a) If I connect the analog output from the power meter to an analog input channel of the 6036E DAQ card. The analog trigger (A) would be connected to a second analog input channel (In case the analog trigger signal (A) is changed to a TTL signal it would be connected to the PFI0/Trig input pin on the DAQ card).
If a task has been configured to acquire signal from one analog channel, it's not possible to run a second analog input task or to add a second channel on the fly. You had mentioned that it's possible to read from the instrument through GPIB. Is it possible to perform a software trigger such that at a certain frame of your structure, when the trigger signal A reaches voltage "x", a GPIB command is written to your power meter to query a measurement reading?
Additional questions:
How do I configure the PFI0/Trig pin on the 6036E DAQ board individually as an INPUT?
You do not need to explicitly configure the PFI0 line as an input. If you want to use it as an input such that it acts as an analog trigger, simply wire the trigger signal to this pin. When configuring the trigger in your software, specify PFI0 as the trigger source.
How do I use an analog trigger signal (A) as counting signal for a loop, or as an activation signal for a sequence structure which includes GPIB commands?
You can try using the Limit VI to find out when the trigger signal reaches a certain level, and count how many times this level is reached. Similarly, you can use this as the condition to execute GPIB commands.
Hope this helps,
Lesley

Similar Messages

  • I am searching a VI for AC acquisition with a PCMCIA DAQ card 6024E

    Hi,
    I am searching a VI for Alternativ Current acquisition with a PCMCIA DAQ card 6024E.
    I have tried several availble examples but they are unfortunately not compatible with this card.
    I am a beginner with Labview, as a consequence any help and support on that topic would be really appreciated.
    Thanks,
    Alban Cotard.

    I think you wann measure Alternating Current?!?
    what want you know, the period, amplitude, rms.....?
    e.g. use the "cycle average and rms.vi"  or  other  VI in this palett
    regards timo

  • Can I develop a data acquisition app without the DAQ card installed?

    I'm new to LabView.
    I would like to build a simple data acquisition app (graphical display and logging). I would prefer to build this on my desktop, and then install/run it on a laptop.
    I'm not sure how to work this as the DAQ card and driver are not installed on my desktop. Is there a (hopefully) simple way to configure a data source in labview so that the app will automatically (or at least easily) connect to the existing driver?
    At the end of the day I don't want to install the complete dev system on my cheap little laptop just for this one application.
    TIA,
    Michael

    yes you can develop an application without having a daq card installed. You still will use the same functions in labVIEW. If you are using labVIEW 6.1 they are under the data acquisition palette in the block diagram. If you are using LV7 there are now two types of data acquisition functions. Traditional NI Daq (before lv 7) and new Daq MX. The daq functions are under the NI Measurements palette in LV7. If you are new to LV I suggest you use the daq assistant on the bottom of the palette. This will allow you to easily configure what you want, the drawback is that you will need to use this on the computer that has the card. So try the traditionaly nidaq functions. They will allow you to develop without the card. hope this helps.
    BJD1613
    Lead Test Tools Development Engineer
    Philips Respironics
    Certified LV Architect / Instructor

  • Data acquisition with daq card 6533

    Hi all,
    i need to develop a c++ (visual studio .net, no measurement studio)
    program that performs data acquisition at a sampling rate of 10Khz
    using a windows xp laptop and the daq6533 card.
    The program must sample 8 digital signals. Each signal has a limited
    time duration, say a few seconds, and acquisition should start on the
    first rising edge of a signal, and terminate on user input. Browsing
    through the code provided with the driver, i found the examples in the
    cdio folder. It seems to me they almost do what i actually need.
    Unfortunately, many of the functions used there are not supported by
    the 6533 card, in particular the GPCTR_* family. I've read somewhere
    else that this card does not have an hardware counter, is that exact?
    I'm a beginner in this field, so i don't know what are possible alternative solution to my problem (if any).
    Thanks for any help.
    walter

    Thanks for your reply.
    I don't know actually whether i need to use counter-related functions. My problem is the following:
    I need to sample 8 digital signals with a frequency of 10khz. Every signal have a duration of a few seconds in time, and they come from sensors attached to a train's railway. Acquisition begins on the first rising edge of a signal (which coincide with the passage of the train), and end with user input (which should be after the train has passed).
    It would be of great help if you can point me to a relevant example, or give me some basic guidelines on our to proceed. If you need more information, please just ask.
    thank you very much.
    walter

  • 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

  • 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

  • Can we demodulate the signal recieved at DAQ card without using any hardware interface(by only using labview)?

    Hi all,
    Can we demodulate the signal recieved at DAQ card without using any hardware interface(by only using labview)? if yes then how? please give brief idea.
    Regards,
    Amit

    There is probably a way to do it, but it it may be easier to use an X-series board for the job.   They support a new counter capability for count reset on a digital edge without needing to be configured in encoder position mode.  I am not sure exactly how that feature's been implemented however, so maybe it won't make things easier after all.
    The plan based on the hoped-for behavior: 
    1. Configure an X-series counter for pulse generation based on "ticks" of your clock channel.
    2. Set both initial delay and low time to the critical # of ticks.
    3. Configure for count reset on a digital edge (if possible in pulse generation mode)
    4. Configure the count reset value to be the critical # (or possibly 1 less, if possible in pulse generation mode)
    5. If you want the output to remain high indefinitely, configure the counter task to use its own output as a
    pause trigger, and pause while high.
    The way pulse generation works is to preload a # of "low time" ticks into the count register.  Then every source edge will decrement the count.  When the count reaches terminal count (0), the counter's output is toggled (or can be configured to pulse).  The register is then loaded with the # of "high time" ticks and the process continues.
    You would be perpetually interrupting the count-down process as long as you got your triggers in time.  The count would keep getting reset to the # of low counts, keep decrementing toward 0 without reaching it, and so on.  If ever you did reach 0, the output state would toggle high, then the high state would prevent subsequent clock signals from decrementing the count.
    You can conceivably do a similar thing with a 6601, but I'm pretty sure you'd need 2 counters working together to get it working.
    -Kevin P

  • Can I get an Ipad with wifi and cellular but no contract with a carrier in the US?  I want to use it overseas in Africa with a local SIM card and use the cellular signal for all my internet.

    Can I get an Ipad with wifi and cellular but no contract with a carrier in the US?  I want to use it overseas in Africa with a local SIM card and use the cellular signal for all my internet. 

    Yes you can.  All Ipad's are unlocked and can be used any where in the world. Buy the AT&T version which is GSM in other countries

  • TC measurements with PXI 4351 DAQ Card

    (I am using version 6i of LabVIEW). I am trying to create a VI that will use a PXI 4351 Card with a TBX-68T to take 4 thermocouple continuous measurements. I am also acquiring 8 voltages with a 6030E and TBX-68 and writing them to a file. My voltage data acquisition is modeled after "Buffered Continuous Analog Input.vi" I would like to aquire voltages and temperatures in the same vi, but using different devices and accessories. (I need a higher frequency for the voltage acquisition, and more precision with the temperatures). Is there a subvi I can use to collect the temperature data in the same vi as my voltage? I don't want the thermocouple DAQ to interfere with the voltage DAQ, either.
    I tried the NI435x thermocouple.vi
    but I couldn't get the Built-in Cold Junction Sensor to work or figure out how to combine it with my exisiting voltage acquisition. I also got NaN for my readings, and I checked the wire connections in all the sub vi's as suggested by another solution.
    Any comments would be great. Thanks in advance.

    Claudia-
    Thanks for the response.
    Regarding the CJC- When I switch it on, the temperature readings I get are very random, roughly negative 1 degrees. (I am operating right now at room temperature, and will be using J-type TC's to measure ~43 degrees C). Also, when I use the built-in CJC, the aquisition rate seems to slow down considerably. When I use the "user specified" everything seems to be ok, including the aquisition rate.
    I measured the resitance of the Thermistor on the TBX-68T and it was about 5000 Ohms, as expected.
    Just to make sure: When using the TBX-68T, do I need to hard-wire a thermocouple to Channel 1/auto-zero and another to channel 0/CJC? Because I connected a TC to channel 0 right now, but I wasn't 100%
    sure.
    I've attached my main vi and two sub vi's that I am using for the voltage aquisition part of my project. (Note:the current measurements are just voltage measurements multiplied by the recipricol of the resistance it was measured across, ie. 10).
    I would like to keep this file as is because it writes to a file exactly the way I want it to. I'd like to have the temperature aquisition with the 4351 in the same vi as the 6030E so that they both stop and start at the same time. I am just not sure how and where to log the temperature data since there will be fewer data points than the voltage data. Any suggestions? Should I write two separate files? can I somehow append them?
    Thanks again. Hope to here from you soon.
    Attachments:
    EBlackMainDAQ.vi ‏107 KB
    Save_Data8.vi ‏45 KB
    Build_String_Array5.vi ‏33 KB

  • Data acquisition with highly accurate GPS time stamping (hh:mm:ss:sss UT)

    A research group has developed a data acquisition system dedicated to daily observations of solar phenomena at radio waves using high time resolution (5-100 ms).
    First, the analog signal from the antenna (1000-2500 MHz) is sent to a spectrum analyzer (HP8559-A). After that, the analog signal is digitized during 5 minutes in a NI USB-6009 device connected to the PC, before to be stored in a file. By that time, other acquisition data cycle is restarted and so on up to the end of day.
    However, we need timestamp (UTC) the solar data at the beginning and end of each sample of 5 milliseconds, during all acquisition process, in order to have the UTC time information of recorded solar events. So, a time resolution of at least 1 ms is required.
    A software permit us to read recorded data and visualize corresponding spectra during last 5 minutes. However, we need UTC time information in the format hh:mm:ss.sss UT. Then, UTC millisecond is important for us, but not available yet.
    To solve this problem, we are searching for a high accuracy timing GPS receiver (on the order of microseconds or nanoseconds), with at least three significant digits of precision (UT time in milliseconds) and which give us the UTC signal at least each 5 milliseconds or even better (1 ms). However, most GPS receivers only outputs 1 PPS (Pulse Per Second = 1000 millisecond).
    Then, we are open to a better addressing on how to solve this problem !!
    We know that GPS time synchronization with PXI-6608 can be used to precisely timestamp data acquisition, but we have to solve this problem with a lower cost. Also, we require a PCI interfacing instead of PXI.
    Do we have to use a timer card? How do we use a timer, GPS and USB-6009 to timestamp data acquisition? Does the NI PCI-6602 solve the problem?
    Obs:
    The data acquisition software was developed in C++ Builder to run on a PC (Pentium III 2 GHz) under Windows XP environment. We used the NI-DAQmxBase driver to sample the signal from the NI USB-6009.
    We are sure your expertise can help us on this matter.
    Regards,

    I better explain my problem in the thread How to timestamp continuous analog data acquisition using USB-6009 and GPS timing board?
    We are considering to use the PCI-1588 or a GPS timing board (low-profile slot too), but I´m not sure that the USB-6009 can be used to solve the problem.
    How to syncronize the data acquisition and timestamps using USB-6009 and PCI-1588 with external GPS?
    In other thread I would appreciate any suggestions for GPS timing board and PCI-1588 too.
    Regards,
    Lilian

  • 6534 DAQ card- i want to process continous stream of data....through DAQ card...

    I have NI -6534 DAQ card.i have continous stream of 16-bit parallel data. I use two port as input port .(16 bits parallel data), such that i recieve  12000 bytes per second in my card buffer.  i  use  DIO read.vi. then on this bunch of 12000 bytes, i do some processing and display a XY chart/waveform. 
    code structure is as follows:
    1) DIO config. vi
    2) DIO start. vi
    3) while loop
        {          DIO read.vi (reads 12000/or fixed number of bytes, inserts into an array )
                   Insert array.vi
                   while loop(this processes data till end of 12000 bytes,then stops)
                                      stacked sequence(this processes the 12000 bytes data, )
                                        (      seq 0: intialize counters,
                                                seq 1: extract some pre-defined bytes,convert and display on frontpanel
                                                seq 2: extract specified bunch of bytes, create  xy chart/waveform
                                 }(12000 bytes data ends)
         }(16-bit parallel data is unavaible/or user control stop)
    4)dio clear.vi
    the problem persceptable here is , that processing data takes time.. few seconds for processing bucnh of data..then goes back to DIO read to fetch new bunch of data. till then the front panel waveforms and digital displays are on hold/static.
    I want to process data simulatanouesly , and also being recieve in buffer through DAQ.real time processing.
    simulatanoeus aqcuuistion..and process on continous data rather than in bunch of data.(i.e. TWO vi. should run in paralell  DIO READ.vi acqusition...and process.. on that data(vi) )
    Can queue.vi slove this problem? any other method
    your help is greatly appreciated..Thanks.

    Hi,
    This is definitely something that can be solved using a producer consumer loop.  You would have two loops running in parallel, have all of your data acquisition/generation done in the producer loop.  Use queues to transfer all that data from the producer loop to the consumer loop and then do any kind of processing in your consumer loop.
    The producer and consumer loop will run in parallel, and the consumer loop cannot run faster that the producer loop.
    The good thing is that you can get a producer consumer template easily.  In the LabVIEW startup window, select New (not New VI) >> From Template >> Frameworks >>Desgin Patterns >> Producer/Consumer Design Pattern (Data).
    Hope that helps.
    Regards,
    Raajit L
    National Instruments

  • My 6036E DAQ Card is not running at its full refresh rate

    I am using a DAQ PCCARD on my desktop ( I have a PCMCIA to PCI converter). I am running NI-DAQ 7.2 and i am having trouble getting the card to run at its full refresh rate. If i set the card at a scan rate of 1000 and acquiring 100 samples at a time, i get an error that says ive reached the system and or bus limitations in Labwindows CVI. Does this mean that the PCI to PCMCIA Converter is not fast enough to keep up with this scan rate or is another problem?

    Assuming the DAQ card can sample at 100 kS/s, the problem is most likely the converter. The PCMCIA bus can transfer data at speeds up to 20 MB/s and the PCI bus, running at 133 MHz, can transfer data at speeds up to 1 GB/s. With this being said the PCI bus is much faster than the PCMCIA bus and will be able to handle the PCMCIA's slower transfer rate. The converter, however; will most likely introduce some latency in the transfer between the PCMCIA and PCI buses. This would result in the error seen when running at near the maximum sampling rate.

  • Frequency counter with E-Series DAQ Card

    I am trying to measure the frequency of a signal at 0.1 sec increments using a DAQCard-6062E and an AT-MIO-16E-10. I am using a VI from the examples (frequency counter.vi, in a while loop) which works well with the DAQCard, but it's giving wrong measurements with the AT-MIO card. Why is that?

    Hello Waw,
    Take a look at this KnowledgeBase to see if it fixes the problem.
    http://digital.ni.com/public.nsf/websearch/862567530005F09E8625681C0074935E?OpenDocument
    If not, what version of NI-DAQ do you have? Are you getting incorrect measurements with different ranges of frequencies? Is LabVIEW giving you any errors? Do any examples provide correct results with the AT-MIO-16E-10? Please let me know if you have any questions. Have a great day!
    Marni S.
    National Instruments

  • Mac G4 crashes using continuous generation with PCI-1200 DAQ card

    I've been trying to use a PCI-1200 DAQ card with a Mac G4 to create a continuous analog output signal. The problem is that the computer locks up after a while (a few minutes). I have been using the Generate Continuous Sine Wave vi, but the problem remains.
    I've tried slow signals (10Hz) and fast signals (2kHz) but the computer still seems to crash. I have no clue what is going on!

    bissdp,
    The first thing I would recommend is making sure you have the latest version of the driver:
    www.ni.com > Support > Drivers and Updates > Current Versions > Multifunction DAQ
    Another you could try is to determine what component is causing the computer to lock up. Use a process explorer utility to try to see what processes are locked up. A search in google might turn up utilities like this one: (http://www.clarkwoodsoftware.com/peekaboo/)
    Keep in mind heat or speed issues. It may sound funny, but you may want to try opening the computer case and making sure the board has enough air flow to keep it cool.
    These are just some ideas for now, I hope they help.
    Alejandro Asenjo
    Applications Engineer
    National Instruments

  • Satellite M100: Slow WLan data transfer with 3945ABG Intel Wlan card

    Have just popped a brand new M100 with XP upgraded to SP2 onto our network and am having trouble with the Wifi.
    Everything works, just really really slowly. Takes about 5 minutes to drag an MP3 off the file-server, web pages download at the speed of a dial-up modem and my beard doubles in length waiting for even a modest flash file to load.
    Have tried the following so far...
    - Speed is good on the ethernet cable, just not on the wifi.
    - Connection speed is good on the wifi (11Mbps) and signal strength is excellent.
    - All other laptops on the network are working fast
    - I have updated the drivers to the latest provided by intel, no change
    - I have applied all service packs and updates to XP (was a brand new box yesterday)
    - Disabling various modes on the driver make no difference
    - Switching off the QoS mode in the network panel doubled the trickle of data
    I see from earlier posts that I'm not the only one who has had this problem with the Intel 3945ABG chips, but I don't see a solution posted. Has anyone had success is solving this kind of problem.
    The data throughput is barely usable for internet access and quite inoperable for LAN filesharing or Skype.

    Sounds weird. If PCMCIA WLan card gives you good speed it means that there is nothing wrong with your Internet connection, just with built-in wlan card.
    You probably should use your warranty services or better yet to return it to the shop and get a new one straight away.
    In my country if something brakes within a few days after purchase you don't need to send it to repair under warranty because the shop usually agrees to replace it with new one if they have it in stock.
    There is one thing I think you better try: Take it to your friend who has wireless network or to the nearest free hot spot, connect to internet from there and see what speed you get.
    It could be, though longshot, that your router has compatibility issues with this specific built-in wlan card.
    For example I also have a slight compatibility issue between my d-link router and built-in intel wlan card, but it is about security protocols and not the speed.
    Overall it seems to me that this intel wlan card is not that good.

Maybe you are looking for

  • Adobe Premiere Pro CC 2014.1 won't open and crashes

    Hi all, I'm pretty desperate because I need to work on a project by my colleague (who works with Premiere, latest version)... but I just can't make my version even open. As soon as it starts firing up, it crashes. I used to have a working version (7.

  • Preview - How do I turn off the Auto Save?

    I recently updated my software to 10.8.2 and Preview is terrible when it comes to saving files. I regularly take a picture and change it to then copy the result without saving the file.  I recently learned that the programs been saving when I didn't

  • Re:Uploading of material master data using lsmw-idoc method

    Hi friends,             While processing each idoc  one log on window is opening,and status of idoc is 51,eventhough i am passing material description to maktx of e1maktm,it is showing an 'No description is passed'. Colud you please tell me how to co

  • Clean Install of Preloaded Windows 8 on HDD to SSD (MSI GX60)

    Good Morning Guys!  This is my first post here so I'll try my best to explain my problem / confusion coherently. I recently ordered a MSI GX60 off ExcaliberPC. I haven't gotten it yet but my plan is to install a new 2.5" Cosair Force 3 120 GB SSD mak

  • Batch changing a template

    I am trying to create a library of product specs for the products our company sells. The company is in the process of rebranding and hence all of the documentation needs to be produced on the current letterhead. How ever in a few months this will cha