Beginner Q: timebase signal and clock

What is the internal clock of DAQ MIO-16EX-50? Does it mean when you don't define your own clock, it will use the internal clcok to sample data? What is the rate of this internal clock?
I am contuing other people's Labview DAQ program. he used external clock, but not the same as the Labview example, he used "clock config vi", set clcok to "0", then input his clock source and alternate clock rate specification. I ask why he did this, why he didn't use PFI7/startscan to input his external clcok. He said because this is the timebased signal. I don't understand. What is the difference when you use PFI7/startscan as external clock (like the example of Cont Acq&Graph ExtScanClk.vi) and his program. Can anyone give me some idea?

May,
The DAQ device has two available internal timebases, 20 MHz and 100 kHz. When an internal scan clock (STARTSCAN) is used, the actual clock is derived by dividing-down one of these timebases. An external scan clock can also be provided (for example, from PFI 7). Additionally, an external scan clock timebase (SISOURCE) can be provided to derive the scan clock. The following KnowledgeBase discusses the use of an external timebase in greater detail:
How Do I Use SISOURCE as the External Timebase for the STARTSCAN Signal?
So, the difference between the two programs you have referenced is that one uses an external scan clock and the other u
ses an external scan clock timebase.
Good luck with your application.
Spencer S.

Similar Messages

  • Timebase signal to pfi 0 to 7 pin (register level)

    Hi,
    I wonder if someone can help me. I am using a PCI-6602 card as a counter/timer. I would like access to the internal timebase signal via a PFI pin so that I can use that clock to sync another device.
    I have just got off the phone with NI who were exceptionally helpful and said that it is possible to "route" a signal to the PFI pin.
    However, I am using register level programming (as I am in linux) and cannot find any information in the register level programming manual.
    Does anyone know how to do this? Or the register that needs to be set?
    Many thanks,
    Stuart

    Hi Stuart-
    Which Linux distribution are you using?  If it's one of the supported distros, I would recommend that you use NI-DAQmx 8.0 for Linux.  The functionality to route PFI signals is available in NI-DAQmx via the DAQmxExportSignal() and DAQmxConnectTerms()/DAQmxDisconnectTerms() functions.
    Hopefully this helps-
    EDIT: If you still need help with register-level programming, please repost your question in the DDK forum so that I can help you there.
    Message Edited by Tom W [DE] on 04-09-2008 03:47 PM
    Tom W
    National Instruments

  • Synchronous acquisition 4 analog signal and independently count TTL impulse

    Hello!
    I'm have NI DAQ board PXI-6115. I have problem:
    Need synchronous acquisition 4 analog signal and independently count TTL impulse. When value counter will, at example, 5000 acquisition must stop. I'm read program in LV 7.1 but have a problem.  In HELP write:"You can create only one counter input channel at a time with this VI because a task can contain only one counter input channel. To read from multiple counters simultaneously, use a separate task for each counter". I make two different task, but error not disappear.
    I don't know how escape this error?
    Program VI with Front panel screen-shot in attach archive.
    Message Edited by _Pavel_ on 05-23-2007 09:06 AM
    Attachments:
    Progr.zip ‏80 KB

    Hey Pavel,
    Thanks for contacting National Instruments support.  Your program, in it's current state, is attempting to generate a finite pule train and count edges on the same card.  Finite pulse generation is a two counter device, where one counter generates the pulse train and the other counter gates the generation, or goes high when the generation is to start and low when it is finishes.  So no matter which counter you select for the count edges task you will get the error you describe. 
    Is it possible to use the pulses that you are counting as an external clock?  If so then you could just generate 5000 pulses and you would only acquire 5000 samples. 
    I have attached a modified example from your code.
    Let me know what you think.  It only acquires 5000 samples as desired.
    Regards,
    Kenn North
    Senior Product Manager - Search, Product Data
    http://ni.com/search
    Attachments:
    Progr.vi ‏58 KB

  • System Generator and clock in co-simulation

    Hello,
    I did connected Nexys 4 board to system generator co-simulation. Board runs with co-simulation mode but really slowly. The fastest pulse is ca 1 ms and speed is not stable. That might be caused due usb speed.
    - How can I use boards own 100MHz clock from pin E3?
    - How to route clock signal to Xilinx block correctly?
    I would like to create SPI-controller and I need 5 MHz clock signal. I would like to give registers values to SPI controller from simulink and measure feedback values on simulink. I just don't understand how to implement real clock signal to xilinx block.
    I did made MCode block to serial and parallel conversion, but now I cannot get correct clock signals to real system. Plan was just first make an demo from boards own accelerometer. System generator settings are: FPGA clock 10 (ns), Simulink system period 1 (sec) and Clock pin location E3.
    What is going wrong? Any ideas?
    Antti

    Hi antti,
    Free running mode can be done only via JTAG and on any board (if the target device is supported by your ISE/Vivado license).
    If your board is not listed, then you have to create a new HW-Cosim target for sysgen.
    Actually this has to be done most of the time, since you have to define the I/Os (Pin locations) that your design will use.
    I wonder how you intend to simulate the interface activities like the mentioned SPI in your Matlab/simulink simulation Model.
    These are hard to predict and often only give an idealized result. So even if the normal HW-Cosimulation would be incredible fast you would see differences that could spoil the comparision between the simulation model and the actual hardware.
    But what you still can do is:
    Run your simulation first. Store the results.
    Then run your HW-Cosim in Free Running mode.
    Transfer the data you want to compare to the host system and do the comparision afterwards.
    Comparision of simulations with Data taken from actual running Hardware is always a challenge.
    Eitehr your simulation becomes very very complex, or the darn real physical stuff does behave quite unexpected, even if working correctly.
    The best approach is to concentrate on only a few interesting data points and analyze these isolated from timing behavior.
    For Interfaces there's also the possibility to implement OVL Checkers in the hardware. These check the proper interface activity in realtime in your design.
    Follow this link to learn more about it:
    http://accellera.org/activities/working-groups/ovl
    Have a nice synthesis
      Eilert
     

  • Check control signal and write in 1s, ignore control signal for the following 2s.

    I am new to Labview, recently I use DAQ to receive 2 channels, one is expected signal and another one is control signal. If the control signal is higher than threshold (rising edge), write expected data in 1s. Then, ignore the control signal in 2 second. The process is repeated. The attachment is my program but it doesn't work. I use flat sequence to do 2 consecutive tasks but cannot ignore the control signal.
    Any help is appreciate.  
    Attachments:
    Save data with control signal.vi ‏187 KB

    siva0182 wrote:
    Find attached the picture of the vi where I tried to put in timers.one in each of the frame and at the end added one more frame just to measure the time elapsed .
    The last frame and the frame with sourcemeter measurment show adifference of about 140 msec.
    Is there any way to improve the speed of this portion?
    Probably not.  It sounds like the Keithly VI is taking 140 msec.  You can try opening that up to see if there is anything in there that could be causing an unnecessary slowdown.  But trying to tighten it up too much may cause occasional errors (such as timeouts) in trying to get a response back. 
    But surprisingly I tried displaying the actual timer value at the start and at the start of sourcemeter read function ..but the display of both indicators is almost equal with little difference of only 10 msec.?????  I'm not sure which of the several timers you are referring to here.  What is the value going into the wait function between the VISA write and the Keithly VI?
    When you do benchmarking, the timer functions should be in a frame all by themselves.  Having it mixed with another function or VI causes a bit of uncertainty as to when the time was taken.  For instance, you dont' really know if the Keithly VI was started before the time was taken or after.  (The time was probably taken first, but without a data flow or sequence structure dependency, you can't be sure.)

  • Is it possible to have Clock in and clock out times in weekly view

    Hi,
    We have Daily View and Weekly View in Record Working Time iview in ESS.We can set the Clock in and Clock out times in Daily view if we check the With Clock Times checkbox in Data Entry Profile.But we want to have same Clock in and Clock out in Weekly view without any developement.
    If it not possible thru config how much will be the Development Effort
    Thanks
    Bala Duvvuri

    Siddharth,
    can you please elaborate this
    Thanks
    Bala Duvvuri

  • Is it possible to have clock in and clock out in weekly view

    Hi,
    We have Daily View and Weekly View in Record Working Time iview in ESS.We can set the Clock in and Clock out times in Daily view if we check the With Clock Times checkbox in Data Entry Profile.But we want to have same Clock in and Clock out in Weekly view without any developement.
    If it not possible thru config how much will be the Development Effort
    Thanks
    Bala Duvvuri

    Hi Bala
    You can have clock in and clock out in a weekly view.
    you have to change the data entry profile settings.
    In general settings tab in data entry profile click the with clock times button and maintain the Period type to 02 in time settings tab.
    And you can view the weekly entry in clock in and clock out.
    Ravee
    +91.99206.33669

  • Acquiring two signals and saving at a Table

    Good Morning,
    I'm new to LabVIEW, and I need help at a Data Acquisition. Let me explain it, so I hope you guys can help me.
    I need a graph, and a Table displaying two signals acquired at a Field Point conection: Pressure and Temperature.
    At this measurement, I need the VI to measure every five minutes, during one minute every measure.
    And I need to save the signals to '.txt'.
    I need the Table to save both signals, and a "cronometer', to keep in control of any existant difference in the signals, observing the exact time the signals changed, if it changes.
    Sorry for the bad English, I'm an aprentice, using the User of the Area's Supervisor.
    Thanks.

    Check out the examples that ship with LV you will find something to get you started. Then if you have specific problems we can help more.Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • HT1766 I lost my IPhone 4S this morning and want to increase my cloud storage so I can back it up when it finds a signal and then remotely erase it...I'm assuming the worst that whoever finds is will not callme or want to return the phone

    I lost my IPhone 4S this morning and want to increase my cloud storage so I can back it up when it finds a signal and then remotely erase it...I'm assuming the worst that whoever finds is will not call me or want to return the phone. I went to icloud but it only govers me options to increase storage from my iPhone or a synced computer (mac or PC).

    If the phone is offline there is no way to track it or send a message to it.  You can place it in lost mode to lock it and send it a message (see http://help.apple.com/icloud/#/mmfc0f0165), but this will not take place until the phone goes back online, if it ever does.  If it does, you will get an email informing you.
    You might want to read this: http://support.apple.com/kb/HT5668.

  • I have a macbook air and  and hdmi that i have used many times, but not all of a sudden the tv won't recognize the hdmi. The computer flashes when it is plugged into the hdmi but the tv says "no signal" and the airplay displays option says "no device"

    I have a macbook air and  and hdmi that i have used many times, but not all of a sudden the tv won't recognize the hdmi. The computer flashes when it is plugged into the hdmi but the tv says "no signal" and the airplay displays option says "no device detected" and the drop down bar is grey and locked.

    I have a macbook air and  and hdmi that i have used many times, but not all of a sudden the tv won't recognize the hdmi. The computer flashes when it is plugged into the hdmi but the tv says "no signal" and the airplay displays option says "no device detected" and the drop down bar is grey and locked.

  • HT3529 I have my imessage turned on and i have full WiFi signal and it still wont send as imessage. how do i fix this?

    i have my imessage turned on and have full WiFi signal and my imessage still wont work. how do i fiz this problem?

    Start here:
    http://support.apple.com/kb/ts2755

  • Ever since updating to ios6, my iPhone 4 has weak to no wifi signal and iMessage will not work, MMS stopped working, and I don't get my social network notifications on wifi unless I'm close tithe router or I catch a good signal from it.

    The update has completely screwed up my 4.. No more iMessage over WiFi, I have to hold my phone in the air sometimes to catch a signal and I never had to do that before, and after the update I can't send any pictures, over iMessage or 3G .. And with the weak signal I only get my notifications from apps when it wants to.. I'll be connected to wifi and using it, but won't get any notifications, or when I do.. Its whenever the signal has registered or my phone has authenticated it, I've had these problems since last year with no fix, I've reset my router countless times, I'm on Verizon and NEVER had wifi or imessage issues before ios6 .

    Make Genius Appointment and take your iPhone to the Apple Store. Only Genius can make these determinations. The broken screen voids your Warranty. The Genius could overlook this, you never know. Take your iPhone to Apple Store, hope for the best, but be prepared to pay $149 for Out of Warranty Replacement iPhone 4. A good price for replacement of an iPhone 4 with broken screen and WiFi problems.

  • Problem when combinning PWM signal and Analog signal TOGETHER!

    Hello everybody,
    first of all i have DAQmx 6212, and i need to run a small water pump (9V-16V) which needs to be driven by a PWM signal; also i have a motor (5V-13V) for a water valve that needs to be driven by a analog signal and it has a built in a force feedback potentiometer, i connected on the extremeties of this potentiometer +5V from the DAQmx and used the output voltage from the third extremety as a diagnose value for knowing the position of the motor.
    my VI shows:
    1. is a normal Counter output to create my PWMout signal.
    2. is an analog input i use it as a PWMin to the LabVIEW to diagnose what is happenning in my water pump through the duty cycle and the frequency.
    3. is an analog input from the third extremety of the potentiometer.
    4. is an analog output which i have used as a power supply for the motor valve and i have used an AC/DC amplifier to aplify the signal from the DAQmx and drive the motor, between (3. and 4.) i have made a feedback with some calculations i had a P-controller to know the actual position of the motor valve.
    My Problem:
    when putting 1. and 2. in the same VI alone, i am getting a clean PWM in/out with no problems mentioned;
    also when putting 3. and 4. in the same VI alone i can control the motor valve without any problems;
    but when i put all these 4 together as found in the attached VI, i have a problem that the motor valve is running continously without stopping even if i change the valve position between 0 and 100 %, i should mention that i am seeing a normal PWM out/in signal on my oscilloscope, one other thing that if i delete one of (1. or 2.)  and run the VI the motor valve is working fine without any problems.
    so this my problem, if you can think of any solution please let me know.
    thanks in advance for your help.
    Regards,
    Alosh
    Solved!
    Go to Solution.
    Attachments:
    pwm.out.in.analog.out.in.vi ‏45 KB

    Dear nathand thanks for your reply,
    i have ran the vi again and i am have error no 50103 from the (AI, number 3. )  but it is not displaying the error message, the VI keeps running without any error notification.
    adding to that,  i have tested the VI again today by placing (1. and 2.for the PWM inout) together in one VI and (3. and 4.for the motor valve) in another VI and ran them one after the other, i had another problem. if i turn the motor valve vi, the motor will run smoothly but in the pwm vi i will have a problem in which the AI did not read any value. also doing this vice versa by running the pwm vi first it will work perfect but the motor vi will have problem in reading the measured voltage in AI during this the motor will keep on running without stopping.
    so i think now the problem is in AI (2. and 3.) readings they are interfering on each other but i am not discovering where is my problem...
    Q: does the AI's seems well build or i can do it in an another way so to get over the interfering?
    Regards,
    Alosh

  • I have a ipad2 and I have no picture when its up only the apple signal and thinking icon. What do I do?

    I have an ipad 2 and I have no picture when its on right now I only have the apple signal and thinking icon. What do I do?

    First, try a system reset.  It cures many ills and it's quick, easy and harmless...
    Hold down the on/off switch and the Home button simultaneously until the screen blacks out or you see the Apple logo.  Ignore the "Slide to power off" text if it appears.  You will not lose any apps, data, music, movies, settings, etc.
    If the Reset doesn't work, try a Restore.  Note that it's nowhere near as quick as a Reset.  Connect via cable to the computer that you use for sync.  From iTunes, select the iPad/iPod and then select the Summary tab.  Follow directions for Restore and be sure to say "yes" to the backup.  You will be warned that all data (apps, music, movies, etc.) will be erased but, as the Restore finishes, you will be asked if you wish the contents of the backup to be copied to the iPad/iPod.  Again, say "yes."

  • Hello. When I connect my imac Start, as usual, comes the start signal and then the white screen with the load signal then nothing happens. What could be the problem?

    Hello. When I connect my imac Start, as usual, comes the start signal and then the white screen with the load signal then nothing happens. What could be the problem?

    Presuming you get the chime, most of your Mac hardware is working and has passed the first part of the power-on self-test.
    If the screen comes on, basic graphics is working.
    The dark gray Apple is not present inside the Mac -- it must be loaded from a boot device. If the dark gray Apple appears, at least one of your boot devices has some capabilities. The flower petal/gear moves while Darwin is initializing and loading. If it stops immediately, something is terribly wrong.
    When the screen turns blue, Mac OS X has loaded and your graphics card transitions to Interrupt-driven operation. LoginWindow task draws the login screen, and Mac OS X is ready for login.
    What could be the problem depends on where in the process it stops, and whether the power light is blinking.

Maybe you are looking for

  • Access to Attribute Type via Java API

    Hi, I'm writing an aplication in Java to access out OLAP schema and display certain DIMENSION/LEVEL and ATTRIBUTE values. This is working out really well but I'm hitting one issue at the moment which has me stumped. When I display a Dimension value i

  • Organization Structures For FI and CO

    Hi, Anyone can help me in this. Thanks & Regards Rajani

  • How to write multiline String in a JLabel

    How can i write a string that is shown in many lines in a JLabel. Or is there any orher way to write them? Also, similarly how to write tooltip text that spans across many lines. Not just one line

  • Invoice print preview

    hi all, i am working for transaction recpa520. in this transaction i seeing the print preview of invoice correspondence.i need to modify this script.for that ineed the script program name and standatd script name. there is no output message option in

  • Can't get a wireless signal on my new WRT54G

    I just bought and installed my WRT54G. I can get a great connection if I connect my laptop to the modem via Ethernet cable. However, when I try and go wireless I can get either a very low-no signal at all. My Dell Wireless card works fine in my offic