Variable scale for daq signal

I hope this is not painfully simple to most of the people on this forum but I have an application where I set up a test bench to do testing on a component that have varying reponse piece-to-piece. For example, one component might have a voltage of 0.6 to 3.75 for the desired range while another can be 0.5 to 3.9.
Being a noobie, I heavily rely on DAQ Assist and this is not an option (user-input slope, etc.)  Do you know the best way to go about this?   I looked at creating a virtual channel through daqmx but it seems that it will only take a predefined scale you set up as opposed to allowing the user to define that scale.
Please help!
Thanks
KM

You seem to be mixing up some terms. It seems you are talking about range of the signal that you are measuring and not the scaling.
If it really is the range, then based on your example, you probably don't need to change anything. When you provide the range values, what you are telling the DAQmx driver is what actual range of the daq device to use to best measure the signal. For example, if the device has actual ranges of +/- .1V, +/- 1V, +/- 5V, and +/- 10V, then it will use the +/- 5V range as the best fit for the signal you anticipate. So, in your example, the actual range used by the DAQ device is going to be the same. You can check the manual for the DAQ device to see what ranges are supported. If you actually do need to switch ranges, then the best thing to do is use the lower level DAQmx functions. The DAQmc Create Channel has inputs for min and max.

Similar Messages

  • Changing time scale for mixed signal graph

    I want to change time scale for mixed signal graph 1 day or  5 day of realities?

    And what exactly are you having problems with? If you want to use a property node, it's Xscale.Maximum.

  • How to create and use scales for DAQ-6014 in Labview?

    Hello,
    In my application, I use the DAQmx-driver to read the 16 analog input terminals of my DAQ-Card. I create a task with all the 16 channels and define for each channels the input domain (from 0 to 10V) and configure them as NRSE. Then I configure my task to measure the waveforms during 10s with 1000 Hz each time I need it.
    The waveform I measure are raw data and I need to scale them to get a mesurement with physical signification. This is actually done after each measure, which costs a lot of time (almost 5 seconds). Then I tried to use the DAQmx Create Scale.vi to create scales and attach them to the channels during my task creation. The creation of scale works fine and I can attach them to the channels. But when I do my measure, I get the raw data - unscaled.
    I have no idea, what I am doing wrong. I look for some examples on how to use the DAQmx Create Scale.vi but I can't find none.
    Does anybody already have some experiences with this VI?
    Cheers,
    Olivier

    Hi,
    May be I don't get exactly what you mean with:
    "Right click On DAQmx read and check the options with DAQmx AI read (it is a polymorphic VI) ."
    I set the DAQmx read polymorphic VI to the option "Analog 1D Wfm NChan NSamp".
    Anyway, I send you 3 VI:
    - NIDAQ_6014_CreateScales.vi: where I create my scales
    - NIDAQ_6014_StartAIN_Scaled.vi: where I create my task and use the scales
    - Measure.WaveFormReader.vi: where I read my data
    May can you see what is wrong.
    Cheers.
    Attachments:
    Measure.WaveFormReader.vi ‏39 KB
    NIDAQ_6014_CreateScales.vi ‏22 KB
    NIDAQ_6014_StartAIN_Scaled.vi ‏29 KB

  • I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.

    I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.
    In particular, I am analyzing the example "Even Angle Reference Signal Processing (Digital Tacho, DAQmx).vi", whose documentation I am reproducing in the following:
    <B>DESCRIPTIONS</B>:
    This VI demonstrates how to extract even angle reference signals and remove the slow-roll errors. It uses DAQmx VIs to acquire sound or vibration signals and a digital tachometer signal. This VI includes a two-step process: acquire data at low rotational speed to extract even angle reference; use the even angle reference to remove the errors in the vibration signal acquired at normal operation.
    <B>INSTRUCTIONS</B>:
    1. Run the VI.
    2. On the <B>DAQ Configurations</B> tab, specify the <B>sample rate</B>, <B>samples per channel</B>, device and channel configurations, and tachometer channel information.
    <B>NOTE</B>: You need to use DSA PXI-447x/PXI-446x and PXI TIO device in a PXI chassis to run this example. The DSA device must be in slot 2 of the PXI chassis.
    3. Switch to <B>Extract Even Angle Reference</B> tab. Specify the <B>number of samples to acquire</B> and the <B># of revs in reference</B> which determines the number of samples in even angle reference. Click <B>Start</B> to take a one-shot data acquisition of the vibration and tachometer signals. After the acquisition, you can see the extracted even angle references in <B>Even Angle Reference</B>.
    4. Switch to the <B>Remove Slow-roll Errors</B> tab. Click <B>Start</B> to acquire data continuously and view the compensate results. Click <B>Stop</B> in this tab to stop the acquisition.
    <B>ORDER ANALYSIS VIs USED IN THIS EXAMPLE</B>:
    1. SVL Scale Voltage to EU.vi
    2. OAT Digital Tacho Process.vi
    3. OAT Get Even Angle Reference.vi
    4. OAT Convert to Even Angle Signal.vi
    5. OAT Compensate Even Angle Signal.vi
    My question is: How is the synchronization produced at the time of the compensation ? How is it possible to eliminate the errors in a synchronized fashion with respect to the surface of the shaft bearing in mind that I am acquired data at a low rotation speed in order to get the "even angle reference" and then I use it to remove the errors in the vibration signal acquired at normal operation. In this application both operations are made in different acquisitions, therefore the reference of the correction signal is lost. Is it simply compensated without synchronizing ?
    Our application is based on FPGA and we need to clarity those aspects before implementing the procedure.
    Solved!
    Go to Solution.

    Hi CracKatoA.
    Take a look at the link bellow:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=255126&requireLogin=False
    Regards,
    Filipe Silva

  • What is the best achitechture for DAQ?

    Hi all,
    I'm using lv 8.5 winXP, and I'm trying to control a custom-made camera by DAQ card. Attached is a state of the top level state machine, which is the core of my program. On the top part there is DAQ funciton, containing synchronized AI and DO tasks. In the middle there is logging function, and the bottom part is displaying function (convert the raw data to visible images). And I used a queue and a notifier totransfer the data. I think that's the typical achitechture for DAQ.But as the program grows, I found it is hard to handle. I wanna develop an achitechture like queued state machine for this program. And I may need to add some data analysis function and return the result to DAQ as feedback (close-loop control).
    Is it a good idea to put DAQ in a state machine? Did some one do that or could you give me any example?
    At this moment, all I can do is to split the whole program into 'states'. and I want to create subvi for each state (to make code clearer). I found it weird putting queue and while loop in a subvi. Any suggestion?
    Best wishes,
    Bo
    My blog Let's LabVIEW.
    Attachments:
    state_run DAQ_BD.png ‏60 KB

    Most of the previous replies are focus on the low level, so here is a top level reply.
    MVAS - is the top level app and loads the other components. When acq time comes it loads and starts the acq process (Collect).
    Collect - Starts up the logging process (Logger) then the acq code (Collector) then sits back and keep the GUI updated with data coming from the "Collector".
    Logger - Start by creating a queue through which it will recieve updates and then watches for updates and commands to start/stop logging.
    Collector - Acepts queue refs from "Collect" to tell it who should be updated and respondse to commands.
    I prefer to send commnads to explicitly tell loops to shut down (rather use an error to signal this) and I let the reciever of queue data to kiil the queue.
    I hope this gives you another way of looking at your code.
    have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • How should i do?when i use the sc2345 for analog signal acquired!

    please help me!
    I have to use the sc2345+NI6221 for analog signal acquired. but i don't have a analog input module such as SCC-AIXX.
    So I want to pass the signal to the DAQ device. how should i do to connect the wire on the sc2345?
    how can I use the sc2345 for a pass connector?
    Thank you very much and look forward to your reply...
    Solved!
    Go to Solution.

    What kind of signal do you want to acquire?
    If it does not need any conditioning, then, you can connect the signal to 6221 with a terminal block such as SCB-68.
    Best regards,
    NISH AE Haiping.Fei

  • Does anyone have a more detailed description on the functions of the DAQ Signal Accessory Demo Box?

    I have just purchased the DAQ Signal Accessory and have read the manual but like more information on the various funtions of this box. Can anyone provide more detail information or schematics?

    Joey,
    That's going to be a question for the NI sales or support team.
    Start by going to ni.com/ask. They may actually have something on the website. This is a very powerful site for getting support, finding software and drivers, as well as patches. If you start a support question, you will be given a bunch of links. Be sure to enter the model or name of the signal accessory as well as other pertinent information in the question, as this is the query to search all of NI's databases.
    Unfortunately, I don't think you will get a schematic diagram for this. It is proprietary technology, and National Instruments is very protective of such information, as they should be.
    If you have a specific question, perhaps someone here can help.

  • Command a ventilator with USB6251 and The Daq Signal Accessory

    Hello,
    I would like to make a school project using Labview and the USB6251 connected  to the Daq Signal Accessory Board.
    The Labview program must read continuously the temperature from the temperature sensor (AI channel 4, internally connected) from the Daq Signal Accessory Board. When the temperature reaches an established value, then a led on the front pannel must be turned on and an output singal from the Daq must start a ventilator connected to the Daq which cools down the sensor and then stops.
    Would it be possible to do something like this? Even if I generate a square signal and the ventilator runs only on the high state of the signal. The ventilator requires at least 120 mV DC current. I am afraid that if I take such current from the Daq I might damage the device.
    Thank you.
    Solved!
    Go to Solution.

    I guess you mean 120 mA DC current . If you look at your daq board spec you will find that the max current are far bellow 120 mA. This is true for both analog out and digital out. Take a look at this site it may help out some. http://www.me.umn.edu/courses/me2011/robot/technotes/motorcontrol/motorcontrol.html cool site. If you want speed control you have two options PWM or regulating the motor voltage.
    Good luck
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Looking for DAQ Hardware

    Hello,
    I have been using LabView 5.0 for a few years to program, control
    & retrieve information from the GPIB bus. I want to get into DAQ
    programming. Where I work, we do not have much in the way of DAQ
    hardware, so I am going to attempt to purchase what I need to play at
    home in my spare time.
    Looking for:
    ** DAQ card, preferably PCI for Windows 98: (PCI-MIO-16E-4 or 10)
    ** Signal conditioning hardware that will work with the PCI-MIO series
    card I am looking for.
    Please reply to: [email protected]

    Chip,
    If you are planning on using a breadboard for experimenting with you'e DAQ
    board take a look at http://www.vicsys.com/pcbprods/bbdaqcvt.htm. It is an
    inexpensive way to easily connect you're DAQ board to you're breadboard. I
    also have some older used DAQ boards for sale at
    http://www.vicsys.com/usedbrds/usedbrds.htm if you want to save a few bucks
    on you're DAQ board.
    Best Regards,
    Neal Pederson, President, VI Control Systems
    1923 Mendius Lane, Los Alamos, NM 87544
    TEL: (505) 662-1461, FAX: (603) 388-4969
    [email protected], www.vicsys.com
    Chip Henkel wrote in message
    news:[email protected]..
    > Hello,
    > I have been using LabView 5.0 for a few years to program, control
    > & retrieve information from the GPIB bus. I want to get int
    o DAQ
    > programming. Where I work, we do not have much in the way of DAQ
    > hardware, so I am going to attempt to purchase what I need to play at
    > home in my spare time.
    >
    > Looking for:
    > ** DAQ card, preferably PCI for Windows 98: (PCI-MIO-16E-4 or 10)
    >
    > ** Signal conditioning hardware that will work with the PCI-MIO series
    >
    > card I am looking for.
    >
    > Please reply to: [email protected]
    >

  • Why not add a scale for accessing both scaleX and scaleY (class extensions in as3?)

    I've considered and am suggesting there be a scale for both scaleX and scaleY (via a setter & getter function)
    I think that one might get confused trying to get a value out of scale if scaleX and scaleY are different, but...
    You could throw an error when using a variable scale (getter only) if they (scaleX&scaleY) are different, and return the value if they are the same.
    It could throw more a warning and return the scaleX or scaleY or an average, and or possible have a policy (although again I can see this may seem potentially more confusing.)
    I remember with ObjectiveC you could/can create a class extension that would extend a class that already exists pervasively like String.
    This way you could alter functionality like this where all onjects have inheritend from a DisplayObject or whereever scaleX & scaleY are. Subclass as an Extension Class this deep lying class and add that kind of ability without needing to do it to all of your higher level classes (or other such tricks String Utility Classes etc.), which as I recall existed in ObjectiveC (and other langauges) no doubt because it was simply impossible to achieve the same effect any other way.
    Is there such a way in AS3 to extend a class? Is it impossible for some reason?
    May appologies if I've got the terminalogy wrong, please clarify if I'm searching for the wrong keyword on this thanks.
    Anyway I still think putting something like
    myCircle.scaleX *= 0.9;
    myCircle.scaleY *= 0.9;
    or
    myCircle.scaleY = myCircle.scaleX *= 0.9;
    or
    myCircle.scaleX *= 0.9;
    myCircle.scaleY = myCircle.scaleX;
    is not as nice clean as
    myCircle.scale *= 0.9;
    would be. I think my thoughts on explaination for why and a simple possible selection of solutions (throw catchable/discargable errors/warning or alterable policies).

    TCP has retry logic. The timeout period varies by OS and configuration. TCP will typically retry three times and wait for the timeout period to expire before reporting an error. I do not believe any OS will fail in less than two minutes with the standard timeout and some systems go to 5 minutes.

  • Is it possible to use PCI-1200 on the DAQ Signal Accessory?

    Is it possible to use PCI-1200 on the DAQ Signal Accessory? The documentation for the Daq signal accessory did not mention explicitly whether it
    supports the PCI-1200 specifically or not?

    Hi,
    Yes, you can. According to the manual, the DAQ Signal Accessory is compatible with Lab / 1200 series devices -- this includes the PCI-1200 card.
    Regards,
    RamziH.

  • Variable subsitution for target file names

    Hi All,
    I am using variable subsitution for dynamic file names. I am using the multimapping for multiple files in the target.So i coluld not able to use the dynamic configuration for file names. Now i want to replace all the spaces in the filename to underscore.
    For example
    My payload filed value "file name in the target file".
    Now my filename  "file_name_in_the_target_file".
    How to achieve this using Variable subsitution.
    Regards,
    Ramalakshmi.G

    Use replaceString Function.
    file name
    Constant (" ")               --> replaceString -------> TargetField
    Constant ("_")
    Regards
    Ramesh

  • Print Layout Designer - Different Variable No for Different Currencies

    Hi Experts,
    I will need your support once again.I just noticed that the Withholding tax field on the Invoice print layout displays only when the transaction is in Local currency,while trying to trouble shoot this issue, I discovered that the Variable Number for the withholding Tax field for transactions in Local currency differ from that of USD transactions.
    I need this field to display irrespective of the currency, how can I achieve this? Can I get a comon variable number for that field ?
    Any info will be highly appreciated.
    Kind Regards

    Hi Chike,
    The answer is no.  You can not change them because they hold different values. If you want to use one PLD to print both LC and FC, you have to use many formula fields to do so.
    Thanks,
    Gordon

  • How do i filter the records in analytic view by using variable/parameter for a time range

    i have a analytic view which has a output column as date type. i want the user who use this view have the control to decided the output records based on a time range (from x to y).
    i tried to create 2 variables, 1 for start_time, 1 for end_time. Ideally, i should have a expression for filtering data like this:
    $$start_time <= date_column <= $$end_time
    However, the variable windows doesn't seem to be feasible for the expression as above.
    Does anyone has the same problem and get it solved?
    Thanks!

    just figured out by my own. So the answer is using "variable" with "range" option.
    Making a variable, then set the "selection type" to "range".
    When preview the data, the variable input window pops up with operator on default "equal", use dropdown list to swtich it to "between", then you can enter the start_time and end_time as a range filter.

  • Variable Exit for YTD using posting period

    Hi Friends,
    I need to calculate the YTD amount per user entry, i.e., when user enters the posting period value as 5 the Actual value should calculate the amount for posting period 5 and Actual YTD value should calculate the amount from Period 1 - 5.
    I'm getting the same amount as period 1 for YTD as well....I created a two variables for YTD , one is with single value optional with default value as 1 not ready for input and another variable as customer exit with single value. In the exit I'm reading the user entry value as my 2nd variable value. Then I'm using these two variables as range in RKF with key figure and value type.... i.e,
      WHEN 'ZTEST'.
    data:      zper     TYPE t009b-poper
        if I_STEP = 2.
          READ TABLE I_T_VAR_RANGE INTO ZPER WITH KEY VNAM = '0P_PER3'. " this is the mandatory user entry for Actual value
         l_s_range-sign = 'I'.
         l_s_range-opt  = 'EQ'.
         l_s_range-low   = zper.
          append l_s_range to e_t_range.
    ENDIF.
    Thanks
    sam

    I used the range and when I use RSRT to test the query , I'm getting the exact variable values in the result example if I give the input as year = 2010 and Posting period = 3 - 6
    I'm getting the variale values for input as 3-6 and variable values for Actual YTD as 1-6 but the Actual YTD value is showing the same value as Actual.
    I have the cost element heirarcy as the row item. I'm not sure If we are allowed to use heirarchies in the rows when we are using the above logic for YTD?  Also when I drill down by posting period I could see all the values in Actual YTD but when I removed drill down it is only showing the value for 3-6 just as Actual....Please advice
    My Key figure in the RKF is a cumulated balance...Does it causes the YTD values and Actual values same?
    Example result below for Period input 10:
    Posting period Actual        Actual YTD
    1xxxxxxxxxx     xxxxxxxxxx     210,587,416 USD
    2xxxxxxxxxx     xxxxxxxxxx     172,717,190 USD
    3xxxxxxxxxx     xxxxxxxxxx     178,563,365 USD
    4xxxxxxxxxx     xxxxxxxxxx     160,894,981 USD
    5xxxxxxxxxx     xxxxxxxxxx     145,730,654 USD
    6xxxxxxxxxx     xxxxxxxxxx     109,796,716 USD
    7xxxxxxxxxx     xxxxxxxxxx     108,377,441 USD
    8xxxxxxxxxx     xxxxxxxxxx     95,732,276 USD
    9xxxxxxxxxx  xxxxxxxxxx     88,925,649 USD
    10xxxxxxxxx     107,755,724      107,755,724 USD
    Overall Result     107,755,724      107,755,724 USD 
    thanks

Maybe you are looking for

  • Windows 7, Adobe Reader 9.0 - Print to PDF

    How do I add an Adobe PDF printer driver. I just bought this new laptop with windows 7.  I haven't even installed a printer yet because I had to buy this "on the road" when my last laptop failed.   I want to "add a printer" to make it an available se

  • Feature request: source function in PKGBUILD

    I suggest to add an optional source function in PKGBUILD so that you can use makepkg -o also with packages that download the source without using the source array. It would be very useful for git packages and the like, overall if the user is interest

  • Java odcb statment "LIKE" causing problems

    I'm working on some java+ odbc and i'm trying to execture a query, Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");                 String dataSourceName = "sgdat";                 String dbURL = "jdbc:odbc:" + dataSourceName;                 Connectio

  • Photoshop CS6 - question about 'Classroom In A Book' Lesson 4

    I am teaching myself Photoshop CS6 using Adobe's "Classroom in a Book." In Lesson 4, I am supposed to be able to open the Satin Layer Style from within the Drop Shadow Style Layer. It does not work!!! When I click the Satin check box, nothing happens

  • Why can't Adobe continue to support and create updates.....

    Why can't Adobe continue to support and create updates for MAC G5 OS X Tiger? I'm sure I'm not the ONLY owner and operator of this MAC machine. I'm finding it VERY frustrating how your comany, JAVA and Apple of just written this machine off. You know