Use external clock (PFI2) with Traditional DAQ

Can figure out how to specify the external clock line (PFI2) while using Traditional DAQ (7.4.2f3).
Can anyone help?  TIA.
George
George Zou
http://webspace.webring.com/people/og/gtoolbox

I never used such a configuration but I found an example that will probably be helpful for your problem: it's named SCANsingleBufExtScan and you will find it in samples\daq\ai folder on your hard disk.
Proud to use LW/CVI from 3.1 on.
My contributions to the Developer Zone Community
If I have helped you, why not giving me a kudos?

Similar Messages

  • External clocking proble with NI-DAQ 6534 after driver upgrade

    Hello newsgroup,
    I've got a Problem with a pattern generation using the NI-DAQ 6534.
    I'm using it in 32 Bit Output mode with external clocking.
    After changing the PC and the OS from a P II 333 Mhz running Win98
    to a P 4 1,8 GHz running WinXP Pro the use of new drivers was nessasary,
    because the old driver doesen't work at all. The following problem occurs
    by using actual driver: Using my old programm external clocking doesen't
    work anymore, but internal clocking works fine. I'm using C++ not Labview.
    I'm not shure if this is the right newsgroup for my problem. If not please
    give me a hint were it belongs to.
    Regards
    Michael

    Michael:
    What version of NI DAQ did you have? What version did you upgrade to? Is your 6534 a PCI board or is it an AT/ISA based device? Have you changed your code at all? You code should be fully compatible with a new version of NI-DAQ... Please provide more exact details of the problem so I can help futher. Are you getting errors or is it just not working?
    Sincerely,
    Brooks B
    Applications Engineer
    National Instruments

  • Using external clock on a 6062E DAQ card

    In my application I need to use an external clock (2 MHZ) to sample 10 channels at 40 KHz each. I connected the external clock to PFI_7/Startscan, enabled the ND_IN_CHANNEL_CLOCK_TIMEBASE and ND_IN_SCAN_CLOCK_TIMEBASE using The Select_signal function. If I use only two channels (instead of 10) everything works fine. If I try to increase the number of channels to more than 2 I get a digitized waveform with points missing (one every 2). I tried to decrease the sampling rate to 4 KHz per channel, but the problem persisted. For 2 channels everything is always fine, but for more than 2 I get the same error in the digitization pattern.
    The relevant lines of my codes are attached
    Thank you for your help
    Enrico Gratt
    on
    Attachments:
    Sample_code.pas ‏3 KB

    Enrico,
    I have a couple of questions. Do you see the same amount of missing data regardless of how many channels (more than 2) you are acquiring? If you use the internal 20 MHz timebase, can you successfully acquire all 10 channels at 40 kHz?
    Spencer S.

  • How can I use external clock to implement a delay?

    Hi all,
      I am testing to use external clock to drive dev/PFI0 (on device 6711) which is used as the clock for the analog ouput. I have thinking two applications by using the external clock but I don't have much idea on the implementation yet.
    First of all, I have a sequence of data (array) with each sample being sent at the interval of 1us. I use an external clock (10MHz) driving the PFI0 so it is pretty easy to achieve that goal. I am thinking what happen if I want each sampel being sent at different time. For example, if I have 5 samples, I want the first one sent 1us after the task start and wait 2us to send the 2nd sample, wait 5us to send the 3rd sample and wait 11 us to send the 4th sample, and wait 1us to send the last sample. Is it possible to achieve that based on the external clock?
    Second question is about the delay. My code require ciritcal timing and the builtin delay doesn't behave very well because I am running in windows. I can increase the priority of the vi to highest, it helps a bit but still not perfect. I am thinking if it is possible to implement hardward delay based on the external clock. Any idea?

    Hello dragondriver,
    To answer your first question, yes you could send data in that fashion. You would have to programmatically build a pulse train and use that to trigger the sending of data. The answer to the second question is essentially the same. You should be able to programmatically build a pulse train with a delay and use it as trigger to begin whatever operation you have.
    Jonathan L.
    Applications Engineer
    National Instruments

  • PCIe-653x with traditional DAQ

    Hello,
    we want to upgrade some of our existing system with a PCIe-6536. Is it possible to run this card with traditional NIDAQ?
    Does anybody have experience with PCIe-653x with traditional DAQ. Or is it only possible to run this card with DAQmx?
    Greetings
    Oliver
    Solved!
    Go to Solution.

    Hi Oliver,
    PCIe boards are generally not supported by the old traditional DAQ driver.
    Anyway you should consider updating your application to DAQmx, as the trad. DAQ support is pretty limited (see also official statement from NI below)
    "Caution  Traditional NI-DAQ
    (Legacy) is an older driver with outdated application programming
    interfaces
    (APIs) for developing data acquisition, instrumentation, and control
    applications for older National Instruments DAQ devices. You should use
    Traditional NI-DAQ (Legacy) only in certain circumstances. Refer to the
    NI-DAQ Readme for an overview of the two NI-DAQ APIs, the
    advantages of
    NI-DAQmx, and more information about when to use Traditional NI-DAQ
    (Legacy),
    including a complete list of supported devices, operating systems,
    application
    software versions, and language versions. You can install the latest
    version of
    NI-DAQmx software, available at ni.com/downloads. 
    Regards,
    Bernd

  • Can you use external hard drives with the HP Omni 10 5600US

    Since this a Windows tablet, can you use external hard drives with the HP Omni 10 5600US?
    I know there is a micro-sd reader for additional storage but can you use the usb for external hard drives like a regular pc?
    I tried looking at the spec's for this tablet and it said the usb port was host only. I'm not sure what that means exactly.

    Yes you can.  You'll need to purchase a USB OTG (on-the-go) cable.  I recommend using a drive that has its own power supply but I've successfully used small USB powered drives also.

  • How to simutaneously use 2 PCI cards, one with traditional DAQ, the other with DAQmx?

    Hi,
    I am currently trying to debug a system that used to work.. but sadly isnt anymore
    A single computer contains 2 PCI cards (6110 & 6036E). The 6110 card is controlled by a fairly old software, programmed in labview, and hence, using Traditional NI-DAQ. The 6036e card is controlled by a more recent soft, programmed in LV as well but using DAQmx.
    the AI/AO of the 6110 card is only momentarily used (20 sec consecutively, every minute) while the 6036E card is continuously receiving and sending data on its AI/AO.
    Now the problem: the program that control the 6036E card freezes every time that the old prog access the 6110 card.. and then it works again perfectly until the next time that the 6110 card is used.
    So my question: how can I make those 2 cards work simultaneously?
    I dont think that it is because of the software nor because of the computer lack of memory/CPU if it used to work in the past. It might be about a wrong configuration of cards in the MAX but I couldnt find anything wrong there (no problem when accessing AI/AO of both cards through "test panel")
    Thank you very much for you help.

    That's what bugs me. The only thing that those 2 cards share is an AO of the 6110 connected to an AI of the 6036.
    For the rest, nothing is common. The 1st program only deal with device1, while the 2nd prog only access dev2. There shouldnt be any problem and everything is working fine separately. Hence, why I was wondering if the traditional daq and daqmx might conflict on a same computer.
    I just cant find out why the 2nd program controling the daqmx card just freeze everytime the 1st program access the traditional card. It actually doesnt freeze completly but becomes soooo slow, with about only 2 iterations of the main while loop during those 15-20 sec (instead of the normal 3-4000 iterations during such a period).
    The computer specs are a 2.2ghz proc for 1G of ram and running XP, so it should be ok.. even though the computer does slow a bit down when the 1st prog access the traditional card.

  • Want to use external clock for SCTL on myRIO

    Hi people,
    I'm trying to find a way to get a 2.5 MSPS 16-bit ADC, TI ADS1602, to send data to the myRIO device. Ideally, I want to record bits at 40 MHz in order to get the benefit of the full 2.5 MSPS. I know that I can create an 80 MHz SCTL on the FPGA to create a 40 MHz clock, but when I checked this clock signal on an oscilloscope it was obviously significantly degraded by slew rate limitations, so it looked more like a sine wave than a square wave. I doubt that it would work to use this signal as a clock to drive the ADC, since the ADC's specifications say the allowable jitter is around 100ps.
    I can use an external oscillator to drive the ADC, but then I have to find a way to sync that clock with the 40MHz FPGA clock. Is there any kind of PLL structure that would allow me to sync the myRIO FPGA clock to an external clock? Is there a way to make a single cycle timed loop be driven by an external clock? Or if I was able to customize the FPGA personality to accept an SPI signal of up to 40 MHz (ten times the officially supported limit...), would it be ok to use an FPGA loop running at ~160 MHz and tell it to sample the SPI line each loop and proceed from there? 
    Thanks!
    Solved!
    Go to Solution.

    Hi 3.14159... ,
    The myRIO does not have the ability to import a clock to use on the FPGA Block Diagram to clock single-cycle timed loops (SCTLs). The new sbRIO-9651 that just released at NI Week (not shipping yet) is the only sbRIO that has the ability to import an external clock into LabVIEW. Several of our FlexRIO products also have this ability.
    As you alluded to, you can sample the signal at twice the frequency (or possibly more) to and wait until an edge trigger to execute a certain piece of logic. If you open the Example Finder and navigate to Hardware Input and Output » R Series » FPGA Fundamentals » Triggers and Watchdog » Trigger Detection this gives a simple example of doing that. Again, since you are wanting to sample at 10x the supported frequency, all bets are off but it may be worth a try.
    Tannerite
    National Instruments

  • How can i use external hard drive with mac and pc!

    I've been using a Lacie external hard drive with my mac to keep the itunes library and other things since day one. Since i have a dvd with files for windows and an old pc without a dvd drive, i decided to copy and paste the content of the dvd to the external hard drive. The only problem now is that when i plug the external hard drive to pc, it won't open. I know it has to be formatted in a different way, but i need to find out the best solution!
    Any idea?

    You can format the external drive in Fat32 (which I don't recommend but is the most compatible between both platforms), or NTFS (which requires some work to get your Mac to recognize), or HFS+ (which requires special software on your PC so your PC can use it).
    If you use this drive mostly with your Mac, get MacDrive for your PC:
    http://www.mediafour.com/products/macdrive
    If you use this drive mostly with your PC, here's some software for you Mac. I haven't tried this myself, but the professional reviews have been good:
    http://www.paragon-software.com/home/ntfs-mac/

  • Can I acquire waveform at faster sampling rate using external clock?

    I am trying to acquire waveform at a sampling rate of 1MHz. My 6036E card is maxed out at 200KHz. Is there a way to achieve a sampling rate of 1MHz using an external sample clock? Your PFI pin can take external clock as an AI sample clock, right?

    Hi,
    I remember I asked the similar question before in the NI forum, they reply me:
    the max sample rate (scan/s/channel) cannot be greater than your board max sample rate, even you use external scan clcok. So the answer is no for your case.

  • Is the 6024E compatible with Traditional DAQ drivers?

    Will the traditional DAQ C commands work with this device?
    Thanks!!

    Yes, they will.  You can find this information in the ReadMe for Traditional DAQ v7.4.4 (the newest and final version).  It doesn't specify the C commands, but they work with the same hardware that the LabVIEW VIs do. 
    Mark E.
    National Instruments
    Schedule a Free 1-Hour online LabVIEW Tutorial with an NI Applications Engineer

  • Using external Pro Speakers with MacBook...?

    Is there a jack-pluc adapter af any sort that can enable me to use my 'Pro Speakers' with my MacBook?
    Any advice would be very much appreciated.

    These jacks are also common with mobile phones and dont cost more than a few dollars. A quick search on ebay shows
    http://search.ebay.com/search/search.dll?from=R40&_trksid=m37&satitle=2.5mmto+3.5mm+HeadphoneAdapter
    I have no affiliation with eBay or anything like that. But at least it gives you an idea of what they look like. I have a few of these for my various mobile phones.

  • Starting and stopping timer using external inputs interfaced with labview

    hello,
    I have trouble finding how to start and stop the timer using external voltage or current pulse. we are interfacing a circuit to labview. so for that we need to count the time it takes between the two external voltages. We have to keep on comparing the voltages to some reference voltage. And when the external voltage crosses the reference voltage we have to start the timer and again we have to stop the timer using tha same logic. We need it for time calculation between the triggers.
    hope you can help.

    https://decibel.ni.com/content/docs/DOC-23334 is agood example to start. You need to modify it to include stop trigger.

  • Using External Clock to write counter value to buffer

    Using CTR mode config which input controls at what frequency the counter value gets written to the buffer? How do I set it up so the counter value is written to the buffer at the same time Anologue inputs are written to a buffer, without using the other counter.

    Hello,
    Could you please explain what type of counter operation are you interested in doing? That would help me in suggesting something.
    But if I roughly understand what you are saying here, you can use a same clock to provide as scan clock for analog input and then use that clock for the counter. But depending on what counter operation you are trying to do will decide whether that clock be provided as source or Gate.
    You may take a look at examples provided at the following location too :
    Measurement Hardware
    Sincerely
    Sastry V
    Applications Engineer
    National Instruments

  • Using External Boot Drive with New Intel Mac Mini

    I have a 1st Gen MacMini and use an external 7200 RPM Lacie drive as the system boot drive along with all the applications.
    If I were to purchase a new Intel Mac Mini, is it possible to use the current external drive as the system drive or is there some conversion steps that would be necessary ?
    Thank you.

    You can use the hardware, but will have to repartition and reinstall the OS from the disk shipped with the new Mac Mini.
    http://docs.info.apple.com/article.html?artnum=303220
    If you create a disk image of the Lacie on your Mini, you can later use setup assistant to restore users and applications from that image.

Maybe you are looking for

  • Safari 6.0.2 keeps crashing on 10.7.5

    My Safari 6.0.2 keeps crashing all the time. I'm using Macbook Pro with OS 10.7.5. All softwares are up to date, cache emptied, still problem occurs. Could somebody help? Thanks! Here is the last crashreport: Process:         WebProcess [63550] Path:

  • Document in Multiple curriencies

    Hi gurus, i need to know if there is a way to display a document in a currency of our choice which is other than the local currency and the document currency... suppose local currency = SAR document currency = USD and i want to the display document u

  • Report on Packing

    Hi all, I am looking for a way to report on Handling Units pe shipmnet, and material lines per handling unit along with the User ID that created the handling unit.  Seems all other aspects of LE there is some way to determine a line/hour effeciency r

  • Java DB like logging via oracle auditing?

    Please help me, i'm new to oracle and don't know how to achive my goal. In derby my log files presents me all the information i need for researching purposes. The same can be achived via auditing in oracle i guess. So my starting point is: I activate

  • Datasource connection failing with error "Cannot open resource"

    Hi All, I have created a datsource in VA with JDBC 1.X driver type for a SQL Server. However, now when I try to connect to the datasource from an udf in the Message Mapping, I am getting the below error: Error: com.sap.engine.services.dbpool.exceptio