LabVIEW: how to route time base to counter source using 6602.

How do I route the 80Mhz internal time base on a 6602 card, to the source of any counter using LabVIEW? I can only see the option for an external time base, and drop down from source only allows me to select source pins or RTSI lines? I am using the DAQ Assistant!!Message Edited by ddudge12 on 06-08-2005 09:37 AM

ddudge12,
I haven't ever really used DAQ Assistant, but I *think* that the drop-down menu you mentioned is for selecting the Sampling clock, which is different than the counter Source. There doesn't appear to be a way to select a source signal in the DAQ Assistant -- it seems to expect you to wire a signal to the counter's default Source pin.
You'll need to use a DAQmx Channel property node to select the 80 MHz timebase as a source. Attached is a screenshot of a very simple example that will count up as high as a 32-bit int can go, rollover to 0 and continue counting up, etc. It'll take a little less than a minute to rollover if all is working correctly.
-Kevin P.
Attachments:
80MHz Source.gif ‏6 KB

Similar Messages

  • How to remove time zone offset when we use a number as a relative time variable?

    Hi everyone!
    I've a small doubt in using a number as a relative time. If I change the display properties of a numeric to relative time, it takes default value "5:30 AM", may be because I'd set time zone to Indian time during installation ( India is 5:30 hours ahead of Greenwhich). I want it to take default value "12:00 AM'. Please help me how I do it?
    ( I can also subtract 5:30 hours and get the same. But I want that to have "12:00 AM" by default......?!)
    Thank you all..!
    pavamana

    pavamana_pk wrote:
    Hi everyone!
    I've a small doubt in using a number as a relative time. If I change the display properties of a numeric to relative time, it takes default value "5:30 AM"
    As Ravens already stated, you are using ABSOLUTE time.  Relative time can only be set to display hours, minutes, and/or seconds.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • How to route Quadrature Encoder signal to CC1 using PCIe 1429 + IO extension card

    Hi there,
    i am currently trying to interface the Basler L304kc to the NI PCIe 1429 + Cameralink IO extension board
    I want to operate the camera in Ex-SYNC level controlled mode. I would like to route external Quadrature Encoder signals (connected to the IO extension board) to the CC1 cameralink control of the camera
    Currently, I cannot find this option either in MAX or the Camera File Generator.The L304kc camera file only provides pre-defined pulses, or MAX only offers "External","ISO","RSTI" options for the CC1 sources.
    Is it possible to route the encoder signal from the IO extension board directly to the CC1 of the camera? Or is there a work-around?
    Thanks!
    Derek Chan
    Application Engineer
    Basler Asia Pte Ltd

    Hi Alex,
    I posted the following (similar) text to the support center but I think it is of common interest:
    A) CL-card with ext. board. One can use the ISO, ext. and RS422 encoder inputs and also output cannels ISO and external.
    There is also a SMB connector corresponding to the ext. channel 0.
    B) with MAX one can define what kind of signals should be routed to CC1 to CC4. As I learned from
    this side one cannot use MAX or the Camera File generator but has to do this manually in order to use RS422 encoder triggering!!!
    C) on the other side there exists function to route and control signals explicitely, for example
    * imgSessionLineTrigSource2 -> what is this good for then? All your manuals are saying that this is done in MAX or the camera file by defining what signal drives the correspondung CC ine?? On the other side there is an example in CVI that does not work ("Trigger Each Line From Encoder") (at least it does not work with the PCIe1430).
    D) Can one implement the CC routing from MAX or the camera file manually with the following functions
    * imgSessionLineTrigSource2
    * imgPulseCreate2
    * imgSessionTriggerDrive2
    or does MAX use hidden functions ore mechanism to control the CL Cards?
    E) I can use one single line to setup scaled encoder triggering
    * imgSessionLineTrigSource2(iLS_ZK1_SessionID, IMG_SIGNAL_SCALED_ENCODER, 0, IMG_TRIG_POLAR_ACTIVEH, 0);
    but this only starts to work if I reset the encoder position to zero by sending this to the CL card, i.e.
    * imgEncoderResetPosition(SessionID);
    AND only in positive counting direction!
     If I just run though the zero position without a position reset I do not get ExSync on CC1????
    Is the information where to route the Scaled encoder to coming from the camera file? Why cannot I simply and explicitely route the scaled encoder
    signal to a certain CC line? Why using all those different approaches?
    F) now if in addition to E) i use
    * imgSessionTriggerDrive2(iLS_ZK1_SessionID, IMG_SIGNAL_EXTERNAL, 0, IMG_TRIG_POLAR_ACTIVEH, IMG_TRIG_DRIVE_SCALED_ENCODER);
    to drive ext. 0 (SMB connector) I can see exactly this behavior on the scope. No signal until I reset the encoder counter. Then I get signals as long as the image sequence is running. After the recording the signal disappears.
    kind regards, Holger h.baur(at)ivisso.com

  • How can i change the WSH counts by using ud32

    I want to dynamically change the min and max WSH count, but i get the following error:
    TA_STATUS       LIBTMIB_CAT:147: ERROR: Permissions violation on SET request.
    My ubb file:
    *SERVERS
    WSL SRVGRP=GROUP1 SRVID=20 CLOPT="-A -- -n //192.168.135.211:6666 -m 3 -M 5 -x 5"
    My ud32 script file which is named update_wsl.ud :
    SRVCNM .TMIB
    TA_OPERATION SET
    TA_CLASS T_WSL
    TA_SRVGRP GROUP1
    TA_SRVID 20
    TA_MINHANDLERS 5
    TA_MAXHANDLERS 10
    comand:
    [tuxedo@tdy218 simpapp]$ ud32 -C tpsysadm < update_wsl.ud
    SENT pkt(1) is :
    TA_MAXHANDLERS 10
    TA_MINHANDLERS 5
    TA_SRVID 20
    SRVCNM .TMIB
    TA_CLASS T_WSL
    TA_OPERATION SET
    TA_SRVGRP GROUP1
    CMDTUX_CAT:994: ERROR: Reply failure - TPESVCFAIL - application level service failure
    TA_BADFLD 33560898
    TA_ERROR -5
    TA_MAXHANDLERS 10
    TA_MINHANDLERS 5
    TA_SRVID 20
    SRVCNM .TMIB
    TA_CLASS T_WSL
    TA_OPERATION SET
    TA_STATUS LIBTMIB_CAT:147: ERROR: Permissions violation on SET request
    TA_SRVGRP GROUP1
    Permissions
    TA_MINHANDLERS rwxr-xr--
    TA_MAXHANDLERS rw-r--r--
    [tuxedo@tdy218 simpapp]$ tmadmin -v
    INFO: Oracle Tuxedo, Version 10.3.0.0, 32-bit, Patch Level 070
    [tuxedo@tdy218 simpapp]$ more /etc/redhat-release
    Red Hat Enterprise Linux Server release 5.4 (Tikanga)
    [tuxedo@tdy218 simpapp]$ uname -a
    Linux tdy218 2.6.18-164.el5 #1 SMP Tue Aug 18 15:51:54 EDT 2009 i686 i686 i386 GNU/Linux
    Why? Does any on know ?

    Hi,
    Can you share the solution so if others have need to do something similar they might be able to find the answer here?
    Thanks,
    Todd Little
    Oracle Tuxedo Chief Architect

  • How to get the Definition from a source using WSIF

    Hi All,
    Definition def = WSIFUtils.getDefinitionFromLocation("http://bingweb.binghamton.edu/~npandya1/nirav/"
    , "GlobalWeather.wsdl");
    but its giving me an error:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
    at org.apache.wsif.logging.Trc.<clinit>(Unknown Source)
    at org.apache.wsif.util.WSIFUtils.getDefinitionFromLocation(Unknown Source)
    at Grid.WSIF.invoke(WSIF.java:98)
    Could anyone please tell me what are the actual parameters of the function
    getDefinitionFromLocation()
    what should be the contextURL be and location
    Thanks
    Nirav

    Check this example on Pipelinedfunction

  • Time Base / Carry Forward / Copy Last years balances

    Hi Experts,
    Can anyone throw light on how would the TIME=BASE function as used in the script below help in carry forward ?
    Is the below syntax correct ?
    *XDIM_MEMBERSET DATASRC=%MyDataSrc%
    *XDIM_MEMBERSET TIME=BASE,%TIME_SET%
    *XDIM_MEMBER ACCTDETAIL=%TFCLO% TO %TFBEG%
       *WHEN TIME
       *IS BASE
          *WHEN ACCOUNT.ACCTYPE
          *IS "AST","LEQ"
             *REC(TIME="%TIME_SET%")
          *ENDWHEN
       *ENDWHEN
    *COMMIT
    Regards,
    Pankti Shroff

    Hi
    I am also facing an issue with this script in 7.0 version.
    I am trying to arrive at the difference if 2 dparent account (Current accounts ) for Cash flow analysis by using the below script
    *XDIM_MEMBERSET measures = YTD
    *XDIM_MEMBERSET CATEGORY = ACTUAL
    *XDIM_MEMBERSET ACCOUNTL =<ALL>
    *CALC_DUMMY_ORG ACCOUNTL=PARENTH1
    *WHEN ACCOUNTL
    *IS #211
    *REC(EXPRESSION=-GET(ACCOUNTL="#211",TIME=BASE)+%VALUE%,ACCOUNTL="CF_0015",ACCTDETAIL="F_NONE",DATASRC="INPUT")
    *ENDWHEN
    *COMMIT
    This does not pick up any value as available in Mar'08 (prev year -- i have Apr to Mar as the accounting year)
    Pl let me know if there is some error on this script logics and how can i best work it out
    Regards
    Manoj

  • How do I generate two finite pulse trains using counters on PXI-6251

    I'm trying to use Counter 0 and Counter 1 on the PXI-6251 to generate two finite pulse trains.  But, I get this error:   "The specified resource is reserved. The operation could not be completed as specified."  See attached example.
    Inside the disabled box is what I'd like to run on both counters.  I stripped things down to creating the task, starting, and stopping.  I then started to add things to see what my problem was.  The timing VI seems to be what causes me issues but I don't know why. 
    My end objective is two identical pulse trains with one delayed by 5us, which I figured would be easy to do in the initial delay.  I tried both in a single task and as separate tasks with no avail.
    Attachments:
    2_counter_outputs.vi ‏32 KB

    Hi SirMutt,
    Creating a finite pulse train requires
    two counters. What’s really happening is that one counter is creating a
    continuous pulse train while the other counter applies a finite pulse to “window”
    the pulse.
    What you want to do is correlated DIO. I’ve
    done a search on our website for “correlated DIO” and have come up with a few
    resources. Hopefully that will help you get started.
    Digital Output and Pulse Generation
    Performing Correlated Digital IO with an M Series Device in LabVIEW
    M Series Hardware-Time DIO with Counter Clock Generation
    Mark E.
    Precision DC Product Support Engineer
    National Instruments
    Digital Multimeters (DMMs) and LCR Meters
    Programmable Power Supplies and Source Measure Units

  • How do you convert the encoder counts to RMP of the motor using a myRIO in LabVIEW?

    My intent is to gain hardware interfacing and general Labview experience. I am using a myRIO to control a Pittman 8222 34V Brushed DC motor (Motor Specs).
    I recently created a code to control the angle of this motor using PID, which was visually implemented using the black disc with a white tick mark on it (see attached picture: "IMG_2523"). 
    I now want to control the speed of this motor againg using PID, but I am not sure how to properly convert the encoder counts to RPM of this motor. I have attached 2 screen shots of my block diagram and my front panel for reference ("Capture" and "Capture2"). In the front panel picture, you can see my "actual" speed of the motor is a very choppy signal when it should theoretically be a flat line. To get the RPM, I currently use a shift register to store the current count value (which I converted to deg, then to radians), and then subtract the previous run's value, then divide by the while loop sampling time (10 ms). This would give me rad/s, which I then wrote a subVI to convert it to rpm. 
    Any help would be greatly appreciated, thanks. 

    Hi,
    One thing you could try doing is verifying that the conversion from rad/s to rpm is working correctly. 
    This tutorial might also be helpful. It's not using the same hardware that you are, but goes through the general steps using PID control. 
    CompactRIO Motor Control Basics Tutorial: http://www.ni.com/pdf/labview/us/compactrio_motor_control_basics.pdf
     

  • How to set up router as base station

    Hi -
    I've recently purchased an Airport Express for the purpose of playing music from iTunes on my stereo. I've plugged the AE into my wall outlet and hooked up cables to my stereo. The AE is now flashing amber, which I understand means that I still need to establish a connection to a network.
    Because my desktop uses a DSL internet connection, I acquired and set up a Netgear wireless router. My goal is to have my AE (as client) communicate with my router (as base station) wirelessly.
    I tried using Airport Express Setup Assistant, but it scans for a base station and tells me it can't find one.
    When I try using the Base Station Chooser on the Airport Admin Utility, it asks for the IP address and password of my base station. This presupposes that I know how to set up a base station.
    Can anyone help me set up my router as a base station?
    Thanks
    John

    When I open up Network Connections, I do not see any
    reference to a wireless network. When Netgear
    configured my router, did they necessarily set up a
    wireless network? If so, how do I find it?
    The Netgear is either configured by the supplied Netgear configuration utility or via a web browser.
    Check the manual on how to do this.
    Also, when I open Airport Setup Assistant, I receive
    an error message stating that my computer has no
    wireless interface enabled or Windows isn't set up to
    manage wireless networks.
    In this can you will need to use the Airport Admin Utility rather than the Setup Assistant.
    It tells me to either
    enable the wireless interface and allow Windows to
    configure a wireless network, or to configure the
    base station using Ethernet.
    Which of these options
    should I be pursuing?
    Using ethernet, plug the Airport initially into the Netgear router.

  • How to send data to labview code at run time while using with (or executing the sequence)the teststand

    Hello
    I am new to the Teststand.
    I am using labview8.0 with teststand 3.1
    I have developed some labview codemodules as vi's without using the teststand utility library pallete
    Now i have to run them in teststand.
    While executing them(as a sequence) in teststand,i need to enter the data to the labview code at run time.For this labview front panel should appear as GUI or popup (while executing).Is it possible to do this without using teststand pallete.
    or i need to change the code with teststand pallete(i think it is difficult now to change the code)
    Plz provide a solution to this problem
    Also one more,how and where to use the 'pass by reference' option
    Thanks and Regards
      Mudigondla

    Hi,
    see your other post http://forums.ni.com/ni/board/message?board.id=330&message.id=13914
    Also, you can, specify to display the front panel of your VI when you specify your VI in your sequence file.
    There are examples, for dialog panel using LabVIEW, in the examples folder of TestStand and on the NI Web Site.
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How to call a stored procedure on time basis with out using sql job and GOTO

    Hi,
       I wanted to call a stored proc, on time basis ,
    please tel me how it can be done with out using sql job , goto .
    1) That is, is there any timer aviable in sqlserver.
    q2) And which one is better GOTO or sql job.
    yours sincerley

    Raj, Check if my explanation helps you:
    Your job runs every 10 seconds.
    Lets say first time you are scheduling and running your job at 12:00:00 PM
    Now your proc will start executing.
    Say it got finished at 12:00:07.
    Now the next schedule time is 12:00:10 PM.
    The moment this time hits, the job will get invoked and start executing the proc.
    Lets say this time it finished at 12:00:22 PM (It took 2 extra seconds)
    This time the scheduled time is already gone (12:00:20 PM), thus it'll now run at the next schedule that is 12:00:30 PM.
    Thus if anytime your job takes more than 10 seconds to run, it'll just miss those particular schedules overlapping with execution time. Otherwise you are good to go. 
    PS: A job is the best way to handle this, in your problem statement you don't need a job but that would be wrong. You have another way to do that, if you keep running your procedure all the time and the moment your timestamp hits a multiple of 10
    seconds you can run your logic and then returning to the timer. But this is extremely wrong for a system. Even if your requirement is extremely transactional and complex, I would not suggest this. If the job is taking more than 10seconds (which it might if
    your logics inside are complex), you should optimize your code and table architecture.
    Chaos isn’t a pit. Chaos is a ladder. Many who try to climb it fail and never get to try again. The fall breaks them. And some are given a chance to climb, but they refuse. They cling to the realm, or the gods, or love. Illusions. Only the ladder is real.
    The climb is all there is.

  • How to add Time Capsule to a Telewell ASDL Router

    I tried to connect Time Capsule (2 TB a bit older model) to a Telewell ASDL Router and then run Time Machine through WiFi to Time Capsule. However, the only way I was able to make it work was to plug Time Capsule to the MacBook with an ethernet cable. When I tried to plug Time Capsule to the Telewell Router (with an ethernet cable) the internet connection of the router got disconnected. So I believe I am asking how to connect Time Capsule to the router, and if I need to do something in addition (i.e. is is possible to run two WLANs - the one from Telewell and the other from Time Capsule simultaneously?).
    Thanks for your help!
    Matti

    Put the TC in bridge mode and plug it into the Modem.. it will work fine if you set it up before you plug it in.. I have given extremely detailed instructions here..
    https://discussions.apple.com/thread/5703308?tstart=0
    Are you really using Snow Leopard?? If so the manual setup from 5.6 utility is a bit different but the overall information is still correct..
    You can run two different WLANs without issues.. you must setup the TC to create a wireless network anyway.. do not try to extend or join the modems' wireless .. that is wrong.
    It has to be plugged into the modem by ethernet.

  • How to setup TIme capsule with a DSL router step by step?

    Hi All,
    Does anyone know how to conncet Time Capsule set by step through a DSL router?
    I already have a DSL router, but want to connect my time capsule to that router.
    Do i connect it through ethernet?, and is it possible to have my time capsule as a different router at home with a different password than the DSL router?, if so how is that possible?, is going to have the same download/upload speed as the DSL router?
    Please help, thanks

    You simply bridge the TC.
    Plug it by ethernet into the adsl modem router and it will work fine.
    nd is it possible to have my time capsule as a different router at home with a different password than the DSL router?,
    No, the TC will cause trouble if you set it up as a router.. it has to be bridged. You only have a single adsl connection but there are some ISP that allow a secondary pppoe login and some modems that allow it. It is pretty difficult setup. Ask your ISP as there is often a charge that is very high for the second connection. It will still share the same link so there is no improvement in speed, merely two different authentications sharing the same line. The TC can do pppoe client but has nothing very fancy about it.

  • How to measure time in labview?

    Hello,
    I am using PCI-DAS card for Analog Input and Digital Output.
    In the Analog Input for the voltage measurement labview takes near
    about 1 second.But i want to reduce that time...means it has to take
    one reading only in some miliseconds and there is no loops nothing
    complicated just simple functions r there and as i run the vi it shows
    one voltage reading.
    I dont know how to reduce time period in this case.
    And another thing is that i am saying this 1 second as per my
    watch.but i want Labview itself shows the total time taken for the
    execution.
    Anybody knows about it please mail me and post the answer.
    Thanking You
    Safdar...

    In general AI, attached example should work (i.e. 6025E).
    This is however, an example for your reference only.
    Best regards
    ian
    Ian F
    Since LabVIEW 5.1... 7.1.1... 2009, 2010
    依恩与LabVIEW
    LVVILIB.blogspot.com
    Attachments:
    example_AI_20041110.vi ‏51 KB

  • How to route the file, base on the file name without touching file content?

    Hi All,
    can you please provide me solution how to route the file based on file name with out touching file content.
    Business criteria :
    > One source directory having zip files with different file names
    > File adapter have to pick the zip files and have to route it to different email addresses based on fist 5 characters of file name.
    please provide possible solutions to route the zip files to target.
    Regards,
    Sreeramulu Konjeti.

    You can use Standard context object FILENAME.
    in receiver determination Put a condition based on standard context object FileNAME
    In the receiver determination, in the condition channel, use the Technical context object 'FileName' for file adapter.
    Follow the below path:
    Goto Receiver Detrmination --> Condition --> Left Operand f1 Help --> select first option 'Context Object' --> 1 List will be popped up --> Select FileName for File adapter from that list
    It will route the file based on filename.
    You can use CP for contains pattern (u2248) in condition
    FileNAME u2248  ABCFI*

Maybe you are looking for

  • New Macbook Pro, no MPEG-2 playback?

    My new Intel MacBook is running 10.4.1. I transferred information from my old Mac (which was a G5 running 10.3.9). My Quicktime Pro didn't seem to work correctly, so I reinstalled it and put in my Quicktime Pro 7 key. Everything seems fine -- it appe

  • ALE in same system.

    Hi All, Is it not able to execute ALE in the same system but in different clients. I tried it but there is some probelm with the IDocs passed. I do the configuration in client X in the same system with multiple clients. Since ALE configuration is cro

  • SQL QUERY IN JSP PAGE

    Dear Friends, There is a table named as EXPENSES having fields as sl_no, name. I want to find the MAXIMUM value of the sl_no. For that i am using the query as " SELECT MAX(sl_no) FROM EXPENSES " In JSP file my code is ...................... ResultSet

  • Help with LaserJet 1022 - Mac OS X

    Please can someone help? I have been using the beloved 1022 for years now, and have managed to keep it going with Gutenprint etc. But a few days ago it started printing blank. All the drivers I can find online don't get it working.  I've tried it on

  • Significance of Partitions in sensor imaging

    What are these partitions, how do they differ?? a) Application Partition b) Recovery Partition c) System Images.