Position Measurement with PCIe-6321

Hi,
I have PCIe-6321 card and I want to use it for linear position measurement. I have an interpolation device that provides A and B channels that I`m going to put in the counter inputs of the card. Are there any examples of using the position information with LabView (Graphing the position, using it for control purposes etc.) There are some examples in the example library of LabView but in most of the, PCI6321 isn´t on the compatible cards list although most PCI62xx cards are. Can I still use these examples? Thank you in advance.

Hi
You can try it with this examples, but there is another easy way. Please do not forget that you need at least the DAQmx 9.0 driver.
1. Open the MAX and create a task  for your linear position measurement with the PCIe-6321
2. There you can see all the connections you need and you can set all parameters fot the acquisition
3. Save the Task
4. Close MAX and open LabVIEW
5. In the block diagram go to  Measurement I/O >> NI-DAQmx >> insert Task Const (DAQmx Task Name)
6. Right click on the task constant and choose  >> Generate Code >> Configuration and Example
7. Run your VI and have fun
Kind regards
Beat
NI Germany

Similar Messages

  • How to use external timebase for Two Edge Separation measurement with PCIe 6351

    Hi
    I am working with PCIe 6351 x series DAQ card.
    counter measurements.
    Here i need to measure the time/no edges between two edges. Falling to Raising of two signals.
    I got the measurement with internal time base.
    here i need to synchronize the measurements with external clock from the external setup.
    so i need to use that external clock,timebase for the counters.
    Any solution please..
    Regards,
    Hari

    First, the VI you mention is NOT for STC timer/counters. Therefore, it won't work.
    If you want to get the time interval between two edges, you want to use the Functions -> Data Acquisition -> Counter -> Count Events or Time VI. This will do the function you are looking for.
    Mark

  • Error -10401 with pcie 6321

    Hello,
    I have the -10401 error when I want to configure a port in 6321 PCIe card (3 ports of 8 bits each).
    I use the sub-vi "DIO-configure a port."
    I checked all the settings.
    I also tested the sub-vi "Read a digital line" and i have the same error.
    The PC which used for my tests is on Windows XP and using LabVIEW 2010 SP1 and NI DAQ  MX 9.3.5 (supplied with the PCIe 6321).
    Sincerely,
    Solved!
    Go to Solution.

    Thank-you for the quick response but it's not possible to use the traditional DAQ driver instead?
    I have to resume some vi's from an old project without modify them.

  • What is the accuracy of frequency measure with PCI 6023E?

    I am measuring the exact frequency of 2.7Mhz signal. using PCI-6023E ,how can i calculate the accuracy of the measurments?

    See
    http://exchange.ni.com/servlet/Redirect?id=8437352
    Regards
    Filipe A.
    Applications Engineer
    National Instruments

  • Position traking with WLAN

    we r doing a position traking project using the method location fingerprinting ....
    can anybody have a suggestion abt how we can do the traking software using java

    Hi
    You can try it with this examples, but there is another easy way. Please do not forget that you need at least the DAQmx 9.0 driver.
    1. Open the MAX and create a task  for your linear position measurement with the PCIe-6321
    2. There you can see all the connections you need and you can set all parameters fot the acquisition
    3. Save the Task
    4. Close MAX and open LabVIEW
    5. In the block diagram go to  Measurement I/O >> NI-DAQmx >> insert Task Const (DAQmx Task Name)
    6. Right click on the task constant and choose  >> Generate Code >> Configuration and Example
    7. Run your VI and have fun
    Kind regards
    Beat
    NI Germany

  • How to reduce the noise in PCIe-6321 acquisition, to optimize wiring.

    Hi all,
    I want to optimize my wiring in term of noise reduction. I use a DAQ PCIe-6321 in my application. I want to acquire an analog signal from a sensor (+/- 4 Volts, resolution of 2 mV, output impedance of 100 ohms) using the DAQ. The frequency of the signal is below 2 kHz. My first question is about the most suitable cable to use (shielded, twisted, etc.)? What is also the best suitable input configuration to choose in Labview (differential, RSE or NRSE)?
    Moreover, after processing of this data under Labview, I want to power an audio power amplifier (input impedance equal to 10 kohms) using the analog output of the DAQ. What is the most suitable cable to use to reduce the noise? Are there any other tips to optimize the wiring?
    Thank you for your help and suggestions!
    Cedric

    Hi guys,
    I know that it is a bit late to reply but that is the perfect topic for what I am looking for!
    I am currently working with acquisition systems using either PCI-6221 or PCIe-6321. Those systems are exactly the same but the results are different (see picture enclosed). We can see spikes and noise with the PCIe-6321 while we have the same conditions of measurements. 
    Here is the NI setup:
    - PCI-6221 + connector block CB-68LP + cable SHC68-68-EPM
    - PCIe-6321 + connector block SCB-68A + cable SHC68-68-EPM
    In one of the system equipped with PCIe-6321, I replaced all the devices like cables, detectors, motors and it doesn’t change anything. I also swapped the computer for one equipped with PCI-6221 and it works fine. It means that the problem really comes from the acquisition card.
    So my question is: why is there such a difference between those models? Do I need to change the configuration in the card?
    Thanks in advance.
    Maxime  
    Attachments:
    Difference PCIe6321 and PCI6321.jpg ‏136 KB

  • Why 99% cpu load when running buffered position measurement

    I'm getting 99% cpu load while performing a buffered position measurement with a 6602 in a PXI system.
    I am running the example provided with Labview itself.
    What am i doing wrong here ?

    This is a known problem. The reason for this is that the counter buffered operation uses a blocking method, so that buffer object spins in the kernal while waiting for the buffer to fill.
    A workaround is to continually check the backlog and then just read exactly what is in the backlog. You can read the backlog by using a shift register within the while loop. Connect the backlog output of the Counter Read Buffer VI to the shift register on the right side of the while loop. Then use the shift register on the left side of the loop for the number to read input of the Counter Read Buffer VI. This will assure that you are only reading what is in the buffer and you are not tying up the CPU waiting for the buffer to fill. I hope this helps.
    Regards,
    Todd D.
    App
    lications Engineer
    National Instruments

  • Position Control of compumotor linear servo table and GV-U6E with PCI-7344

    I'm referring PCI-7344 (not 7334).
    I have the GV-U6E which is a drive only and does not possess control functionality. the drive only version does not store or use programs. So, serial commands can not be sent through COM port by LabVIEW even though A few basic commands can be emulated.
    I am trying to do position control as I mentioned. For example, the motor should move A point to B point exactly with a certain speed. The points must be aboulte position.
    I would like you to see the reference comment that I have been contacting with in your website forum.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000DD490000&USEARCHCONTEXT_CATEGORY_0=_14_&USEARCHCONTEXT_CATEGORY_S=0&UCATEGORY_0=_14_&UCATEGORY_S=0
    Regard,
    Jin Ho Lee
    ----- Original Message -----
    From:
    To:
    Sent: Thursday, September 26, 2002 5:00 PM
    Subject: Re: (Reference#1549-QYW196) "Position Control of linear servo table and GV-U6E with PCI-7344
    >
    > Note: Your reference number is included in the Subject field of this
    > message. It is very important that you do not remove or modify this
    > reference number, or your message may be returned to you.
    >
    >
    > JinHo. Compumotor is a very popular brand, and I know of several customers
    > who integrate our 7334 with Computmotor drives. However, when you say that
    > the MAX configuration doesn't fit in the compumotor drive settings, are you
    > referring to the specs from the 7344? It looks like the 7344 and the
    > Compumotor will work well together through a UMI break out box. If you're
    > referring to specific commands that the Compumotor receives, I'd have to
    > know more about the protocol. If the Compumotor needs serial commands,
    > then you can send them through the computer's COM port from LabVIEW.
    > Please let me know exactly what kind of configurations you're trying to
    > set. The 7344 can be completely configured in MAX and LabVIEW.
    >
    >
    > Best Regards
    >
    > Kyle Voosen
    > Applications Engineer
    > National Instruments
    > http://www.ni.com/support
    >
    > ------------------------------------------------------------------------------
    >
    > Problem Description :
    > "Position Control of compumotor 406LXR linear servo table and GV-U6E(motor
    > drive) with PCI-7344"
    >
    > "Since I had the answers referring:
    > http://exchange.ni.com/servlet/ ProcessRequest?RHIVEID=101&RPAGEID=135&
    > HOID=506500000008000000DD490000& USEARCHCONTEXT_CATEGORY_0=_14_&
    > USEARCHCONTEXT_CATEGORY_S=0& UCATEGORY_0=_14_&UCATEGORY_S=0
    >
    > Wiring step was done well. However, I still have a problem that MAX
    > configuration doesn't fit in compumotor drive settings. Therefore, the
    > setup is shown below, and I want to know how I can set up PCI-7344
    > configuration in MAX or LabVIEW VI.
    >
    >
    > -----------------------------------------------------
    >
    > Uploaded from device address 0
    >
    > Gemini GV Servo Drive Setup
    >
    >
    >
    > Motor Setup
    > DMTR 1703
    > Motor ID (406-x-LXR-M-x-D13-x-x-x-x-E5-x-x-x)
    > DMTIC 2.48
    > Continuous Current (Amps-RMS)
    > DMTICD 0.00
    > Continuous Current Derating (% derating at rated speed)
    > DMTKE 17.6
    > Motor Ke (Volts (0-to-peak)/krpm)
    > DMTRES 10.10
    > Motor Winding Resistance (Ohm)
    > DMTJ 119.300
    > Motor Rotor Inertia (kg*m*m*10e-6)
    > DPOLE 1
    > Number of Motor Pole Pairs
    > DMTW 40.5
    > Motor Rated Speed (rev/sec)
    > DMTIP 7.40
    > Peak Current (Amps-RMS)
    > DMTLMN 3.4
    > Minimum Motor Inductance (mH)
    > DMTLMX 3.4
    > Maximum Motor Inductance (mH)
    > DMTD 0.000000
    > Motor Damping (Nm/rad/sec)
    > DMTRWC 0.23
    > Motor Thermal Resistance (degrees Celsius/Watt)
    > DMTTCM 20.0
    > Motor Thermal Time Constant (minutes)
    > DMTTCW 0.33
    > Motor Winding Time Constant (minutes)
    > DMTAMB 40.00
    > Motor Ambient Temperature (degrees Celsius)
    > DMTMAX 90.00
    > Maximum Motor Winding Temperature (degrees Celsius)
    > DHALL 1
    > Disable Hall Sensor Checking
    > DMTLQS 0
    > Set Q Axis Inductance Saturation
    > DMTLDS 0
    > Set D Axis Inductance Saturation
    > DTHERM 0
    > Disable motor thermal switch input
    >
    >
    >
    > Drive Setup
    > DMODE 2
    > Drive Control Mode
    > DRES 8400
    > Drive Resolution (counts/rev)
    > DPWM 16
    > Drive PWM Frequency (kHz)
    > SFB 1
    > Encoder Feedback
    > ERES 8400
    > Encoder Resolution (counts/rev)
    > ORES 8400
    > Encoder Output Resolution (counts/rev)
    > DMEPIT 42.00
    > Electrical Pitch (mm)
    > SHALL 0
    > Invert Hall Sensors
    > DMTLIM 1.5
    > Torque Limit (Nm)
    > DMTSCL 1.5
    > Torque Scaling (Nm)
    > DMVLIM 119.000000
    > Velocity Limit (rev/sec)
    > DMVSCL 119.000000
    > Velocity Scaling (rev/sec)
    >
    >
    >
    > Load Setup
    > LJRAT 0.0
    > Load-to-Rotor Inertia Ratio
    > LDAMP 0.0000
    > Load Damping (Nm/rad/sec)
    >
    >
    >
    > Fault Setup
    > FLTSTP 1
    > Fault on Startup Indexer Pulses Enable
    > FLTDSB 1
    > Fault on Drive Disable Enable
    > SMPER 8400
    > Maximum Allowable Position Error (counts)
    > SMVER 0.000000
    > Maximum Allowable Velocity Error (rev/sec)
    > DIFOLD 0
    > Current Foldback Enable
    >
    >
    >
    > Digital Input Setup
    > INLVL 11000000
    > Input Active Level
    > INDEB 50
    > Input Debounce Time (milliseconds)
    > INUFD 0
    > Input User Fault Delay Time (milliseconds)
    > LH 0
    > Hardware EOT Limits Enable
    >
    >
    >
    > Digital Output Setup
    > OUTBD 0
    > Output Brake Delay Time (milliseconds)
    > OUTLVL 0100000
    > Output Active Level
    >
    >
    >
    > Analog Monitor Setup
    > DMONAV 0
    > Analog Monitor A Variable
    > DMONAS 100
    > Analog Monitor A Scaling (% of full scale output)
    > DMONBV 0
    > Analog Monitor B Variable
    > DMONBS 100
    > Analog Monitor B Scaling (% of full scale ouput)
    >
    >
    >
    > Servo Tuning
    > DIBW 1500
    > Current Loop Bandwidth (Hz)
    > DVBW 100
    > Velocity Loop Bandwidth (Hz)
    > DPBW 40.00
    > Position Loop Bandwidth (Hz)
    > SGPSIG 1.000
    > Velocity/Position Bandwidth Ratio
    > SGIRAT 1.000
    > Current Damping Ratio
    > SGVRAT 1.000
    > Velocity Damping Ratio
    > SGPRAT 1.000
    > Position Damping Ratio
    > DNOTAF 0
    > Notch Filter A Frequency (Hz)
    > DNOTAQ 1.0
    > Notch Filter A Quality Factor
    > DNOTAD 0.0000
    > Notch Filter A Depth
    > DNOTBF 0
    > Notch Filter B Frequency (Hz)
    > DNOTBQ 1.0
    > Notch Filter B Quality Factor
    > DNOTBD 0.0000
    > Notch Filter B Depth
    > DNOTLG 0
    > Notch Lag Filter Break Frequency (Hz)
    > DNOTLD 0
    > Notch Lead Filter Break Frequency (Hz)
    > SGINTE 1
    > Integrator Option
    > SGVF 0
    > Velocity Feedforward Gain (%)
    > SGAF 0
    > Acceleration Feedforward Gain (%)
    > -----------------------------------------------------
    >
    >
    > Regards,
    > JinHo"
    > NI Software :
    > LabVIEW version 6.0
    > NI Hardware :
    > Motion Control device PCI-7344
    > Driver Version :
    > no
    > OS :
    > Windows 2000
    > CPU :
    > Pentium
    > RAM :
    > 128
    > Vendor :
    > DELL
    > Customer Information :
    > Jin Ho Lee
    > North Carolina State Univ.
    > US
    > [email protected]
    > Ph: (
    > 919
    > )
    > 512-9929
    >
    >

    Yes, we used an NI PXI-7344 motion control card with an NI UMI-7764 box connected to a Gemini GV-U12E servo drive. (which is a drive only.)
    We did positional control in absolute position mode.
    I can send you an AutoCAD schematic detailing how to connect the UMI-7764 to the Gemini GV servo drive.
    In regard to the Rs232 interface to the GV servo drive,
    the GV drive only model is "configurable" not "programmable". You can create unique GV configuration files with Compumotor's Motion planner then download the configuration via Rs232 using LabVIEW as desired. Or, using LabVIEW via Rs232 you can change individual GV drive parameters on demand,
    or use the GV's two analog outputs back to LabVIEW's analog inputs to measure commanded motor current or torque, etc.etc.etc

  • How to use pci-6230 as position measure

    Can i use the following method to realiate position measure function?
    *  gpct_ex7.cpp
    *  Quadrature encoding
    *  Read a quadrature encoder using counter 0.  The counter is configured for X4 mode
    *  The initial value is loaded into the counter from the Load A register.
    *  Attach the quadrature encoder's A signal to pin 2 (PFI 39) and the B signal to
    *  pin 40 (PFI 37).
    *  $DateTime: 2006/07/27 23:51:45 $
    #include "stdio.h"
    #include "osiBus.h"
    #include "tTIO.h"
    void test(iBus *bus);
    void initMite(iBus *bus);
    int main()
     iBus* bus;
     bus = acquireBoard("PXI0::0::INSTR");
     if(bus == NULL){
      printf("Error accessing the PCI device.  Exiting.\n");
      return 1;
     //Intitialise Mite Chip.
     initMite(bus);
     //Calling test function
     test(bus);
     releaseBoard(bus);
     return 0;
    //Tell the MITE to link the  BAR1 address to the DAQ Board
    //You must initialize the MITE before you write to the rest of the PCI board
    void initMite(iBus *bus)
      tAddressSpace  bar0;
     u32 physicalBar1;
     //Skip MITE initialization for PCMCIA boards
     //(which do not have a MITE DMA controller)
     if(!bus->get(kIsPciPxiBus,0)) return;
     bar0 = bus->createAddressSpace(kPCI_BAR0);
     //Get the physical address of the DAQ board
     physicalBar1 = bus->get(kBusAddressPhysical,kPCI_BAR1);
     //Tell the MITE to enable BAR1, where the rest of the board's registers are
     bar0.write32(0xC0, (physicalBar1 & 0xffffff00L) | 0x80);
        //bar1 = bus->createAddressSpace(kPCI_BAR1);
     bus->destroyAddressSpace(bar0);
    void test(iBus *bus)
     tAddressSpace  cardSpace;
     tTIO *board;
     cardSpace = bus->createAddressSpace(kPCI_BAR1);
     board = new tTIO(cardSpace);
     //Reset
     board->G01_Joint_Reset_Register.writeG0_Reset(1);
     //Disarm
     board->G0_Command_Register.writeG0_Disarm(1);
     //load initial value of 0
     board->G0_Load_A_Registers.writeG0_Load_A(0x00000000);
     board->G0_Command_Register.writeG0_Load(1);
     //set the counting mode to quadrature encoding X4
     board->G0_Counting_Mode_Register.setG0_Encoder_Counting_Mode(3);
     board->G0_Counting_Mode_Register.writeG0_Index_Phase(3);
     //set source to the internal timebase (20 MHz)
     board->G0_Input_Select_Register.writeG0_Source_Select(0);
     //set gate
     board->G0_Input_Select_Register.writeG0_Gate_Select(2);
     board->G0_Mode_Register.writeG0_Gate_Polarity(0);
     board->G0_Mode_Register.writeG0_Gating_Mode(2);
     board->G0_Mode_Register.writeG0_Trigger_Mode_For_Edge_Gate(3);
     //set counting direction to Gate IO connector
     board->G0_Command_Register.writeG0_Up_Down(2);
     //arm counter
     printf("counter value is 0x%08lx\n",
       board->G0_Save_Registers.readRegister());
     board->G0_Command_Register.writeG0_Arm(1);
     //delay long enough for the quadrature encoder to turn a few times
      long int i,j;
      printf("waiting...\n");
      for(i=0;i<1000000;i++)
       for(j=0;j<3000;j++)
     //read counter value
     //Use this method to read the value of an armed counter
     //during non-buffered counting.  Since the value of the counter may
     //change during the read, we make sure that the value is stable.
     unsigned long counterValue1, counterValue2;
     counterValue1 = board->G0_Save_Registers.readRegister();
     counterValue2 = board->G0_Save_Registers.readRegister();
     if(counterValue1 != counterValue2)
      counterValue1 = board->G0_Save_Registers.readRegister();
     printf("counter value is now 0x%08lx\n",counterValue1);
     //Disarm
     board->G0_Command_Register.writeG0_Disarm(1);
     delete board;
     bus->destroyAddressSpace(cardSpace);
    when this sentence  "board->G0_Load_A_Registers.writeG0_Load_A(0x00000000);" is excute i cannt use AO function again,can anybody tell me why? and there is another question

    This used to be a problem with Excel 2003 though I thought it had been fixed with the more recent versions. I've only seen this issue when using named sets in a calculated measure and not when the set is defined within the calculated measure and that's corrected
    by declaring EXISTING before the named set reference as below.
    SET [Member Descendants] AS
    [Calendar].[By Year - Quarter - Month].CurrentMember.CHILDREN
    MEMBER [Measures].[Estimate] AS
    IIF(
    ISLEAF([Calendar].[By Year - Quarter - Month].currentmember),
    IIF(
    1=1, // Simplified for examples sake
    [Measures].[Actual],
    [Measures].[Budget]
    SUM(
    EXISTING [Member Descendants],
    [Measures].[Estimate]
    EXISTING will force the named set to be evaluated with the context of each cell evaluation.
    Martin Mason Wordpress Blog

  • PCIe-6321 frequency measurements

    I am trying to use a PCIe-6321 to perform a simple frequency measurement (800-2500hz).  Are there daqmx functions for frequency measurments?  I tried some of the CVI examples but they throw error messages.  Is there an example were I can measure frequency on one of the analog inputs?

    Your card have both analog inputs and counter inputs; they behave differently and for each of them there is a set of examples that explain the basic measurement types together with cabling.
    Search with the example finder (Help >> Find examples... menu item) with "counter/timer" keyword and you'll find the examples you are looking for. Also looking for "frequency" drives you to the same examples.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • I couldn't install PCIe 6321 with Simulink 2010a

    Hello,
    I have NI DAQ card (PCIe 6321). I tested it using the NI software but I couldn’t find the DAQ number in SIMULINK MATLAB 2010a to install it.  Please how can I solve this problem?
    Best Regards,
    Maher

    Hello Jim St,
    I'm using MATLAB SIMULINK to implement voltage control. I measure the voltage (Analog input) then implement my controller using Simulink MATLAB (Digital PI controller) and finally send the control signal (Analog output) to the process. I use the real time windows target toolbox in the SIMULINK to build analog input and the analog output. Unfortunately, I could find my DAC number in the list of National Instruments which is defined by the SIUMLINK MATLAB so I could not interface the MATLAB with the NI card. My card number is PCIe 6321 and I’m using MATLAB 2010a.
    Best Regards,
    Maher

  • DAQmx - Measuring edge position (time) with a counter ?

    Hi all,
    I have two signals that I need to study using a USB 6212 (BNC) card:
    (1) a short 0-8V signal (~500 ns) (yellow on the plot)
    (2) a long signal (~6 µs) for which I have to measure the amplitude (purple on the plot).
    The long signal (2) has to be connected to an analog input so that I can measure its amplitude. In addition, given the duration of the pulses, I need to use the max speed for the ADC conversion. That's why I'd like to use a counter for the other signal and not a second AI (it wouldn't work anyway given the short duration of the pulse (1)).
    Initially, I wanted to measure the amplitude of (2) only if the short pulse (1) occured, which is possible with a trigger on the AI channel, but in this case I get a too long deadtime and the acquisition is very slow.
    To speed up the process, I wanted to record all the data with the AI and the times at which the signal (1) gives a rising edge to post-process everything later (using a FIFO I guess).
    So my question is wether it is possible to measure the position (ie the time) of an edge of a signal with a counter ?
    The signals measured with a scope are shown on this picture:
    http://lpnhess.in2p3.fr/~bolmont/NI/outhg1.png
    Thanks a lot for your help !
    Cheers,
    JB
    JB

    Greetings,
    Please see 8-3 of http://www.ni.com/pdf/manuals/371931f.pdf
    This shows that you can use the counter to record the current value stored in the counter that is being driven by a clock. This has the upshot of creating an array that has the times of the event. To do this, you need to set the source and gate properly. These can be set first by configuring the counter to Count Edges (see DAQmx Create Channel) and then updating the CI.CountEdges.Term (in the DAQmx Channel Properties) to the channel that has your signal and SampClk.Src (in the DAQmx Timing Properties) to a known clock, such as the onboard SampleClock.
    Keep in mind, the specs for the digital ports (which I assume include the counter ports) have a maximum voltage rating of 5.25 volts, so while it probably won't make a difference, you might want to divide down the voltage to be within spec.
    Of course, there are other ways to do this. For instance, you could just sample a digital port along with your analog port and then in post processing look for edges, but I feel like this is the cleanest way to do it.
    In any event, it seems very possible.

  • How to measure frequency with PCI-4474 card

    Hi,
    I'm trying to measure frequency with PCI-4474 card.
    Any sample code available?
    Thanks.

    Hi,
    Thank you for posting the the NI forums.  There aren’t any example programs that ship with the DSA drivers.  Will you be using this with the Sound and Vibration Toolkit?  If so, there are numerous examples that install with this software package.  Check out the LabVIEW Example Finder >> Toolkits and Modules >> Sound and Vibration Toolkit. 
    In addition to this, you could also use the signal processing VIs that ship with LabVIEW.  There are also examples that ship with LabVIEW that use these VI in Example Finder >> Analyzing and Processing Signals FFT and Frequency Analysis.  There is an entire Signal Processing palette that should contain the functionality that you need.
    I hope this helps.  Post back if you have further questions. 
    Ed W.
    Applications Engineer
    National Instruments

  • PCIe-6321

    hello everyone,
    I'm noby on LabWindows, I'm working on the NI PCIe-6321, pending delivery of NI PCI 6115 for my project (data acquisition pressure sensors)
     my question is how can we save the data acquired in a txt file when memory card is full and clear it after, is there a function ?
     for the momemt, I work with an example of daqmx LabWindows for a voltage measurement: ContAcq-ExtClk-DigStart
     thank you

     hello,
    Thanks for all the explanations, using the function outside the loop, she generates a file of 1000 lines, but by using it in the loop with  numchannels =2 (for example) she generates two columns 500 lines, now I see clearly the difference.
    for my project data acquisition with pressure sensors in your opinion it is more convenient to use a push button or a timer I opted for the 2 solution and I intend to set the timer to record such data at each interval of time, once I have all the data recorded in my file I'll do my traitememt. if you have other solutions?
    thx
    Annuler les modifications

  • Data acquisition and frequency generation togather with PCI-6251 and LV8.2

    Hi friends,
    I am a new user of Labview. I am using LB8.2 with PCI-6251 .
    I have to generate frequency and then measure the data and then for next frequency and so on.
    i know that for this i have to use looping and that is not a problem. The real problem for measurement is to identify whether the frequency is been generated. if yes then measurements starts otherwise it should wait until it started. then after finishing the measurements send a signal to generator for changing the frequency and amplitude.
    Now these two things {generation and measurement} togather are not working correctly for me. so i make 2 diff file, one for generation and other for measurements <by modifying the examples>. I can run both file togather and it works. But it need lots off effort and time. I have to measure from 10Hz to 1000Hz in 2Hz frequency step and i cannt leave in between .
    can anyone help me how to syncronize these two togather .
    Trying to attatch. both the files here ..
    main_v1.1.vi --> for Measuring
    Oscilloscope.vi --> for waveform generation
    Attachments:
    main_v1.1.vi ‏150 KB
    Oscilloscope.vi ‏37 KB

    Hay thnx dude..
    I found the example and now it works
    once again thanks a lot

Maybe you are looking for

  • Cannot charge my iphone 6 after updating to ios 8.3

    Dear Sir/Mdm After updating my iphone 6 to ios 8.3, and also updating the carrier setting, now, I cannot charge my phone.  I have tried so many different USB cables, all failed. Now, I unplug the cable, the phone will show the battery icon with the c

  • IPad2 Cellular Data Account

    When trying to access my cellular data account with Verizon, it brings up the screen to type in user name/password but won't acknowledge that I am typing anything in. IPad problem? or Verizon?  Any help would be greatly appreciated!

  • Setting up a RAID of system drives

    hello everyone, I am looking to add a second system drive for more hd space. I was planning on purchasing a second Raptor and setting up a RAID 0. will I need to format my existing drive, or can I just plug in the new drive and set up my RAID in DU?

  • How do I merge events - not just combining pictures into one event?

    I have a iPhoto 09 and haven't upgraded yet. I have a bunch of events and it's hard to get through all of them. Can I combine the events while retaining the seperate events? Sort of an event within an event; not adding all the pictures from one event

  • .dbc file in R12

    I am not able to find .dbc file under $FND_TOP/secure in my R12 installation. Can any one provide me information on where to find .dbc file?