Help in combining the data of output of a HP4140B and a 330 of LakeShore

Hello!

First of all, I would like to apologize if this question has already been answered in the forums, but I couldn't find something for this particular situation... I'm using LabView v.8.6 to perform measurements of TSC (thermally stimulated current), by controlling a Lake Shore Cryotronics 330 (Lake Shore model 330 Autotuning) temperature regulator and a pA HP4140B meter. I take as starting point the available in the libraries of pilot screw (http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=014FB74E7B0C1ED3E0440003BA7CCD... and http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E92C3659CE034080020E748..., respectively), and I would like to merge the two programs ("Lake Shore Cryotronics controller Output.vi" and "HP4140B example (current or voltage) .vi") in a single program that can simultaneously record two current values (at a fixed voltage) of the HP4140B and temperature as amended in the range of 76 to 300K (with the Lakeshore 330).

The problem lies in the fact that I don't know how to make compatible digital output "sensor data sample" on the shore of the Lake with the digital Board (which has no defined size) named "current CAP" of the HP4140B in the above programs. What I try to do is to: (1) save the data in a file (I tried using block Express 'Write to file measure', which I don't know if it is the best option or not); and (2) current track compared to the temperature (not current vs time and temperature / time separately).

Any help on these questions would be most appreciated, because I'm stuck on my research, because I can not save all the data! This will really just above my head...

PS: I am attaching the file that I worked on, but maybe it's better to work from scratch (I'm still a beginner and I maybe made some mistakes!)

Pablo,

While is not the absolute 100% cleaner and more efficient to code I've ever seen, you did merge the good behavior and if you work, it's what matters in the end. I'm sure that we could spend a week at optimization back, but ultimately he would actually do the same thing and we probably used never make up the time in efficiency.

One thing I would recommend is to comment the code, especially if you are using existing code from somewhere. He lets other people know where you got the model of. I also suggest to mention in the code that you must have installed to run the program. If they do not have the right driver, they don't know where to get TI / what to do.

Kind regards

Kyle Mozdzyn

Engineering applications

National Instruments

Tags: NI Software

Similar Questions

  • My wife and I have laptops and we want to combine the data both on a Mac. Including two Itunes accounts. This is possible by using the migration on each PC asst?

    In what concerns the transfer of data from a PC to a MAC, my wife and I have laptops and we want to combine the data both on a Mac. Including two Itunes accounts. This is possible by using the migration on each PC asst?

    You can bind the whole apple ID using family sharing. If you have trouble doing this, you can go to the apple store, and they would be happy to help you.

  • Help to combine the two queries with dependencies

    Combining two queries with dependencies:
    First ask: Returns USER_ID that has a type of access to a table with the OWNER (I also shoot the TLA of the USER_ID standard: ' of TLA #)

    Select distinct SUBSTR (DBA_USERS. Username, 2, 3) AS TLA

    DBA_USERS. Username USED_ID

    DBA_TAB_PRIVS. Owner OWNER

    from DBA_USERS

    DBA_ROLE_PRIVS

    DBA_TAB_PRIVS

    where DBA_USERS. Username = DBA_ROLE_PRIVS. Dealer

    and DBA_USERS.default_tablespace not in ('SYSTEM', "SYSAUX")

    and DBA_USERS. Username like would be %'

    and DBA_ROLE_PRIVS. Granted_role = DBA_TAB_PRIVS. Dealer

    and SUBSTR (DBA_USERS. Username, 2, 3) <>DBA_TAB_PRIVS. Owner

    ;

    Example of results (red font used in the last citation):

    TLA USED_ID OWNER

    --- ------------------------------ ------------------------------

    DGTX999 GTX GRR

    DGTX999 GTX ABG

    DGTX999 GTX HTC

    FWS DFWS999 GRR

    OCN DOCN999 GRR

    RHR DRHR999 DAS

    ETM DETM999 DAS

    FWS DFWS995 DAS

    CD DCDS999 DAS

    ABE DABE999 DAS



    Second request: matches the USER name (same standards as above) and MACHINES (filter PC connections) and the number of connections made of

    Select DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    COUNT (*) AS CONN_COUNT

    of DBA_HIST_ACTIVE_SESS_HISTORY

    DBA_USERS

    where DBA_HIST_ACTIVE_SESS_HISTORY. User_id = DBA_USERS. User_id

    and DBA_USERS. Username like would be %'

    and DBA_HIST_ACTIVE_SESS_HISTORY. Machine not as "WINAD%\%-%".

    Group of DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    order by 1

    3 desc;

    Example of results (red font used in the last citation):

    MACHINE CONN_COUNT USERNAME

    --------------- ------------------------- ----------

    DFWS999 home13e0 7557

    DGAM800 vu1246 37

    DGAM999 vu1246 2558

    DABE999 back18cb 4639

    DINL888 home162f 84

    DFWS999 WINDAD\OMHQ58BF 178

    DCDS999 back18cb 788

    DGTX999 home18c8 7

    DGTX999 home13d3 62

    DOCN999 vu1261 44

    DFWS999 back1976 3

    DCDS999 home18c8 173

    DGTX999 home19c9 13

    What I'd like to have (just made two first USER_IDs from the first query) (COL duplicated for each separate owner 1-4).  So 3 machines and 3 owners would result in 9 lines (I could reorganize the collar and use a 'pause'):

    TLA USED_ID MACHINE CONN_COUNT OWNER

    --- ------------------------------ ------------------------- ---------- ------------------------------

    GTX DGTX999 home13d3 62 GRR

    Home18c8 GTX DGTX999 7 GRR

    DGTX999 GTX home19c9 GRR 6

    GTX DGTX999 home13d3 62 ABG

    DGTX999 GTX home18c8 ABG 7

    DGTX999 GTX home19c9 6 GBS

    GTX DGTX999 home13d3 62 CTH

    DGTX999 GTX HTC 7 home18c8

    DGTX999 GTX home19c9 6 HTC

    FWS DFWS999 home13e0 7557 GRR

    FWS DFWS999 WINDAD\OMHQ58BF 178 GRR

    FWS DFWS999 back1976 GRR 3


    So it would be logically read: TLA as USER_ID of MACHINE, CONN_COUNT consultation times: OWNER information.

    Thought as only those with the necessary values. Just try this and let me know in the case of all conflicts in the output.

    WITH T1 AS)

    Select distinct SUBSTR (DBA_USERS. Username, 2, 3) AS TLA

    DBA_USERS. Username USED_ID

    DBA_TAB_PRIVS. Owner OWNER

    ROWNUM RN

    from DBA_USERS

    DBA_ROLE_PRIVS

    DBA_TAB_PRIVS

    where DBA_USERS. Username = DBA_ROLE_PRIVS. Dealer

    and DBA_USERS.default_tablespace not in ('SYSTEM', "SYSAUX")

    and DBA_USERS. Username like would be %'

    and DBA_ROLE_PRIVS. Granted_role = DBA_TAB_PRIVS. Dealer

    and SUBSTR (DBA_USERS. Username, 2, 3) <> DBA_TAB_PRIVS. Owner),

    () AS T2

    Select DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    COUNT (*) AS CONN_COUNT

    of DBA_HIST_ACTIVE_SESS_HISTORY

    DBA_USERS

    where DBA_HIST_ACTIVE_SESS_HISTORY. User_id = DBA_USERS. User_id

    and DBA_USERS. Username like would be %'

    and DBA_HIST_ACTIVE_SESS_HISTORY. Machine not as "WINAD%\%-%".

    Group of DBA_USERS. Username

    DBA_HIST_ACTIVE_SESS_HISTORY. Machine

    order by 1

    3 desc)

    SELECT T1. TLA

    ,         T1. USED_ID

    ,         T2. MACHINE

    ,         T2. CONN_COUNT

    ,         T1. OWNER

    FROM T1

    T2

    WHERE T1. USED_ID = T2. USER NAME;

  • How to manage the Data Association output when no line not returned?

    BPM 11 g, I use a Service to select a line in an external database in passing a parameter using a database adapter.  Works fine when a row is returned.  But if no row is returned (which can happen, because no match is not found on the selection based on the value of the parameter), I get an error on the composite as output data Association has return values, including integers, mapped to a data object, I defined in the process.  Well, if no row is found, the integer value is empty and mistakes to try to save him.

    How to handle this situation?

    The specific message is:

    The expression bpmn:getDataOutput('wm91AInterfaceMainCollection') / ns:Wm91AInterfaceMain [1] / ns:board is empty. An attempt to read or copy the referenced data or calculated by the XPath generated invalid data, according to the XML schema, or did not contain some optional data. Ensure that the variable result or expression named in the error message is not empty. Enable related data elements XML schema validation for the enforcement data are valid.

    I must be missing something obvious here, but can't find a way to handle this.  Thanks in advance!

    Hey Joe,

    Of course, others will be have another idea, but opt for the XSLT option for mapping your data.  Using XSLT, you can check for null in an 'if '.

    Dan

  • Is it possible to link to the .doc files as I would image help to merge the data from the files?

    I'm trying to find a way where I can link to multiple documents in a master document. I know how to put Word/Excel files in InDesign-related, but is there a way I could build a document using data merge? I guess I want a link to every document in my CSV, possibly with a @ column header. Has anyone tried this before with any success?

    I have trouble understanding exactly what it is you want to try and do.

    Regarding the data merge, the answer is no. When a header field which has a "@" before the domain name, InDesign data merge function will import images that are people like .jpg, .tif, .eps .gif .pdf .png .ai; but will not import content such as .docx .doc .rtf or .txt. It is worth noting the help that Adobe (InDesign help |) Data merge) does not list what types of images will import as part of a data merge. Another additional note - if import a PDF or AI is many pages long as part of the merger of data, the merger will take only the first page of the PDF / I, and it is not a way to make the merger import a different page.

    If you want to import a large number of word files in an InDesign file all at once in the same block of text, I wrote a piece about it on InDesignSecrets: http://indesignsecrets.com/place-word-files-one-frame.php

  • Help to import the data from the catalog to a text file (csv import, delimited by tabs, excel)

    Hi All-

    I was hitting my head on this one for a few days now. It seems that something that has probably been done before and should not be so difficult, but I found few cases of help in the documentation from Adobe (and researched a lot of google).

    I have a catalog of retail sale of 100 pages with approximately 1000 products in InDesign CS5. I have a spreadsheet excel with the names of products this year, prices and descriptions of update. Normally, we would go through one by one and cut and paste. This year, I thought I would try to skip this step. There are plugins that do this, but they are not cheap, and we are not big. Upgrade to CS5 of CS2 is a big investment in and of itself.

    ssp_temp_capture.jpg

    Here is an example of the data (I use a vertical bar as a separator character):

    28392779 | 3627 | Super top | Get a handle on the pleasure. Wrap the cord around the axis and s '. | 6½ "long
    | $10

    Then... standard excel file exported to a delimited format (I use OpenOffice to export in order to avoid the problem of excel citing darn close * everything *). In the InDesign file, we have a component of text for grouped each name, description, and price. The Group has a title of the product ID script and each field within the group is labelled accordingly (name, id, description). Thus, the Group: 3627, point: description (name or price).

    Pseudocode:

    Open the file

    Analyze the data in a table

    Scroll through the InDesign file group

    Check the script group label, look it up in the table, assign values to the fields

    Easy right?

    I'm not new to javascript, but it is not my tongue harder. With this effort, I had problems as simple as the syntax for the identification of the groups by their label. Anyway, here is the code (it is not pretty as the only way that I could not even run to scroll the table of data line by line and then scroll the entire InDesign file for each row of data. And, Yes, it takes about an hour to run--but it * is * run):

    myDocument var = app.activeDocument;

    data var file = File("/Users/reddfoxx/Desktop/2010Sept8CatDesc.csv");
    DataFile.Open ("r");

    data var = datafile.read)

    data = data.split("\n");


    the data array is indexed from 0
    field 0 is the internal ID
    field 1 is the product ID
    field 2 is the name of the product
    zone 3 is the description
    field 4 are the dimensions
    zone 5 is the price

    for (x = 0; x < data.length; x ++) {}

    data [x] = data [x].split("|");


    for (var z = 0; z < myDocument.groups.count (); z ++) {}
    {If (myDocument.groups.item (z) .label == {data [x] [1])}
    myGroup = myDocument.groups.item (z);

    for (var y = 0; y < myGroup.textFrames.count (); y ++) {}
    If (myGroup.textFrames.item .label (y) == "name")
    {
    myGroup.textFrames.item (y) .silence = data [x] [2];

    }



    If (myGroup.textFrames.item (y) .label = 'description')
    {
    myGroup.textFrames.item (y) .silence = data [x] [3];
    }

    If (myGroup.textFrames.item .label (y) == 'dimensions')
    {
    myGroup.textFrames.item (y) .silence = data [x] [4];
    }

    If (myGroup.textFrames.item (y) .label = 'price')
    {
    myGroup.textFrames.item (y) .silence = data [x] [5];
    }


    }
    }
    }
    }

    For someone who is not familiar with the groups and scripts, unfortunately, you cannot process blocks of text within a group without using the group. At least, that's what I understand.

    Any help would be appreciated. Even just to find how to approach a particular in the document, so that I don't have to scroll through the entire file and do a comparison for each element would be a big improvement.

    Thanks in advance.

    -Redd

    Hey!

    You have nice little problem here

    Well, unfortunately, InDesign CS5 is a bit heavy on the labels of script, there were some changes and other things. In CS4 and before, when you call pageItem.item (myItemName), you would get called from script, but in CS5, it has been changed, and now you get the element name that is in the layers palette. Now you can easily copy all the script tags, new place, and then it would be easy to access items by name of the element.

    This will copy all the labels current script name of the element:

    for(var i = 0; i < app.activeDocument.allPageItems.length; i++)
      app.activeDocument.allPageItems[i].name = app.activeDocument.allPageItems[i].label;
    

    Now, when you have all the names in place, you can access them like this:

    app.activeDocument.groups.item(data[x][1]).textFrames.item("name").contents = data[x][2];
    app.activeDocument.groups.item(data[x][1]).textFrames.item("description").contents = data[x][3];
    app.activeDocument.groups.item(data[x][1]).textFrames.item("dimensions").contents = data[x][4];
    app.activeDocument.groups.item(data[x][1]).textFrames.item("price").contents = data[x][5];
    

    I hope that helps!

    --

    tomaxxi

    http://indisnip.WordPress.com/

  • help request on the date function

    Hello

    I have the date of the join column, I need separtae Aug 15 months

    example: -.

    Months of MJ

    March 23, 2015 Mar 15

    Thank you

    Shilpa

    Select double to_char(sysdate,'Mon''yy');

  • Script to find duplicates in a row and combine the data in specific column

    Looking for a script to find duplicates in a line like below...

    "VM1', 'VM', 'LDEV', 'LDEV1', 'LDEV2', 'LDEV3', 'LDEV4', 'LDEV5', 'LDEV6 '.
    'VM', 'VI-SVC-VM001', "0000ef ', ' '," "," "," "," ""
    'VM', 'VI-SVC-VM001', "0000de ', ' '," "," "," "," ""
    'VM', 'VI-SVC-VM002', "0000df ', ' '," "," "," "," ""
    'VM', 'VI-SVC-VM002', "0000f0 ', ' '," "," "," "," ""

    .. .and manipulate the data in the following:

    "VM1', 'VM', 'LDEV', 'LDEV1', 'LDEV2', 'LDEV3', 'LDEV4', 'LDEV5', 'LDEV6 '.
    "" 'VM', 'VI-SVC-VM001', '0000ef', "0000de ', ' ', ' '," "," ""
    "" 'VM', 'VI-SVC-VM002', '0000df', "0000f0 ', ' ', ' '," "," ""

    (Note: VM VI-SVC-VM001 object has two LDEVs him assigned 0000ef and 0000de)

    There may be two, three, or n LDEVs attributed to each VM object. I guess I have to build a table and the "join-collections" script can't cut it on this one.

    I have the process to follow, I just need to put it in a loop (note, data already sorted on the virtual computer object):

    1 import-csv

    2. read each line, matched VM object, copy each found LDEV and place it in the next LDEV along

    3. remove the duplicate line

    4. rinse, repeat until the end

    Thank you.

    It's a solution pleasant Luc. I didn't use the Group-Object cmdlet to solve this problem.

    Now I can go to sleep without having to worry about this problem more.

  • Need help to load the data from the Excel data to oracle tables

    I need to load an Excel worksheet to the Oracle table.

    The worksheet contains 20 columns, the first 8 columns contains basic information, but the rest 12 columns contains info like
    1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    So what I have to do is:

    break only one record (with 20 fields) in Excel to 3 files for each fiscal year in the Oracle table for each record in the database table will look like

    8 base field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
    8 base field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
    8 base field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

    There are about 10000 rows in the data file, so how can I use sqlldr to perform this task? beside sqlldr, other good suggestions?

    THX

    External tables is just an API Oracle sqlloader. If you are about to load this data over and over again, the external tables would be a good idea, but if it's a one time thing, sqlldir is more simple, unless you want to just learn to use external Tables.

    I used to run a data warehouse, so I did it, the less similar to what you do in the past.

  • Problem with transmission of the data in table between a driver and a method.

    I'm having a problem with a project for school. We want to take the data in a table, we create in our driver, pass it to the method, do something for her and return the data to the driver. Well, I still get the same error message and after looking at dozens of sites, it seems that I think that I have the correct code... but I still get the same error message. Here is the error message that I've been doing.
    * ola1driver.java:35: get() in ola1method may apply to (char [] [])
    x.get (Dar);
    (upwards arrow pointing between x and get) *.

    I'd appreciate any help I'm leaving research to simply looking at my code to try to find the error. My wife things I'm going nuts at the moment.

    Here are my two files, the first is the driver and the second method

    Take a 2D array and send the data to a method, and then put it back
    import java.util.Scanner;
    class ola1driver
    {
    Public Shared Sub main (string args [])
    {
    Entrance to the parser = new Scanner (System.in);
    ola1method x = new ola1method();
    Char [] [] dar = new char [10] [100];
    char dat_input;

    Set up the loop at the entrance a table of 10 x 100 with data imported from a dat file
    for (int i = 0; i < 10; i ++)
    {
    for (int j = 0; j < 100; j ++)
    {
    dat_input = input.next () .charAt (0);
    Dar [i] [j] = dat_input;
    }
    }
    Send the array to the method and displays the original table to compare the return data
    x.Set (Dar);
    for (ip int = 0; ip < 10; ip ++)
    {
    for (int jp = 0; jp jp; < 100 ++)
    {
    System.out.printf ("%n", dar [ip] [jp]);
    }
    }

    To get the data of the method and then print the data in the table opposite
    x.get (Dar);

    for (int r = 0; r < 10; r ++)
    {
    for (int c = 0; c < 100; c ++)
    {
    System.out.printf ("%n", dar [r] [c]);
    }
    }
    }
    }

    Now the method;

    Method to receive a 2D painting, reverse the data and then put it back
    class ola1method
    {
    Char [] [] ar = new char [10] [100];
    Char [] [] rar = new char [10] [100];

    public void set (char [] [] ar)
    {
    / * To reverse the entries in the table
    to prove that real return
    data was transferred between the driver
    and the method * /
    IR int = 0;
    for (int i = 9; I have > 0; i-)
    {
    for (int j = 100; j > 0; j-)
    {
    int jr = 0;
    RAR [ir] [Jr.] is ar [i] [j];.
    Jr ++;
    }

    IR ++;
    }
    }
    Return the data to the driver
    public char [] [] get()
    {
    return of rar;
    }
    }

    Published by: Seamus on February 20, 2011 08:25

    Published by: Seamus on February 20, 2011 08:26

    Seamus wrote:
    I thought that I sent my method by using the x.set table, and then by calling the reversed with the x.get table.

    x.Set (someArray) in fact to 'send an array to the method '.

    And if x.get () is declared to return an array, then, Yes, it indeed 'retrieve a table. "

    However, these are two completely different methods. The get method doesn't know something on the table sent via the set method unless the game puts a place who knows himself. For example, something like this:

    public class X {
      private int[] arr;
    
      public void set(int[] arr) {
        this.arr = arr;
      }
    
      public int[] get() {
        reverse arr and return it
      }
    }
    
    public class Main {
      public static void main(String[] args) {
        int[] arr1 = {1, 2, 3};
        X x = new X();
        x.set(arr);
        int[] arr2 = x.get();
      }
    }
    

    However, this seems a bit unusual. It is not clear from your initial post, but looks like it is supposed to be a single method that takes the array and it reverses. If so, you could either simply invert the table and returns nothing, since the variable of the appellant and the parameter of the method will all be pointing to the same table object, or you could return a reference to the table that you have received and reversed, or you can copy the table, reverse the copy and return a reference to that.

    I don't know what your needs are, but the point is that it is more common to call a single method to do something like that, rather than separate set() and get() methods.

    Edited by: jverd February 20, 2011 09:36

    Edited by: jverd February 20, 2011 09:37

  • Need help to make the adjustments to TCP between Labview 2011 and webrelay

    Hello

    I'm using Labview 2011 and trying to establish communication with webrelay (X-WR-4R1-l) to control its relay.

    I downloaded a www.ni.com example but it does not work.  (he was tied with this thread as well)

    I did no changes in the example program, that I do not really understand much codes XML.

    I turned ON all 4 relays this webrelay, but in labview, it reads that the relays are turned OFF.

    and when I click the button on the front panel, it does nothing.

    There are several toolkits labview installed in my PC, namely:

    -labview development system

    -application builder

    -recording of data and control module

    -Database connectivity kit

    -internet Toolbox

    -report generation toolkit for Microsoft office

    I'd appreciate it if someone could guide me in this configuration process.

    Thank you

    OK, we're making progress...

    Something seems truncated. Is there something after realy4state in the received string? Because the string is longer, you will need to adjust the number of bytes read. It's more than the 157, which corresponds to the current setting.

    In all cases, their example LabVIEW is a unique feature of relay. You need to look at section 3.2 of the manual that you set for the correct orders. Now there is always a number between 'relay' and 'State' for example:

    1State = 1 for relay activate relay 1.

    You must do two things:

    Write a trainer who composed the correct channels based on the selected relay.

    Write a parser that retrieves the status of all four relays relay. (the offsets will be different, for example)

    I recommend you to treat the four relays as an array of four Boolean values.

  • How to get the date of end of week max and its rows of a table

    Hello
    Table [temp2]
     
       id          name        dt
      123        a             2-mar-2010
      124        b            1-feb-2010
      125        c             3-apr-2010
      123        a             13-mar-2010
      125        c             13-mar-2010
      123        a             12-feb-2010
     
    This table how to get this line by id - name (id and the name of the composite key) whose date is the date of last weekend (last Saturday).
    for example, suppose to have IDs 123 values date February 12, 2010, 13-mar-2010 this date falls on the last Saturday 13-mar-2010, how to get the value of the line on Saturday last for all the unique id and the name?

    So I wrote this but probably there a few traps...
    select id,name,dt from (select id,name,dt,max(dt) over(partition by id,name) as 
    max_date from temp2) t where dt=t.max_date and dt in ('3-apr-2010'
    ,'27-mar-2010','20-mar-2010','13-mar-2010')
    Here I have spent in the in clause 4 last weekend dates manually (although either has been calculated by programming) in front.
    Thank you

    Here's another option:

    SELECT     *
    FROM
    (
         SELECT     ID
         ,     NAME
         ,     MAX(CASE WHEN TO_CHAR(DT,'DY','NLS_DATE_LANGUAGE=ENGLISH') = 'SAT' THEN DT END) AS DT
         FROM     TEMP2
         GROUP BY ID, NAME
    )
    WHERE DT IS NOT NULL
    

    It is always useful to provide the following information:

    1. oracle version (SELECT * FROM V$ VERSION)
    2. examples of data in the form to CREATE / INSERT commands.
    3. expected results
    4 explanation of the expected results (alias "business logic")
    5. use.

     tags for #2 and #3. See FAQ (Link on top right side) for details.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                
    
  • helps with reading the data

    I got the measurement and automation studio let me the VI attached to read in some readings of strain gage, but I get those huge files with headers that break everything that makes it a real pain to process data outside of labview. Can someone help me

    (1) get the files to write with one header

    (2) sample the signal at a lower rate, so I do not have 16 meg files or anything whenever I do a data collection

    I would really appreciate it.

    Thank you
    Brian

    There is another connection on the lower part of the writing of the file function where you can connect to a wrong to say, do not write the header.

    Activate context-sensitive help (Ctrl-H), then select the feature to see.

  • Help based on the date

    Hi Experts,

    I have a doubt in one tables column is varchar which stores the year and month.
    for example
    '201211' is stored in the column it is in say 2012 is the year and 11 is the months of the year.

    Someone can help me to get the start and end date, start date of the quarter end, start and end date of the year, start date and end of the previous quarter, date of beginning and end of the year previous w.r.t. the exercise...

    Thnx in advance.
  • question about the date as output parameter

    Hello
    I tried the following procedure to extract the out parameter as DD/MM/YYYY
    CREATE or replace PROCEDURE p1 (p IN NUMBER, x OUT date, y OUT date) 
    IS 
    BEGIN    
    x := to_date(to_char(sysdate,'dd/mm/yyyy'),'dd/mm/yyyy') ;
    y:=  to_date(to_char(sysdate+1,'dd/mm/yyyy'),'dd/mm/yyyy') ;
    END P1; 
    
    declare    
    foo date;    
    bar date; 
    begin    
    p1(5,foo,bar);    
    dbms_output.put_line(foo || ' ' || bar); 
    end; 
    
    And the output is   17-AUG-12 18-AUG-12   , instead of   17/08/2012   18/08/2012  
    The nls_date_format is: DD - MON - RR

    How can I get the output as dd/mm/yyyy format parameter.
    Thank you

    Published by: Smile on August 17, 2012 08:31

    Because your data type is date, the default output is the NLS_DATE_FORMAT.

    You can set NLS_DATE_FORMAT jj/mm/aaaa, but in reality, it would be better to do the following:

    Declare your out parameters as varchar2
    Convert date to be returned to your format of binding and value the more parameetrs to have this value

Maybe you are looking for