HSC limitation​s of the PXI-7344

I have an application where I would like to measure position data (encoder and analog value) from a relatively fast moving mechanism - so want to use the highest sampling rate possible while keeping both measurements synced. I am using the PXI-7344 for motion control and the PXI-6221/PXIe-6361 for analog DAQ.
My approach is to use one RTSI line to provide the DAQ sampling clock (possibly divided with a counter for even higher sampling rates with the DAQ card) to the HSC trigger of the PXI-7344. According to the PXI-7344 datasheet, the maximum trigger repetition rate is 1kHz, but the HSC has to be re-enabled in software after every capture. I have a program doing exactly that and it seems to be working fine - but I can't achieve rates on the HSC higher than approx. 150Hz. I assume the bottleneck here is either the host communication (most likely) or the PXI CPU is too slow with re-enabling the HSC (very unlikely - it is a 2.7GHz Quadcore and I am polling the HSC status as fast as possible in a while loop w/o any waits).
My next approach would be to write an onboard program to do the same thing and write the positions into an onboard buffer which I would read after the program is done, but according to the NI-Motion help these programs run inside the RTOS on the onboard µC with a repetition rate of 2ms, which would mean a maximum HSC rate of 500Hz (theoretical).
This is of course better than 150Hz, but now I am wondering how I could use the full capabilities of the trigger input of the card (e.g. achieve a HSC rate of 1kHz). Is this even possible/foreseen with the 7344?

HSC rearming rate is system dependent and affected by many factors. 100 Hz is a rate, that can be achieved on most systems. You might higher rates than that, but that's not guaranteed.
Onboard programming typically doesn't result in much better results, as the onboard CPU runs the user programs in a low priority task, which gets interrupted frequently by high priority tasks like limit switch monitoring and so on.
In general that's the bottleneck, that explains the limitation. On a 7344 HSC needs to get rearmed after every trigger occurrence in the user program and in both cases (host and onboard programming) the rearming needs to be executed by a low priority process on the onboard CPU.
By the way: You are referring to a 2 ms interval. In fact, that's the default value of a time slice assigned to an onboard program. This is not equal with the onboard program's cycle time, which is typically higher - depending on the amount of code and the interrupts caused by higher priority processes.
I hope that explains the behavior. For higher HSC rates up to 2 kHz please use a 7350 board.
Kind regards,
Jochen Klier
National Instruments

Similar Messages

  • Feedback for PXI 7344 motion

    Hi,
    I use the PXI 7344 to control a wave paddle in our wave flume.
    We make regular and irregular waves.
    At this moment I use a timed loop to update the position of the paddle 40 times per second (loop time 25 ms).
    I use a linear interpolation between the current and the next position.
    The reason for not using the contoured move is as follows:
    We have also a active wave absorption system programmed into our controller. It uses 2 analog input of the PXI 7344 and calculates a correction/feedback for the wave paddle.
    Therefor the movement of the paddle is not predetermined and cannot be predicted.
    I would like to use the contoured move to generate a smoother motion of the paddle.
    Is there a way to correct the motion during the exection of a contoured move (like the analog feedback) but then programmatically (by a calculated value ) ?
    Thanks,
    Tom
    Tom Versluys - Dept. of Civil Engineering, Gent University
    Technologiepark 904, B-9052 Zwijnaarde (GENT), BELGIUM
    TEL.: +32(0)9/264.54.87, FAX: +32(0)9/264.58.37, MAIL:[email protected]

    It may be that you have already chosen to map the 7344 to the local machine. That was the case for me - I have a PXI 7344 and PXI 7350, where the 7344 was already mapped to my local machine, and the option to map to local machine was grayed out. Try pressing F5 to refresh MAX and then check under the main Devices & Interfaces tab for the PXI-7344 on IP address.
    Hope this helps.
    -Julie

  • PXI-7344

    Hello,
    I am using a PXI-7344 board with a UMI-7764 accessory. So I connect it to the motion control plug and it works properly (the 4 axes are all used).
    Next, I get a SCB-68 block connector because I need to get 2 more analog outputs.
    So, I use a cable SH68-C68-S to connect the SCB-68 block to the PXI-7344 digital I/O plug.
    But I don't know in fact how to steer the Digital Output ports from PXI-7344 to use the 2 analog outputs from SCB-68.
    Moreover, I would like to know if I can steer both devices from motion port and Digital port at the same time.
    Anyone an idea?
    Thanks

    Hello,
    I would like to measure some tests on charts with a PXI-4204 board and to save them in a binary file.
    I am using a VI that contains the "Analog 1DI32 Wfm NChan NSamp.vi" (from "Continuous Acq & Graph Voltage to File.vi") to acquire an analog signal.
    The problem is that I had to do a "mix" with other vis:
    - to be able to save the data into a binary file,
    - to be able to see the waveform moving from right to left and to use the X scrollbar.
    Now the problem I have concerns the reading.
    When I want to use the "Graph Acquired Binary Data.vi" to read the data, there is a message of error that says the input data is not incorrect....
    Anyone has an idea?
    Please see the 2 files enclosed: "Continuous Binary Acquired Data.vi" and "Read Graph Data Acquired Binary File.vi" (front panel +diagram)
    Thanks very much for quick reply
    Attachments:
    Continuous data acquired (diagram).jpg ‏162 KB

  • Measurment through a vibration sensor interfaced with Ni-PXI is very low & less responsive. I wana know any frequency limitations is there for PXi or the system uses any clipping ckts inside ???

    Measurment through a vibration sensor interfaced with Ni-PXI is very low & less responsive. I wana know any frequency limitations is there for PXi or the system uses any clipping ckts inside ???

    It would be helpfull to know what PXI hardware and what sensor you are using.
    Up to now I only found mechanical limitations ....
    (Creating a 100kHz sinus exitation with 160nm amplitude need more than 63km/s² (>6400g) acceleration  )
    Greetings from Germany
    Henrik
    LV since v3.1
    “ground” is a convenient fantasy
    '˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'

  • PXI 7344 motion controller as a DAQ device for ELVIS

    Hi,
    Is there a way to reconfigure a PXI-7344 motion controller with its two 68-pin connectors so as to use it as a DAQ device that would receive the signals from a NI ELVIS workstation. The 7344 has a "motion I/O connector" and a "digital I/O connector". Analog outputs are even possible if I remember well, as well as digital.
    Thanks

    Hello,
    The card does has some analog input and outputs. I would check the manual here: http://www.ni.com/pdf/manuals/370838b.pdf. The DAQmx API with a DAQ card is going to be much better than interfacing with a motion card, but you should be able to read off it at the least.
    Rahul B.
    Applications Engineer
    National Instruments

  • NI Motion + PXI 7344 + s-curves

    I use Labview 7.0 and a PXI 7344 motion board.
    I try to calculate the time and the distance needed for a motorized stage to
    reach a constant speed.
    The Speed, Acceleration / Deceleration and S-curves parameters are known.
    Is there any way (vi or dll) to obtain the theoritical position, speed and
    acceleration Vs time of a movmement ?
    Or is there a way to access the data of the trajectory generator?
    The "motion assistant" plot the position, speed and acceleration Vs time of
    a movmement from the Speed, Acceleration / Deceleration and S-curves
    parameters. Is it possible to have the formulas ?
    Thanks for your help.
    Stéphane.

    Stephane,
    You can use the motion assistant to visually determine the response of the parameters that are entered. At this time the exact formula is not available.
    Austin Talley
    Applications Engineering
    National Instruments

  • What I can do to minimise my offset in velocity in PXI 7344?

    Hi,
    I am using Motion control Card (PXI 7344) to control both position and linear velocity of the cylinder shaft. I am reading analog voltage from potentiometer(input range = -5V to +5V corresponding to positions 100mm and 0mm respectively). I have used DAC output (+10 v to -10V) of the motion control card as in input to Servo valve (Note: i have not used any amplifiers inbetween) which controls the hydraulic flow which inturns controls the linear movement of the cylinder shaft. In the MAX i have used Axis 1 and configured it to velocity mode selecting only the primary feedback and primary output (I haven't used secondary one) and set PID update period to 62.5 microseconds.
    The problems I am facting righ
    t now are
    1. In the 1D interactive control of the MAX I found the current trajectory data (position and velocity) keeps on changing before starting the test (when the station if OFF) after intialising the card. I have check the Analog feedback signal from the potentiometer. It remained constant without fluctuating.
    2. I can't able to achieve the set point velocity (i.e., there is always an offset and it varies with increasing setpoint). So I have used Auto-tuning option in the MAX. It automatically sets some PID parameters but it remains changing when i do it again and again.Eventhough i make changes in the PID parameters, my offset remains the same.
    Whether I have to use Encoders as secondary feedback device or else what I can do to minimise my offset in velocity?

    Project Support,
    After reading over your description, I am still not sure that I entirely understand what is happening. Some of the questions that I have are:
    -What type of motor is hooked to Axis 1?
    -What type of feedback is Axis 1 using?
    -Does the linear movement have feedback?
    If you post back the answers to some of those questions, this forum may be a little bit better equipped to help answer your questions.
    As for the questions that you posed, if you are using analog feedback, and the system issuing that feedback is turned off, then you may be seeing fluctuations from noise in the environment. This is my best guess about what is happening with problem #1. As for problem #2, I don't fully understand what you are asking. If you could post some a
    dditional details about this problem, it may help to resolve the problem.
    I wish you the best of luck with your application.
    Regards,
    Jed R.
    Applications Engineer
    National Instruments

  • MXI-3 with PXI-7344 etc blue screens

    Dear support folk,
    This is a follow-on from unsolved problem discussed below. I have this problem on multiple computers now with varying severities. One machine is unuseable due to the frequency of blue screens. Is it our C-code perhaps? Please help - this problem is going to be the death of me!
    Old question:
    "Okay, this is driving me crazy! I've asked this question before and really didn't resolve the problem fully so here we go again. I have an MXI-3 card with PXI-6052E, 6508 and 7344 in cPCI chassis. Trouble is I get random bluescreen errors (especially towards the end of boot process but they can be anytime). This happens on just about every machine I install this hardware configuartion on. Disabling stuff like the c
    om ports and killing background processes such as virus scanners seem to help a little but have never solved the problem. The latest installation won't go at all and bluescreens every time. I tried a Win 2000 installation and the boot-up blue screens disappeared but our software would not work properly (this could well be our fault though so I will restrict my question to the boot-up bluescreens). Any help would be very much appreciated!"
    Old answer
    "Hi,
    There was a bug in the MXI-3 software that could cause a Windows page fault exception (0xE) on Windows 98. It is very rare, but there is a patch to fix it. I attached it below. If this does not solve the problem, please email us so that we can help you further. Go to http:\\www.ni.com\ask and select Email an Engineer. You will want to select PXI/VXI for the product.
    Thank you,
    Katie Shiels

    Marcus,
    The most common cause of problems with MXI-3 systems is simply not using the correct boot order. I would first verify the proper boot order (chassis first, then computer). Verify that the LINK LED comes on right after the computer boots, and that the LINK LED never, ever, blinks or strobes during operation. If the LINK LED goes out, strobes, blinks, etc, then a hardware problem with the link (PCI-MXI-3 board, PXI-MXI-3 board, or cable) is indicated.
    If you continue to have blue-screens at boot, then the next step is to "divide-and-conquor" the system. What we want to do is make sure that none of the cards in the PXI (or CompactPCI) chassis are themselves causing the problem (for example, if a card has a resource conflict). For troubleshooting purposes, remove all cards from the PXI chassis, shutdown, and then power-up again with the proper boot sequence (chassis first, computer second). If the problems disappear, then a problem or resource conflict with one of the PXI / cPCI cards is indicated.
    If the blue-screens continue, even with the hardware removed, then the next step would be to uninstall the MXI-3 Optimization software. What we are going after here is if it is during the run (every time at boot) of the MXI-3 optimization software that the blue screen occurs.
    If none of these indicate the problem, then the "divide-and-conquor" approach requires us to determine if the problem is with the MXI-3 kit itself, or something specific to that computer. Two things to try. The first is to try the MXI-3 kit on a different machine. The second is to try another MXI-3 kit (if available) with that machine.
    Through these steps, you should be able to isolate a single piece of hardware (a PXI card, the MXI-3 kit, the PC, etc) that is common to the problem.
    (note, the bug referred to by Katie was specific to running the MXI-3 optimization software, not the MXI-3 hardware in general - so if you are seeing the problem she referred to, you should see the blue-screens disappear when the MXI-3 Optimization software is uninstalled).
    As always, National Instruments Technical Support is only a phone-call away (7am - 7pm CST) if you want to work with a NI engineer on this procedure.
    Regards,
    Greg Caesar
    Applications Engineer

  • I want to use the Function Generator VI to send command signals through the NI 7344 motion controller. This will be a closed loop servo valve system. I want to be able to change from say a square wave to a sine wave on the fly. Idea's?

    I am going to run tests that require an actuator to move using various types of arbitrary waveforms such as sine or square. The NI 7344 is hooked to the UMI that is going through a driver for a servo valve. The loop is analog and it is closed. I have played with some of the examples but can't get it to work. I have used the function generator VI to generate a signal but I think I am using the wrong input VI to the motion control board. When I use what I have it moves the servo and then stops. It doesn't continually generate the signal.
    I would love to use the controls on the function generator vi to control frequency and amplitude ect. Any help or pointer would be helpful. Thank you in advance.

    Hello,
    I'm not clear on exactly how you want to use the generated data but I'm assuming they will be used as your target points.
    There's a built-in example for motion called 'One-Axis Contour Move.vi'. This example demonstrates how to provide your target points as 1-D array. All you need to do is to replace the input array with the output of the function generator. In order to have it run continuously, use a while loop. You can further program your application so that it'll change the waveform on the fly by monitoring the user interface but this might be little little tricky as you will need to reset the move and load the new generated points while keeping track of your current position.
    I hope this helps. Let me know if you have further questions regarding this
    application.
    Best regards,
    Yusuf C.
    Applications Engineering
    National Instruments

  • Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q with a real time mode but it is not working but when i run it with uploading it into the PXI it save in to the file

    Hi am trying to save Data into a write to measurement file vi using a NI PXI 1042Q and DAQ NI PXI-6229 with a real time mode but it is not working but when i run it without uploading it into the PXI it save in to the file please find attached my vi
    Attachments:
    PWMs.vi ‏130 KB

     other problem is that the channel DAQmx only works at real time mode not on stand alone vi using Labview 8.2 and Real time 8.2

  • Is the PXIe-PCIe8361 adequate for this system? And external clock questions...

    Hi all,
    I have spent some time piecing together a system and I'd like a sanity check before pulling the trigger on this purchase.  The system will contain the following hardware:
    1. Chassis: PXIe-1078
    2. Controller: PXIe-PCIe8361
    3. 3 x PXIe-6363 (16 analog inputs each card, 32 digital inputs each card, all internally clocked @ 10kHz)
    4. 2 x PXI-6224 (32 digital inputs on one, 8 digital inputs on the other, externally clocked in "bursts" of 62.5khz)
    5. Labview software
    The three PXI-6363 cards will be responsible for  a mix of analog and digital measurements made @ 10 kHz, timed continuously by the onboard clock.
    One PXI-6224 will be clocked externally @ 62.5 kHz and will be used to collect digital data on a 32-bit port.  These clock pulses will not be continuous, but will occur in bursts lasting for 2ms every 20ms.
    The other PXI-6224 will be clocked externally @ 62.5kHz as well and will be used to collect digital data on an 8-bit port. These clock pulses will not be continuous, but will occur in bursts lasting for 2 ms at random intervals.
    My questions are:
    1. Am I planning anything that looks unreasonable for this hardware?
    2.  Should I expect issues with data transfer rates with the PXIe-PCIe8361?  I will be operating well within the advertised 110MB/s throughput of the device.  I plan to stream this method... NI Fast TDMS data streaming
    3.  I have only ever used NI cards for continuous measurements made by an onboard clock.  When I set up a task to collect data that is externally-timed, will the DAQ be expecting a "continuous" clock pulse, or will the system wait patiently for clock pulses to arrive at any rate (any rate within the spec of the card, of course)?
    Thanks, any input is appreciated.

    Hello LucasH0011
    1-As long as you put the PXI-6224  and the PXIe-6363 cards in the corresponding slots, meaning the express(PXIe-6363) in the express and the hybrid(PXI-6224) in the hybrid.
    2-I think you would  not have issues with the transfer rate.
    3-Your timing specifications sound reasonable to me, I think you will be fine. 
    Here is a document that has useful concepts for the use of cards:
    http://www.ni.com/white-paper/3615/en/
    It is for the M-Series, but the concepts apply to the X-Series as well. 
    Regards 
    Ernesto

  • Front-end memory and limitation cells of the BEX Analyzer

    Hi BI experts,
    After BW upgrade from BI 7.3 to BI 7.4 some heavy workbooks stopping to work, the error is "Client Out of Memory", the cause of this error is the memory capacity of .NET framework, this process can allocate a maximum of approximately 1.2 gigabytes (GB).
    The notes 1040454 and 1411545 says that it´s possible to execute something like 750,000 cells but we made some adjusts and we could increase it until 1,800,000 cells, below some configuration we´ve made:
    Query Designer:
    Result Rows Always
    Supress;
    Display as Text or key;
    Supress Zeros as Active (All Values = 0) and Effect on rows and columns.
    Bex Analyzer:
    Display Sort Icons Disable;
    Apply formating Disable;
    Allow navegation Disable;
    We need some orientation how to further increase this limitation, or leaving the query lighter or increasing the memory limitation of .net framework or backing to BEX 3.5 funcionalities.
    Has anyone encountered such problems in the update? Some alternative solution ?
    Thanks !

    Hello Caio,
    The limitation lies on .Net Framework 32 bits which can handle 1.2 gigabytes.
    You are reaching 1.8 Million because your datacells has no data or almost no data.
    There is a KBA documenting your issue: SAP Note 1860872
    There you will find a recommendation of Openhub, that allows you to extract data.
    Just remember that BEx Analyzer is a tool for query navigation, not mass data extraction.
    Kind Regards,
    Edward John
    SAP AGS

  • I want to install my photoshop 5.0 limited edition but the pc displays i should check if it is a 32 or 64 bit application. i changed my windows os  from xp to win7 64 bit (i think that is the problem) how can i run my photoshop on this system?

    i want to install my photoshop 5.0 limited edition but the pc displays i should check if it is a 32 or 64 bit application. i changed my windows os  from xp to win7 64 bit (i think that is the problem) how can i install and run my photoshop 5.0 le on this system?

    Kglad Creative Suite 2 is only applicable to individuals affected by the activation server shut down.  A complete list of affected software titles can be found at Activation server shut down for Creative Suite 2, Acrobat 7, and Macromedia products.

  • QM Sceneri: MIC which has it Limits dependent on the results of a MIC.

    QM Scenerio
      The plan has multiple MIC's all with limits. First five MIC's are independent and rest three are having their limits dependent on the results of a MIC eg with a formula. say 0.8X lower limit and 1.1X upper limit of a MIC., where X is the result of the fifth MIC. Similarly the 7th and the 8th MIC's are having limits dependent on the same MIC with different formula.
    This kind of scenerio may be two times in an inspection Plan.
    Can the Gurus kindly give me the solution how to do it.

    No. Nothing that is standard.  You will have to probably look at creating your own custom valuation FM.  SAP allows you to create these FM's and then config them into the system. You would then selection the custom valuation in a sample procedure that you would create for each of these characteristics.   The valuation for the characteristic would then be carried out according to your custom FM.  No spec would be displayed in the inspection lot however.  But he valuation should be possible.
    FF

  • How to use the PXI's 10MHz backplane clock to synchronize two or more 6031E boards?

    Hi,
    I'm trying to use two 6031E boards to acquire multiple channels Analog Inputs, and I'd like to sync them with the PXI backplane clock (not the RTSI bus). I found an example from NI, "Two E-Series Shared ScanClk.vi", and modified it a bit. But I'm wondering if the two boards must have the same acqusition rate? e.g. Can I have 1 board acquiring at 1kHz while the other one at 20Hz? and if yes, how do I do it?
    Your input will be very much appreciated. Thanks!
    Dan
    Attachments:
    mod_Two_E-Series_Shared_ScanClk.vi ‏148 KB

    Unfortunately, E Series boards cannot synchronize with the 10 MHz PXI backplane clock. They do, however, have access to the PXI trigger lines, which are basically the RTSI lines. Except for line 6 which is the star trigger line. They can only read from this line.
    The example program you have selected will definitely be part of your solution. It allows you to share the scan clock timing signal between two boards. If you would like the slave board to acquire at a slower scan rate, you could always route the master's scan clock to one of the slave's on-board counters which can act as a frequency divider. The output of this counter can become the new slower scan clock for the slave board. Use the Generate Pulse Train shipping example VI as your frequency d
    ivider. Finally, make sure you route the signals appropriately and you'll be in business.
    I hope this helps!
    Russell McMurtrey
    Applications Engineer
    National Instruments
    http://www.ni.com/support

Maybe you are looking for