Change clock frequency in PCI 7334

Hi ,
   I'm using a PCI 7334 stepper motor controller. The default clock is 10 KHz, but I would like to reduce it to 100 Hz or less.
I'm using LabView 8 and  the example .vi like 
One-Axis Find Reference with Status Monitor.vi or
Simple One-Axis Move.vi
I can't find how to change the clock frequency. Anybody can help ?
Many thanks.
Paola

Hi,
I think you have to change the velocity using Load velocity function.
You can find an example in the One Axis.llb > One-Axis Move (Accel- max Vel - Decel).vi in which is used Load Velocity in RPM.flx.
If you want to specify Steps/sec you have to use the Load Velocity.flx function (as you can see from the help the default value is 10000steps/s).
Best regards
AmbuA

Similar Messages

  • Confused about the 'cpu fsb clock frequency' setting, etc., in cell in bios

    just got a new k8n neo2-f nforce3 board with an a64 3500+ venice chip.  It is properly recognized in the bios and windows as an a64 3500+ at 2.2ghz, but I'm confused about the cell menu settings in the bios. I see a 'cpu fsb clock frequency' which was automatically set at 200mhz, but the fsb runs at 1Ghz (1000mhz), so what is the 'fsb clock frequency' if not equal to the cpu fsb?  Is 200 the correct setting for that?  Should I need to change any of the other settings in here?  I wonder, because my 3dmark03 score only went up 200 points from the same system with a AthlonXP 2500+ chip and kt4avl mobo, which seems like a low increase to me.....

    I would set that to Manual in BIOS, so that you can incremently increase the CPU speed without causing a sudden crash. Each system is different and operates within the specs of not only the CPU, but system memory and PCI-E add-ins as well. Your video card is the primary driver behgind your 3DMark scores...but you haven't listed that?!

  • How to avoid delay during analog output generation by changing its frequency?

    Windows XP
    LabVIEW 7.1
    PCI-6036E + BNC-2120
    Hi,
    I am going to create a vi to generate an engine speed sensor signal (a simple square wave with specific missed pulses, in my case 58 pulses “teeth” and 2 missed pulses “missed teeth”) as an analog output but in addition give me the opportunity to control parameters for example frequency online to simulate the engine speed changes during running that vi. For this purpose I have started with “Continuous Generation.vi” which is available in NI Example Finder under the following path:
    Hardware Input and Output > Traditional DAQ > Analog Output > Continuous Generation.vi
    Then I modified it towards above mentioned goal, all related vi s are attached. The main vi is: "Motor Signal Generator_1.12.vi"
    At the first try it looks that it works properly but when have a look on that more accurately with Oscilloscope (fortunately I have a good one: Agilent 54621A – 60 MHz, 200 Ms/s) obviously there is a gap (delay or Jitter) whenever I change the engine speed. It is also attached in Signal generation_problem report.doc file.
    Note: Small gaps are OK and related to predefined missed teeth but the big one is happened during changing engine speed.
    As far as I understand it is related to the time which case structure in AO C-GEN sub-vi needs for AO reconfiguration each time after changing the engine speed (update rate). How can I get rid of this delay or gap during signal generation and generating completely continuous signal?
    I have to mention that obviously I changed the frequency by changing the update rate. The other possibility is to change the number of updates in one period (refer to "generate arb frequency.vi" in NI site: http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E48F56A4E034080020E74861) which resulted in no delay however then I can not change the frequency continuously but step by step (for example jump from 5Khz to 2.5KHz immediately) and this can not pass to my application.
    Any hint is appreciated.
    regards
    Attachments:
    Signal_generation_NIsupport.zip ‏81 KB

    Hi Roozbeh,
    The following example will allow you to vary the pulse train frequency during run time.
    Thanks,
    Lesley Y.
    Attachments:
    GenDigPulseTrain-ChangingSpecs.vi ‏75 KB

  • How to change the frequency of a finite/continuous pulse train in the program?

    Hello!...
    I am trying to modify the Finite pulse train vi example to change the frequency with respect of a ratio (1:2) of the data of a spreadsheet file as they are read one by one.
    My aim is to get the pulse train to clock a stepper motor controller, in such way that the speed of the motor increases when the data of the spreadsheet increases and vice-versa.
    I think that if I want to get the clock to change its speed, I must change the frequency and if I want it to increase/decrease like the data in the spreadsheet, I must tell the frequency that the data is increasing or decreasing in value.
    Obviously the program must do it while it is running
    Can anyone see wh
    ere I have gone wrong and/or give any suggestions?
    I have attached my vi and the spreadsheet file.
    Thanks
    Tiano
    Attachments:
    My_VI.vi ‏99 KB
    wave.txt ‏18 KB

    Tiano,
    Try to build the pieces of the program separately. Get a VI running that reads the spreadsheet and reports the data in it sequentially in an indicator (forget about the pulse generation at this time). This indicator will be wired to the frequency input of the pulse generator VI.
    You have read the data and have a transposed array. Now you must learn to use the Index Array function in a For Loop to extract the data sequentially. You will wire the increment output [i] of the For Loop into Index Array to shift from one data point to the next.
    You have a For Loop with no constant wired to [N] to tell it how many times to run. If you use Array Size to extract the number of entries in the spreadsheet data, this can be the constan
    t that tells the For Loop how many times to run.
    You are using the Tab Control in a way I have never seen before (I don't think it will work this way either. Tab Control is for presenting and hiding controls, indicators, labels, etc. on the front panel, before running the VI. They are not used to control the program functionality itself. Typically you would use a Boolean to choose between 2 options for a Case Structure.
    You can also change the path constant which selects the spreadsheet file into a control. This would allow you to browse for any file you want and eleiminate the need for the Case Structure altogether.
    Mike

  • Controling a sigma koki motorrized stage via a PCI 7334

    Hi everyone,
    I am trying to control a sigma koki motorized stage via a PCI 7334.
    The motor is a stepper motor.
    For information, here is the connection diagram of the stage via the driver (SG55M on the diagram) to the controler:
    http://www.sigma-koki.com/english/D/SteppingMotors/Diagram/Diagram/Diagram.html
    I ran a selftest on the motor using the driver and everything is going well.
    As a first step of my design, i would just like to control the motor without any feedback, and without limit switch options.
    I am using a 1:1 connector CB68LPR from NI to connect the driver to the PCI 7334. Doing this, i provide CW and CCW signals from the PCI to the driver as well as the inhibit signal. Thus, I come up using the pins 1,35, and 6 of the 68pins connector. Looking at other threads posted on NI, I believe those connections are enough to observe a simple move of my motor isnt it?
    When i try out within MAX to test a movement using the 1 D interactive feature, my stage doesnt move.
    MAX is confingured as followed:
    > only axis1 enabled
    > CW, CCW stepper mode 
    > limit and home switch disabled
    > inhibit output setting enable
    > ADC, PWM, ENcoder disabled since i dont use them so far
    Those parameters are initializing the pci.
    Is there other parameters that i should look at and which could prevent my motor to work?
    While doing this first step, I monitor the signals from the PCI via oscilloscope and clock pusles are ok.
    It is the first time i try to control a stepper motor using a PCI so i read the documentation to be found on Ni website, and i may just have forgoten something, but i cant see what...
    Do i need to provide some additional signals? Or just with CW, CCW, and inhibit is ok?
    If you find any comments or recommendations, they are welcome
    Cheers ^ - ^

    Hello Gegurissi,
    To test the motor with a minimum configuration, you can connect CW, CCW, and digital ground lines to the driver.
    It looks like that there is no ground connected to the motor, so please make sure that they are connected to the ground of the driver, too.
    For the MAX settings, it seems fine, but the settings have to be saved and the board has to be initialized before the motor is moved.
    In 1-D Interactive feature, please make sure that a value is entered in the "target position" section and click "apply" button.
    Also, are there any error messages when you move the stage?
    One last thing I would like to mention is that it is strongly recommended to use Universal Motion Interfaces (UMI) and Motion cables for the NI motion controllers.
    The UMI devices are powered, such that they can provide necessary power to encoders, limit switches, etc.
    If you have any questions, please let me know.
    National Instruments Japan
    Satoko Yuda

  • Selecting sample clock frequency for NI 4472

    HelIo:
    I have been using NI 4472 DSA on a PCI slot for reading accelerations. I was reading the NI 4472 User Manual and under "Selecting your sample clock frequency", it specify two increments (95.37 uS/s for Fs<51.2 kS/s and 190.7 uS/s for Fs>51.2 kS/s). Can you explain what these increments mean? I understand the sampling frequency, but what does this time increment mean?
    Also, it says "If you do not specify a rate at a multiple of the increment, NI-DAQ will automatically choose the next higher step for you". Dose that mean I cannot specify any random value for Fs? Dose it have to be a certain multiplication. Please explain this for a novice to Labview/DAQ.
    Thanks a lot in advance.

    Hello MiamiVipul,
    Those statements in the User Manual mean that the PCI-4472 only has a finite set of sample rates that it can produce.  The allowable sample rates are given by 51.2 kS/s - k * 95.37 uS/s or 51.2 kS/s + k * 190.7 uS/s, where k is an integer.  As you can see, the step size is quite small, so you still have a lot of flexibility. 
    As an example, if you specify a sample rate of exactly 51.2 kS/s, that would be fine.  However, if you try to set the sample rate to something between 51,200 S/s and 51,199.990463 S/s (51.2 kS/s - 95.37 uS/s), the driver will automatically coerce that sample rate to next highest allowable rate, or 51.2 kS/s.  In order to find out the exact value that the driver is using, you can read the from the DAQmx Timing Property "Sample Clock:Rate" as shown below:
    I hope this helps!
    Best regards,
    Message Edited by Jarrod B. on 01-04-2007 09:03 AM
    Attachments:
    ReadSampleRate.JPG ‏6 KB

  • A stepper motor attached to PCI-7334 travels in same direction for both +/- input

    Hi everyone, I'm seeing some bizarre behavior on my system and was hoping you could help me out.
    I have the PCI-7334 stepper controller installed and running on my system, with 2 axis-s connected.
    Axis 1 operates as expected, running one direction for a positive target, and the other for a negative target.
    Axis 2 on the other hand, runs in the same direction regardless of if I give it a positive or negaative target position.
    This seems to be  limited to axis 2, I connected the wires running from axis 1 on the connector block to the second motor driver and it then started to act as expected.
    Any idea whats going on?

    Have you checked with a DMM or a scope if the Dir output is working fine? Maybe this behavior is caused by the wiring of the open collector outputs for step & direction. Maybe due to device tolerances the current driven by axis 2 for the Dir output is a little bit too low, so the drive doesn't recognize the changed level. Please refer to this link in our KB and check if the wiring hints apply to your setup.
    A second option is a defective board. In this case please contact your local NI branch.
    Thanks,
    Jochen

  • Maximum SPI clock frequency

    Hi, I have a question about the myRIO 1900 spec.
    The onboard FPGA has a 40 MHz clock, thus as described here it is possible to generate a 20 MHz frequency. That page also provides an equation for valid frequencies:
    The following equation calculates frequencies that you can generate for serial peripheral interface (SPI) I/O on the NI myRIO.
    fSPI = fclk / (2 * N * [X + 1]) 
    where fSPI is the desired SPI frequency
     fclk is the base clock frequency
     N is the clock divisor
     X is the number of counts before changing the signal
    The PWM Express VI and SPI Express VI provide a Validate button that you can use to validate whether the Express VI can generate the frequency that you specify. If the specified frequency is not valid, both Express VIs coerce the specified value to the nearest valid value.
    However, the VI limits the frequency to 4 MHz, and 4 MHz is the maximum SPI frequency stated in the user guide / spec. So the question is, why the inconsistency? Is it possible to use the FPGA to run SPI at a higher frequency, such as 10 or 20 MHz? Or is there some unmentioned constraint on N or X in the above equation?

    Hi Lack,
    After researching this issue, it turns out that all of the default functions VIs, including the advanced VIs for myRIO, will coerce the SPI maximum frequency to 4 MHz because this is the highest range that NI officially supports. Technically you could try for higher frequencies by changing the fixed myRIO FPGA personality and accessing the registers available there, but we cannot guarantee its accuracy.
    David H.
    National Instruments

  • Configure WTK With Platform details (Processor,memory,clock frequency,etc.)

    Hi All,
    For our Midp Application, we are using Sun WTK 2.3 beta version & j2sdk1.4.2_13 which is running on three different Desktop PC's with different processors speed & RAM. we are also using IBM Rational Test RealTime tool for profiling the results.
    below is the profiling figures of my MIDP Application on three different PC's.
    Function Time F+D time
    PC 1: 3594 3594
    PC 2: 20 30
    PC 3: 1428 1427
    Note: The figures given above is in Milliseconds.
    we had also configure the Sun WTK 2.3 beta version & j2sdk1.4.2_13 in IBM Rational Test RealTime tool for profiling the results of my MIDP Application.
    Queries:
    Q1: is there any way to set the WTK or Emulator parameters as real time Device configurations like (Processor,memory,clock frequency,etc as real time device.
    We are also having a Profiling Tool called RVDS3.0 ,it has armulate.dse file, which allows us to change the parameters of any target device but unfortunately it doesnt support MIDP Application for profiling.
    Regards,
    Mukesh Kumar,
    India,
    Bangalore.

    Hi,
    i agree withyou , since the vm behave differently on different PC'S, there what i am looking for WTK Settings for a particular set of devices, let us say, if i want to test the series60 Profiles using WTK , then i have to setup the same enviorment in wtk.
    any ways,
    i am trying to integrate the nokai_midp sdk with wtk and trying to profile on different PC's.
    -Mukesh Kumar,
    India,
    Bangalore.

  • How to change the frequency of pulse train on the fly using an array of values?

    Hi all!
    First I want to thank U for the great job you are doing for this forum.
    Iam still busy trying to control a stepper motor, by sending pulses from my E-series 6024 to a compumotor s6- stepper Driver. I've managed to get it working. I desperately need to control the motor using the values from an array. I believe we can use two approaches for that:
    1st - I can get an array of the "numbers of pulses". Each element must run for 10 milliseconds. Using that we can calculate the array of frequencies to send the number of pulses within 10 milliseconds for each specific element. Could we use the arrays of "number of pulses" and frequencies in a "finite pulse train " and up
    date with each element every 10 millisecond?
    2nd - Or Could we use of the frequency array in a "continuous pulse train vi" and update it every 10 milliseconds?
    Please note that I must use the values as they are.
    Can someone please built a good example for me? Your help will be appreciated.
    Regards
    Chris
    Attachments:
    number_of_steps.txt ‏17 KB
    frequency.txt ‏15 KB

    Tiano,
    I will try to better explain the paragraph on LabVIEW. The original paragraph reads ...
    "While in a loop for continuous pulse train generation, make two calls to Counter Set Attribute.vi to set the values for "pulse spec 1" (constant 14) and "pulse spec 2" (constant 15). Following these calls you would make a call to Counter Control.vi with the control code set to "switch cycle" (constant 7). The attached LabVIEW programs demonstrate this flow."
    You can make two calls to Counter Set Attribute or you can make a call to Set Pulse Specs which, if you open this VI, you will see that it is just making two calls to Counter Set Attribute. What you are doing with the Counter Set Attribute VIs is setting two registers called "pulse s
    pec 1" and "pulse spec 2". These two registers are used to configure the frequency and duty cycle of your output frequency.
    The example program which is attached to this Knowledge Base demonstrates how to change the frequency of a continuous generation on the fly. Why continuous? Because changing the frequency of a finite train would be easy. When the train completes it's finite generation you would just change the frequency and run a finite train again. You would not care about the time delay due to reconfiguration of the counter.
    If you would like to change the frequency of the pulse train using a knob, this functionality will have to be added in the while loop. The while loop will be continuously checking for the new value of the knob and using the knob value to set the pulse specs.
    LabVIEW is a language, and as with learning all new languages (spoken or programatic) there is a lot of learning to be accomplished. The great thing is that LabVIEW is much easier than mo
    st languages and the learning curve should be much smaller. Don't fret, you'll be an expert before you know it. Especially since you're tackling a challenging first project.
    Regards,
    Justin Britten

  • Problem updating the Firmware on a PCI-7334

    About me: I am pretty new to the Labview/NI landscape so I may be missing something here! That said im very technically aware in general and believe I understand what is going on here.
    Background: This NI PCI-7334 board has been taken from currently unused project stock so current physical condition of board is not really known (ie was not recently working) although it appears to be in good physical order.
    Attempting to setup a new Labview 7 Express development environment on new PC hardware with a clean build of Windows XP Pro SP1 along with 1 x IMAQ PCI-1411 and 1 x IMAQ PCI-1408.
    Attempting to update the PCI-7334 with the latest firmware in NI Motion 6.1.2. I select the option "Update All Firmware Sectors" f
    rom the firmware tree by right mouse clicking. It starts off with the buttonless (ie No Cancel Button) file transfer progress dialog box. But after about 30 seconds I keep getting the error "Error configuring the board for download. Please ensure that the board is in a reset state and that no other application is communicating with it."
    Existing Firmware versions are listed in NiMAX as:
    68331 - 6.00.3012
    DSP - 6.00.3008
    FPGA1 - [BLANK*]
    FPGA2 - [BLANK*]
    *Listed in tree without a version
    Unusually under the General listing I get "0" for the device serial number!
    When I go into the "Status" area and choose the "Reset Device" option I eventually get these status lights (red):
    Ready to Receive
    Power Up Reset
    Modal Error Message
    0x80 Move Complete Status
    I have tried removing all other cards from the PC to ensure there is not a compatability issue.
    At this stage it would appear that it is a hardware problem so I was wondering what options I have available to g
    et this card repaired. Is repair by NI economically viable or is a new puchase a better approach? IE are repairs done at a fixed price or based on materials and labour?
    Please advise!
    Thanks, Rod.
    Attachments:
    NI_PCI-7334_Firmware_Update_Error.zip ‏115 KB

    I agree with your diagnostics. It looks like something went wrong during the last firmware update. The only solution for this problem is to send the board for repair.
    NI has fixed prices for repairs which are much cheaper than buying a new board. Please contact your local NI branch for details.
    Best regards,
    Jochen Klier
    Applications Engineering Group Leader
    National Instruments Germany GmbH

  • How to change the frequency of a finite pulse train?

    Hi all? I Know I’ve asked once a similar question, but I need a better answer. I would like some ideas or examples on how to modify the example in LV; "Finite Pulse Train Generation - Intermediate for AM9513-Based Devices",so that the frequency can be changed while the VI is executing.
    Will i have any problem with I use this VI in a DAQ-STC-Based Devices(E-series)?

    Tiano,
    I will try to better explain the paragraph on LabVIEW. The original paragraph reads ...
    "While in a loop for continuous pulse train generation, make two calls to Counter Set Attribute.vi to set the values for "pulse spec 1" (constant 14) and "pulse spec 2" (constant 15). Following these calls you would make a call to Counter Control.vi with the control code set to "switch cycle" (constant 7). The attached LabVIEW programs demonstrate this flow."
    You can make two calls to Counter Set Attribute or you can make a call to Set Pulse Specs which, if you open this VI, you will see that it is just making two calls to Counter Set Attribute. What you are doing with the Counter Set Attribute VIs is setting two registers called "pulse s
    pec 1" and "pulse spec 2". These two registers are used to configure the frequency and duty cycle of your output frequency.
    The example program which is attached to this Knowledge Base demonstrates how to change the frequency of a continuous generation on the fly. Why continuous? Because changing the frequency of a finite train would be easy. When the train completes it's finite generation you would just change the frequency and run a finite train again. You would not care about the time delay due to reconfiguration of the counter.
    If you would like to change the frequency of the pulse train using a knob, this functionality will have to be added in the while loop. The while loop will be continuously checking for the new value of the knob and using the knob value to set the pulse specs.
    LabVIEW is a language, and as with learning all new languages (spoken or programatic) there is a lot of learning to be accomplished. The great thing is that LabVIEW is much easier than mo
    st languages and the learning curve should be much smaller. Don't fret, you'll be an expert before you know it. Especially since you're tackling a challenging first project.
    Regards,
    Justin Britten

  • Changing Audio Frequency/Format

    Hi,
    I have video with 48KHz and 32 bit audio, and an external audio source (clip mic recorded onto a digital voice recorder) with 44.1KHz 16-bit audio.
    Is there a way I could change the frequency and/or bitrate within Final Cut (or elsewhere) so I can sync the video and external audio with ease?
    Thanks!
    Rob

    if you have Final Cut Pro you have automatically have Quicktime Player Pro and if you have Final Cut Studio (from FCP5 I think) you also have Soundtrack Pro.
    But iTunes can do this also for you...
    Rienk

  • PCI-7334 and L298

    Hi there!
    Hope someone will help me with this one. I am currently working on a project that uses the pci-7334 stepper motor controller. unfortunately, i don't have any power drive with me. but i do have an UMI-7764 connector block and a L298 dual full-bridge driver. i also have some stepper motors with me but they are not of NI's. my question is: is it possible for me to used the pci-7334 to connect with the L298 and to the stepper motors using the UMI-7764? if possible, could anyone help me with the proper wire connections? thanks ahead for the response!
    kris
    Solved!
    Go to Solution.

    It is NOT that easy to drive a stepper motor, you need quite a bit more circuitry than just a plain half-bridge driver. You also have to control the current flowing through the motor winding. This is mostly done via PWM (pulse width modulation) since this method allows for using plain on/off switches which have more efficiency than an analogue control circuit. Also, using plain switches allows for running a stepper motor in full-step mode only which will yield rather rough motion/rotation.
    You can enter the learning curve and design all this from scratch but it will be probably much more cost and time effective to use a ready-for-use driver. We are using drivers from IMS
    http://www.imshome.com
    They also offer a range of stepper motors but their drivers are compatible with most 2/4 phase stepper motors on the market, we are using them together with Phytec and Oriental motors. Their manuals are very extensive and also cover the basics of stepper motor operation and connection to drivers.

  • Cables to connect my PCI-7334 motion to one UMI and one SSR backplane?

    i want to connect a PCI 7334 to one UMI and one SSR backplane, what cables do i need (number)

    Hi NI_Rookie. This is a good question.
    To connect the 7344 to a UMI, you need the SH68-C68-S Cable with D-Type Connector (#186381-02).
    To connect the 7344 to an SSR backplane, you need the SHC68-C68-S Cable (#186380-02) with the SSR 8, 16, 24 Channel Cable Adapter (#778262-01)
    If you need help getting everything set up, please let us (the forum enthusiasts) know.
    Kyle V.

Maybe you are looking for

  • Adobe Media Encoder won't open MPEG2 files

    Hi All, I'm hoping you can help me, I'm having some trouble with Adobe Media Encoder CS4, it won't open any MPEG2 files I throw at it. They all open fine in Media Player Classic, MPC-HC and VideoLan, so I'm wondering what I'm doing wrong. Any ideas g

  • Lookup form standalone client  fails with java.lang.ClassNotFoundException

    Hi, I have an issue under Weblogic 11g when a standalone client tries to lookup for an ejb deployed in an ear. The ear is correclty deployed without any errors and the EJB is correctly defined in the jndi tree (i see it using the jndi browser through

  • Win32 API calling by Code Interface Node

    Hi all, I wish to call a Win32 API function by using the code interface node. However, I don't know the data types in LabVIEW corresponding to the "HANDLE *" in Visual C++. Here's the function I wish to call: BOOL bOpenDriver (HANDLE * phDeviceHandle

  • Managing / Backing Up a Large Music Library

    HI, I am trying to figure out the best way to manage my fathers iTunes library.  It is Music Only (at this time) and consists of 140,000 tracks, 9,500 albums and takes up 3.2 TB.  All the music is in uncompressed format.  He is still adding music to

  • Is it the problem of ignorecache?

    I have some simple code like this: Location location = new Location(); String name = "testLocation"; String address = "testAddress"; location.setName(name); location.setAddress(address); pm.makePersistent(location); String filter = "name == \"" + nam