Custom scaling of data without MAX?

Okay here's my problem. Hopefully you can help me or offer some helpful advice.
I am creating a user interface for data acquisition (only analog inputs are used). Thermocouples (Type J and Type K) will be used, as well as factory calibrated strain gauges. Some other sensors that can be linearized on a 0-5Volt scale might be used too.
I originally had my program set up where the user had to set up their channels in MAX and then come to the program I made. There will probably be a lot of scale/offset changes made by the users so channel configuration needs to be flexible. I changed the program to custom scaling. Instead of virtual channels the user just enters scale and offset values. These values are saved to a text configuratio
n file and later used on raw voltage.
Then I realized I would have to have the user input what type of sensor they are using because I'd have to compensate for CJC in thermocouples. AND, I dont think the SCC-TC02 is linear.
*Am I right in thinking I will have to use case structures when I finally scale data for LINEAR versus J THERMOCOUPLE versus K THERMOCOUPLE?
*How innacurate would my readings be to use the Labview's Thermocouple scaler VI and set the CJC to 1.25 volts (25 degC) rather than reading from Channel X+8.
*Is there an easier way to do what I'm trying to do? I know people do custom scaling, how is it done?
THANKS.
I have:
SC-2345 Module Box
SCC-TC02
SCC-SG24
LabVIEW 6.1

I'm not sure I see where your difficulty is.
I have always used custom scaling, MAX never did quite enough.
I have a cluster for each channel. The cluster contains a scaler (EU/Volt), an offset (EU@0V) and a channel type enum, among other stuff (channel name, units, filters, etc.)
When processing the data, look at the cluster for that channel. Use a CASE statement on the CHANNEL TYPE value. If linear, multiply the volts by the scaler and add the offset - you get EU (Engineering Units) out. If the channel type specifies some other type, use the appropriate linearization routine.
How innacurate would my readings be to use the Labview's Thermocouple scaler VI and set the CJC to 1.25 volts (25 degC) rather than reading from Channel X+8.
<
p>
Depends on which type TC, and where you are on it's range. You might expect 20 degrees or more error at the high end of some ranges, without proper CJC.
There's no easy answer to that question.
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Similar Messages

  • Signal scaling with cRIO without MAX?

    Using e.g. DAQmx and MAX it was possible to use different scaling and calibration options in MAX. Because the Project Explorer is used instead i can't seem to find any plug n' play solutions when using my cRIO and the onboard FPGA. Is it possible to do something similar in the project explorer as i MAX or should I just start multiplying my way there?
    Regards
    Soeren

    Hi Soeren,
    The best way to implement a scale is probably using the Scaling and Mapping express VI in LabVIEW. It has the same basic functionality as a scale in MAX.
    Best regards,
    Peter Porsman | Applications Engineer | National Instruments

  • How can I Customise Firefox to Print the Date without the Time (Date/Time in Printing Defaults)?

    ''duplicate - https://support.mozilla.com/en-US/questions/834814''
    What is the custom print option within Firefox to print the date without the time?
    (e.g. 04/08/2010 instead of 04/08/2010 11:15, noting that using the custom print option "&D", also includes the time...)

    Firefox can have multiple home pages if you wish. Each home page that will open when starting Firefox is separated by the "|" character.
    See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    To have new tabs open a specific web site, add one of the following extensions:
    http://sogame.awardspace.com/newtaburl/
    https://addons.mozilla.org/en-US/firefox/addon/777

  • How to get only the date without the time in the footer of a printout?

    Is there a way to get only the date without the time in the footer of a printout?

    As far as I can tell, there's no built-in option to get the date printed without the time. It's hardcoded in a C++ file.
    As a workaround, you can enter custom text for the footer, but it would need to be updated every time the date changed. I can think of a couple ways to automate that:
    * An add-on (but I'm not aware of any add-on for this)
    * External process to push a new date into prefs.js, a settings file that stores your header/footer preferences, among others (but Firefox should be closed when you update this file, and it will be read when you restart)
    Not easy enough, I know.

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

  • DAQmx Custom Scaling Issue

    I have created custom scaling for DAQmx. I have the following issue similar to this http://forums.ni.com/t5/Multifunction-DAQ/daqmx-custom-scaling-setup-issues/td-p/805374.
    I am scaling a 0 to 5V signal to 0-100 sccm.
    the slope is 20 with a Y-intercept of zero.
    Everything scales fine up to 1.07V then it displays 21.56 sccm for any measurment above this voltage.
    Cant figure out what i am doing wrong. I have verified the DAQ card is measuring volts correctly above 1.07 in NImax.

    teslaaaa wrote:
    Thats not how i read this:
    maximum value specifies in units the maximum value you expect to measure.
    minimum value specifies in units the minimum value you expect to measure.
    Max values measured is -10 to +10V , If you are correct shouldnt it say "max scaled value" ?
    It is the maximum value of the number that will come out of the DAQmx driver.  Since DAQmx applies that scale for you, it is post scale value.  So you really need to put in 100 sscm for your maximum.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Employee master data without HR module

    Hi All,
    I need ur Help.
    We are implementing ECC 6.0 to our client; Client is not using HR Module. But I have to maintain employee master data.
    Kindly help me how can we create employee master data without using HR Module?
    My clients' sales hierarchy is like below,
    -In India they are having 4 zones,
    1) East, 2) West, 3) North, 4) South
    -Each zone has a sales manager, he report to 'Sales Head'.
    -Each zone is further divided in to sub zones
    -Each zone has an ASM with sales officers, Sales officer report to ASM,
    Sales head ->SM->ASM->SO
    So i have to maintain this hierarchy without using HR,
    Kindly help me on this.
    Thanks and regards
    Sridhar

    Hi,
    To Create Sales employee master data in SAP use the T. Code: VPE1/PAL1.
    You have to Maintain Parner Determination in SPRO:
    SPRO --> IMG --> SD --> Basic Functions --> PArtner Determination -->Set up Partner Determination
    -->Set Up Partner Determination for Customer.
    Now, From Left-hand side tree, click on:
    Partner determination procedure assignment.
    Here maintain these partners to your customer.
    Account groups - Function Assignment
    Here, Link all Customer Acct Grps to PE/ VE
    Now check in XD03 in partners tab.
    Check Report: MCTI (Sales Employee-wise Booking/ Billing).
    Regards,
    Krishna.

  • Report to fetch the text information from customer master sales data

    Dear Experts,
    We have come up with a requirement where the business want a report/list of the customers for whom a particular text is not maintained in customer master -sales data.
    There are many Z text id are configured and are maintained in Sales data- extras- text. In addition, business also need some key fields from the customer master such as name, city, delv plant, payment terms, sales off, sales grp etc.
    I could not get any standard table where the text is maintained with the customer numbers. Table STXH can give the customer numbers for a particular text id type but what is maintained against the given text id is not fetched from the table.
    So we need the valuable inputs to realize the requirement.
    As an proposal, we are aiming to develop custom Z report with the FM READ_TEXT to get the text information with the customer no ( object type KNVV and text id ). But for the additional information, what should be the actual logic for fetching the data. say if this FM is used, what should be the sequence of the logic and ideal selection parameters.
    In addition, we aim to use BAPI BAPI_CUSTOMER_GETDETAIL2 to fetch some of the customer ifnormation but many fields are not found in this . can we use some other bapi which can provide the complete general/sales data of customer ( delv plant, sales off, sales grp, custo grp, incoterms, payment terms etc)
    Kindly suggest accordingly.
    Many thanks in advance.

    Hi Dharmendra Kumar,
    I guess the best would be to check in ABAP General forum on the READ_TEXT sequence/ logic etc..
    For customer details, the available BAPIs are:
    BAPI_CUSTOMER_GETDETAIL
    BAPI_CUSTOMER_GETDETAIL1
    BAPI_CUSTOMER_GETDETAIL2
    However, you might have to check classes in SE24 to find any existing classes and its method yo give you all the information of a customer. Also check this thread: [BAPI for customer details like in IDoc DEBMAS;
    Regards,
    Raghu.

  • How do you add a custom label to dates in contacts.....

    How do you add a custom label to dates in contacts- I have multiple birthdays in contact group and want to change label through customise to add additional birthday- unless another way to add second birthday to contacts and identify each one?????? or way to link contacts with same address phone number etc but id birthdays?????

    You have some contacts with more than one birthday?
    To add a custom label for a date, select Edit for an existing contact. Select Add Field. Select Date. Scroll up with the Info window above the date selection and select Other for the new date selection. Select Add Custom Label and then select this label for the new date field for the contact.
    As far as linking dates with multiple contacts, the answer is no to that.

  • How do I set up a .pdf form to save filled data without having to print the form?

    How do I set up a .pdf form to save filled data without having to print the form?  I have provided my clients a lifecycle .pdf form they can use to record data for unique client meetings.  They want the ability to save their completed data whenever they use the form under a unique file name.  I've told them the only way I know how to do this is to print the completed form as a .pdf document and then save it. 
    Is their a way to save the data to a unique file name without printing the filled form?
    Is there a way to reset the form with blank fields after saving? or to add a clear fields button?
    Thanks.

    If you reader extend  a pdf using livecycle reader extensions then you can save the filled in data - this is true if you are using Adobe reader to view the PDF's. If you open it in Acrobat then the functionality is already there.

  • Customer master-general data-attribute-creation

    Hi,
    I would like to use the attribute 1 to 10 fields in customer master general data to fill up relavant to customer . i have seen some SCN postings regarding activation of those fields technically.
    i want to create some data in the attribute same like customer group 1 , while creation of customer master , i shall select the drop down and save it
    what is the menu path/transaction code for that please
    Thanks and regards,
    Pratheep

    Hi
    Check this menu path and also check below document in which Suhaib Bin Aziz has explained how to find SPRO path from front end screen.
    How to find SPRO Path from any Particular Screen
    Thank$

  • What if i load transaction data without loading master data

    Hello experts,
    What are the consequences if i load transaction data without loading master data?Are there any other factors except the load performance because of SID generations etc and inconsistencies.
    <b>What kind of potential inconsistencies will occur?</b>
    Problem here is:
    when the transaction load starts a new master data such as employee(x) would be have been created in R/3 which does not exist in BW and hence transaction load fails.
    Thanks and Regards
    Uma Srinivasa rao

    Hi Rao,
    In case you load the master data after loading the transcation data and if there is any look up at the master data in teh update rules, then you can delete and reconstruct the requests in the ODS/Cube so that the latest master data is pulled in in the data target.
    Make sure you do the Apply hier/attr change before doing the delete and reconstruct.
    Bye
    Dinesh

  • I have an Iphone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with Itunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?

    I have an IPhone 4 which I just updated with the latest software, which put in it in Recovery Mode. It has the picture of the plug with ITunes, I downloaded it now its saying its in Recovery Mode, how do I save all of my previous data without Restoring?
    I updated the phone before backing it up on iTunes, now the update wanted me to connect the phone with iTunes and it says the phones in recovery mode and it must be restored before its used with iTunes. I go to click restore and it says it will reset it to factory default and I'll lose all my current data. I have all my sons pictures and videos along with this notes. I can't lose all of this data! Please help!

    You have to restore the iPod, no ifs, ands, or buts...
    After iOS is installed you will be asked if you what to set it up as a new iPod or if you want to restore from a backup.
    If you have a good backup you can restore that and you're good to go.
    If you don't have a good backup, then you end up with a "clean" iPod....

  • Wipe hard drive data without access to screen

    I want to permanently wipe out all data on my hard drive. The problem is that my video card has crashed/burned down, so I don't have access to the screen. Is there a way of wiping out all data without physically removing the hard drive?

    Do you have access to another Mac?  If so mount your blind Mac to it in the Target Disk Mode, Transferring files between two computers using FireWire.  Now you'll see the drive on the other Mac's screen and can run Disk Utility to reformat/repartition the drive.
    OT

  • My Ipod has a lot of music on it! but my computer crashed and I lost all my info and data! Is there a way that i can access my Ipod's data without itunes

    My Ipod has a lot of music on it! but my computer crashed and I lost all my info and data! Is there a way that i can access my Ipod's data without itunes 

    See Recover your iTunes library from your iPod or iOS device.
    tt2

Maybe you are looking for

  • IWeb hyperlinks not coming out right when published

    Hiya, Has anyone got any idea why hyperlinks (to other of my pages) on some of my web pages come out as a blue square with a question mark in the middle, rather than the name of the link? If you click on it, it takes you to the right page, but you ca

  • Properly pasting 720x480 footage from a 1080i sequence onto a 720x480 seq..

    I usually edit 1080i footage so I have my FCP sequence settings set up accordingly, but when a friend asked me to edit a tape of 720x480 footage I forgot to change the settings. Now I am almost done editing and need to figure out how to properly past

  • Making pkgbuild for keytouch

    I'm trying to make a pkgbuild for keytouch But as it's my first pkgbuild, I have some problems: 1) the docs say you need the following packages to be installed: - GTK 2 - gksu - X11 and Xlib gtk2 and gksu are in pacman, but what do I have to add for

  • Is Clone thread safe?

    I am examining property change class and notice that it does an unsynchronized clone of vector. This makes me wonder if clone is thread safe? it must be or this clone could experience the same problems of copying the vector while its being modified.

  • Unable to download from Google Books to ADE

    I have used ADE version 1.7.2 for a while and have never had problems downloading books from several sources until recently after I found Google books. When i bought a book from them it downloaded to the reader in Google ok. There is an area on the b