Acquire 2 digital signal of custom scale (Engg units)

I am a newbie to the world of DIO.

I write a VI to acquire 2 digital signals. one of a load cell and others for engine rpm (legumes). I need acquire these two signals and then convert them to engg units using the custom scale and write it in a txt file with timestamp.

Please suggest the best ways to accomplish this task.

Thank you

DAQG

Look at the examples on DAQmx in the finder of the example.

You would not really acquire 2 digital signals.  You would acquire an analog signal of the load cell.  A digital acquisition or against, this is what would make you the acquisition of the motor.  Looking for analog and the counter measures in the finder of the example.  Some of the example should show you how to apply the custom scale.

Tags: NI Software

Similar Questions

  • PCI6120-acquire an analogue signal on each edge of a digital signal

    Hello

    I have the card PCI-6120 and Labview 7.1.

    I have a digital signal of the encoder. Am interested in buying an analog voltage on each rising edge of the digital signal. In addition, I have another digital signal (index) between which I wish to make the acquisition.

    I tried several options. But I can't get on the digital dashboard via the hardware. Please help urgently. Alternative, I migrated to the acquisitions acquisition high speed analog and two digital channels and deteting change in software programming and then find the analog voltage. Which is heavy and inefficient.

    Kindly guide correct programming technique.

    Concerning

    Marie-Hélène

    Hi, Maud.

    Thanks for the update and I hope that your well today.

    Sorry for the delay but it was the Easter holidays!

    Thank you for your congratulations.

    I put your sampling frequency at the maximum rate of the clock source (encoder). The DAQmx driver uses the sampling frequency (and the number of samples per channel) information to perform various calculations and set sizes for the buffer.

    If you set it too high, nothing will happen-guests still just on each edge of the unit receive. If you set it too low, your stamp could be too small and you may lose data.

    Hope this helps,

  • DAQmx custom scale: How do you define minimum and MAXIMUM values?

    Hello everyone,

    I am currently using LabVIEW 2010 and meet the following problem with DAQmx custom scale: first, I created a custom linear scale (ordered originally = 0, slope = 50) and then a string that uses this scale. The real signal acquired from a NOR-9205 (module I) is in the order of-8 / + 8 Volts; When I try to read the measurement of the chain, it seems saturated.

    I discovered that the change HAVE. Max and the AI. Min by a DAQmx channel property node I can improve the situation, but the fact is: I was not able to define a range of-1000 / + 1000 for instance because it exceeds the maximum allowed, and I get an error!

    So, it is the custom to scale?

    No one knows how to fix?

    It seems not to be any possibility of having a large scale factor! If I want to convert 1V 1000V I will never reach it!

    Thank you much for the help.

    B.

    Hello

    The custom scale will be the function that converts the voltage to some units, you can.  If you use a linear scale, it is in the form:

    Data units user = m * wine + b

    where m is the slope and b is the intercept at the origin wine is what happens to the analog input channel.

    The MIN and MAX define you are the min and min AFTER the scaling.  So if you want 1 volt in Ain channel to appear as 1000 in the code, you:

    m = 1000, b = 0

    Then your MAX and MIN is limited to-10000 and 10000 when DID channel lies between +-10V.  By selecting a MAX or MIN outside this range will cause an error and numbers read apart from this will be so much saturation.

    9205 a selectable ranges: ±200 mV, ± 1, ± 5 and ±10 V programmable input ranges.   I haven't used the 9205 so I don't know if this range is automatically selected or the user defined in the module preferences.   Whatever it is, it will have a possible effect that MAX and MIN are.

    For example.

    If you did what you said and used slope = 50 and intercept = 0 AND you got the system set to ±10 volts, while the MAXIMUM and minimum that you can set are limited to ±50 * 10 = ±500.   So if you try to put a maximum of 1000 in there, you will get an error because it needs to be at + 500 to-500.   Your saturation occur at ±10 volts (what is scale ±500)

    If the interval is set to +-1 volt, your MAX and MIN should be within-50 to + 50.  All values apart from this will produce errors.  and if you try to read voltages above + 1 volt (+-50 scaling), there will be saturation.

    I hope it is clear and useful.

    -Alex-

  • How do I configure other digital ports except port 0 of daq 6351 acquisition of digital signals

    Mr President.

    I can acquire digital signals using 8 lines of port 0, but I have to get the waveform Digital 24-bit. So please tell me how to configure other DIO ports so that I acquired digital signals using these DIO line also

    You should be able to create a task DAQmx to read Port0, Port1 Port2.  When you read the DAQmx data, you must combine the port if necessary data table.

  • Generation of digital signals through external trigger pulse on PCI 6251

    Sir I want by NI 6251 because I read it has the ability to generate and acquire digital signals on port 0. I want to know that can I generate external clock wave triggering (providing impulses to a line on the acquisition of data)?

    Hi Ali211,

    Yes, you can use a source of sample for the digital input/output clock external clock. You can connect the external clock source to one of the lines PFI (PFI0-PFI15) and specify the source clock sample like this outer line of PFI.

    There are some shipping DAQmx examples that you can start with. Find the examples by clicking Help > find examples in LabVIEW.

    DAQmx continually reading digital channel with External Clock

    DAQmx channel External digital writing Clock

    Hope this helps.

    Chris G

  • How can I check the voltage values on the acquisition of data with a data acquisition assistant and the custom scale?

    I use a custom scale and the DAQ assistant to acquire data from a USB DAQ device.  How can I display voltage gross values at the same time?

    Thank you

    David

    Do not use the ladder custom, but read the raw data using the daq assistant and adapts the data later. Or the scale of the data using the inverse of the custom scale.

  • No digital signal to headphones Jack S/pdif - Satellite P100-227

    I have the Satellite P100-227, I brought a lot of different types of cables and adapters for trying to get a digital signal to headphones s/pdif Jack (the manual says that the helmet and S/pdif share the same socket). I tried a cable optical toslink to an adapter optical 3.5 mm but I can't not all digital audio of this laptop. It seems strange that there are a lot of output video but not audio Digital 5.1?

    Why can't they provide a daily normal production as an audio output optical digital toslink?

    Hello Chris

    I checked the specification for Satellite P100 - 227 (PSPA0E) and it is listed follow Note:
    Audio Line out Jack S/PDIF - not available

    Good bye

  • Apply the custom scale and add Boolean if I can connect on demand

    Hello

    I have a problem adding my custom code scale. I have a pressure sensor that works in the range of 4-20mA. So, I made a custom scale as you can see in the code and tried to connect the name of custom on the DAQ.mx scale. Which doesn't seem to work any suggestions?

    Another problem I have is I want to be able to log on to the application with a Boolean button. How to do that if I want to keep the ability to write data only to a determined time interval?

    Greetings

    DP


  • frequency of the digital signal 6009

    Hello, how to generate the digital signal with frequency 50 Hz using NI USB-6009?

    You can take a look at this:

    Can I use a generation of impulses with the counters on the USB-6008/6009 case?

  • Graph of digital signal using binary numbers.

    I need to generate digital signals 4.
    I have created a binary number which represents the 4 signals. (I don't know if I integrate it properly).

    Issues related to the:

    1. How can I represents the binary number (4 signals) in a digital chart?

    2 - is the right way to generate digital signals?

    I need something like this:

    Your code is meaningless.

    • Why you build an array with one element is there is always only one item?
    • Why are you doing floating point operations dealing with whren of integers?
    • Your VI does not have a digital signal graph.

    Try something like the joint to rotate the pieces...

  • Calculating the value of output with custom scale

    Hello

    I defined a custom in MAX scale.

    I want just to calculate the value of an input applied with this scale value.

    Process is simple:

    X-online custom-online output value scale

    in the process of

    Is there a way to do it simply (reminder: custom scale can be linear, polygon, table etc...)?

    Looks like you might need to check the interpolation
    http://zone.NI.com/reference/en-XX/help/371361J-01/GMATH/interpolate_1d/

  • generate a digital signal for 6722 or 6221

    Hello

    Thanks first for the help I'm already on this forum.

    Now, I have the following problem:

    I like to generate a digital signal: high for 300µs, low 300 µs, 300µs high, low 300µs, top for about 2 ms.

    I'm looking for a solution how to generate this numerical sequence. At the same time, I will read the information via an analog input (if all goes well, I now have a solution for this problem).

    I tried to find examples, but I failed. For the moment, I was not able to produce any numeric sequence that worked.

    My hardware is 6722 or 6221 - which should be OK with respect to the calendar.

    Thank you


  • Custom scale does not work in the task of the accelerometer

    I use a NI 9234 to measure acceleration. In the task of the acceleration, I set the sensitivity 1000 mV/g, and I try to use a custom scale to correct the actual sensitivity of the accelerometer (~10mV/g). The excitement is the internal value and 2mA. The input is AC coupled. When I run the task, the scale has no effect on the output values. With 1 G asked the accelerometer, the output remains ~.014G(pk) as a custom scale is used or not. This is normal behavior for a task of accelerometer?

    LabVIEW 2009 SP1

    NOR-DAQ v9.1.1


  • custom scales

    Is there a way to get custom scales that appear in my Explorer in MAX?

    Thank you

    Steve

    Hi, SCD,.

    The functionality of adding a scale existing DAQmx (maximally) to a project (and vice versa) has not yet been transposed. There is a proposal for a project, so that this feature will be added in the future. If all goes well, it will be as simple as drag / move, in addition to programmatically add the scales by reference VI or something similar.

    In the meantime, there are some workaround solutions, depending on your current situation. If you already have all your ranges able & Automation Explorer (MAX), you can export (file > export) scales only and then import them into the project. I suggest you create your ranges in MAX first that will allow you to do.

    You can find a VI 'DAQmx save Scale' under this palette:
    Configuration of the IO system"measure DAQmx' DAQmx advanced" "DAQmx storage

    After you have created your scale in LV, call this VI and it will record it as a "persistent scale" in MAX.

    DylanC

  • 2 digital signals keep using pxi 6544

    Hello

    I wonder how I can generate 2 digital signals that continues and I will able to make even phase, or different phase 1/2, or 1/4 different phases. And I need them to be able to their output in any channel (free) my PXI 6544.

    I've seen examples of generation (no script), but most of the examples shows just how to generate data in parallel. Generating script I use to achieve this? Repeat for the thing?

    Kind regards

    Yan


Maybe you are looking for

  • Firefox 4 seems to be incompatible with Windowblinds skins

    Any skin Windowblinds I use (with Windows XP), the shift to the right of Firefox 4 vanishes. When I remove Windowblinds, it reappears again, so the problem seems to be that compatibility.

  • Health

    When I go to add an emergency contact name I want to use looks like gray clear and does not let me use this name. There are a few names that appear light grey instead of dark gray and bring up information about that name. Anyone know what is happenin

  • return to yosemite without backup

    Hello My company changed its VPN and I need to install VPN software that is not installed on El Capitan, but I know that it can be installed on Yosemite and after El Capitan upgraded, there is work. I tried to install the application in various ways,

  • hppsc2210

    My HP psc 2210 won't ring when sending a fax. There is the fax tone, but there is no sound. It seems to meet the incoming faxes, but will not send outgoing faxes A few weeks ago there were thunderstorms, which invalidates one phone on one line differ

  • My computer has revoked the status of administrator MT!

    I had a power outage and now my computer is treat me as if I'm not the administrator. But there is only one profile and the administrator. Is it possible to restore the system or the 'real' administrator access?