Organizing a multiplexer acquired data in a spreadsheet file of a column major order

I am a beginner user of Labview, but I managed to make VI incrementing a running index from 0 to 15 in order to interface with a multiplexer, while providing a predetermined time delay between each cycle of the sixteen iterations. I have just emulated this case study before its practical implementation by constructing a VI saving the analog data acquired from a two analog input ports at each value of the running index in a txt file (File: Multiplexer_Output_Data_Test.pdf). The challenge is how to alternatively store the data in a spreadsheet excel file in which every row has a thirty three cells, or in other words, the first cell has the time stamp, while the next sixteen cells contain the analog data of the first port spanning all the sixteen values of the running index, and the same approach applies for the last sixteen cells associated with the second analog input port. The process repeats itself after the predetermined time delay in the successive rows. In the attached VI, I would like to replace the last frame of saving into text file with my desired form in excel sheet.
Any help would be highly appreciated
Solved!
Go to Solution.
Attachments:
Multiplexer_Output_Data_Test.pdf ‏5 KB
Multiplexer_Data_Acquisition.vi ‏186 KB

steve.bm wrote:
Hi Diaa,
I found this example and I think this applies to your needs. You can find more information about Dynamic Data Exchange here.
Regards,
This is exactly what I am looking for all the past week.
Your help was extremely appreciated and to the point.

Similar Messages

  • May i write data to a spreadsheet file at different times

    I'd like to write two sets of data at different times(not simutaniuosly)into the same spreadsheet file. I tried to re-open the spreadsheet file which i created when i wrote in the first set of data, to write in the second set of data. But it didn't work. I don't know what's wrong with my program. I have selected APPEND when I tried to write the second set of data in the old file.

    not nay errors appear.
    the following is a similar easy copy of the program. I don't want to post my original program because too many subroutines.
    Tanks a lot to Mikeporter
    Attachments:
    easier_copy_of_my_program.vi ‏28 KB
    gen3.txt ‏78 KB
    P4SG-1Z(MOB-FRE) ‏14 KB

  • Exporting data to a csv file and include column names

    I am creating a SSIS package which creates a .csv file.  The package works fine except it is not putting the column names as the first row.
    How do I get the column names to also export?
    Thanks,
    ~John

    SQL Server 2012 T-SQL has the new FORMAT command:
    SELECT FORMAT(CONVERT(MONEY,123456.78),'c0','en-US'), -- $123,457
    FORMAT(CONVERT(MONEY,123456.78),'c2','en-US'), -- $123,456.78
    FORMAT(CONVERT(MONEY,123456.78),'c2','en-GB'), -- £123,456.78
    FORMAT(CONVERT(MONEY,123456.78),'c2','de-DE') -- 123.456,78 €
    Prior to SS 2012:
    SELECT CONVERT(varchar(40),CONVERT(MONEY,123456.78),1) -- 123,456.78
    SSIS Import/Export Wizard:
    http://www.sqlusa.com/bestpractices/ssis-wizard/
    Kalman Toth SQL 2008 GRAND SLAM
    New Book: SQL Programming & Database Design Using Microsoft SQL Server 2012

  • Why can't I see the data in the spreadsheet ?

    why can't I see the data in the spreadsheet file in Which I wrote my output data? I set the format of write to spreadsheet file to be %.11f. Though I can see only colums of zeros, I can plot out the data.

    I tried th "%.11f" format and it worked in the attached VI (6.1). Please respond and attach a small example VI that demonstrates your problem.
    Chris_Mitchell
    Product Development Engineer
    Certified LabVIEW Architect
    Attachments:
    array_test.vi ‏15 KB

  • Continuous Data Aquisition to SS File

    Recently we used the example from the Labview program "Continuous Data Acquisition to SS File.vi" and modified it a little and tried to keep all
    necessary things in the program to meet our test requirement. Basically we have 8 channels to collect the voltages from the test materials. After a
    test run, I realized that it only display the raw data for the channels (8 columns) but no corresponding time column to it. Can any one tell me how to add this time column. thanks
    Attachments:
    Voltage_Reading.vi ‏107 KB

    I could not open your VI as I do not have version 6.1 installed. So here are some comments...
    You can build a 1-D array of time steps by using a for loop, delta T (the inverse of the ACTUAL scan rate as indicated from the acquire VI), and the number of points (use the Array Size function on one of the data columns).
    Now, since the DAQ VIs output in column major order, first transpose the DAQ record and then use the bulid array fuction to add the new row to the first position.
    Transpose the new array back to column orientation and write to spreadsheet file.

  • Why is it that when I saved the waveform of my acquired signal into a wav file, the output waveform of my saved file turn out to be different from my input signal?

    Hi all,
    I am currently doing a heart sound analyzer project. I acquired signal using NI USB 6008 continuosly. My program is able to saved the acquired signal into a wave file. But when I browse open the saved file, the output waveform did not look the same as the acquired input signal and also the sound of the heartbeat captured cannot be heard from the loud speaker though I have saved the file as a wav file. I am not sure if the method i use to save the acquired data as a wav file is correct.  I have attach the print screen of the differences of the output I have notice and the program I have created. I would be glad if anyone here is able to troubleshoot my program.
    Thanks. 
    Attachments:
    heart sound analyzer.zip ‏257 KB

    Hi Brett Burger,
    Thanks for your reply. For your information, I have set the sampling rate as 10000 as for the sound format, I have set the bits per sample as 16 bit, the rate as 11025 and the sound quality as mono. I tried using your method by changing the sampling rate as 8K but still my program encounter the same problem.
    I wish to also create a button that is able to generate a preformatted report that contains VI documentation, data the VI returns, and report properties, such as the author, company, and number of pages only when I click on the button.  I have created this in my program, but I am not sure why is it not working. Can you help troubleshoot my program. Or do you have any samples to provide me. Hope to hear from you soon.
    Many thanks.
    Regards,
    min
    Attachments:
    Heart Sounds1.vi ‏971 KB

  • Read in spreadsheet file

    Hello,
    This is a very basic question about reading in spreadsheet files. How do I do it please?
    I have a spreadsheet of 1 row and 256 columns. What separates the data in a spreadsheet file? Is it tab.
    My current .vi doesnt want to read in the spreadsheet for some reason.
    Thanks,
    Solved!
    Go to Solution.
    Attachments:
    SWIR spectrometer solo save.vi ‏52 KB

    That function does not read xls or xlsx files.  It reads ASCII spreadsheet files.  You could either save your Excel file as a CSV (File->Save As, then change the type to CSV) or a text file and use that VI.  Or you can use some ActiveX commands to read the data from Excel.  Changing the file type is a lot easier.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Using JTables to display data from a text file

    How do I display data from a .txt file into a column inside a JTable?

    dont quite get the "vectors" part..
    by the way, my program is as follows
    * Damn Java ..
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTable;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    public class ScoreBoard extends JPanel {
    private boolean DEBUG = false;
    public ScoreBoard() {
    super(new GridLayout(1,0));
    String[] columnNames = {"Player's Name",
    "Time Completed",
    "$ Amount Earned $"};
    /* Object[][] data = {
    {"1",
    new Integer(5), new Integer(500)},
    {"2",
    new Integer(5), new Integer(3200)},
    {"3",
    new Integer(5), new Integer(1000)},
    {"4",
    new Integer(5), new Integer(100)},
    {"5",
    new Integer(5), new Integer(200)},
    final JTable table = new JTable(data, columnNames);
    table.setPreferredScrollableViewportSize(new Dimension(600, 90));
    if (DEBUG) {
    table.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    printDebugData(table);
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    //Add the scroll pane to this panel.
    add(scrollPane);
    private void printDebugData(JTable table) {
    int numRows = table.getRowCount();
    int numCols = table.getColumnCount();
    javax.swing.table.TableModel model = table.getModel();
    System.out.println("Value of data: ");
    for (int i=0; i < numRows; i++) {
    System.out.print(" row " + i + ":");
    for (int j=0; j < numCols; j++) {
    System.out.print(" " + model.getValueAt(i, j));
    System.out.println();
    System.out.println("--------------------------");
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    JFrame frame = new JFrame("ScoreBoard");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Create and set up the content pane.
    ScoreBoard newContentPane = new ScoreBoard();
    newContentPane.setOpaque(true); //content panes must be opaque
    frame.setContentPane(newContentPane);
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    and i want to display the player name from a textfile.txt to the player column instead of hardcoding it like above. Thanks!

  • How to acquire data through multiple channels in parallel using PXI 6070 E, PXI 4071 and LabVIEW?

    Hi,
    I am using NI LabVIEW, NI PXI 4071, and NI PXI 6070E to measure current through a variable resistance. Now, I am using one channel from SCB-68, but I want to add another channel in parallel so that I can have two resistors instead of one that I cam measure current through them.
    I have attached a Pdf file showing the setup for hardware in use and LabVIEW code also.
    Can anyone look at these files and give me guide lines or ideas that can help me resolving this issue, please.
    Thanks in advance.
    Best Regards,
    Shaheen.
    Solved!
    Go to Solution.
    Attachments:
    IV copy for HS.vi ‏55 KB
    Layout of NI Cards.pdf ‏248 KB

    Your 4071 can only do one measurement at a time. Your DAQ cannot measure resistance either nor has it got any analogue inputs.
    However, you could use a multiplexer and multiplex your 4071 DMM. This wont give you simultaneous measurements but can acquire data one after the other, the speed is obviously dependent on the multiplexer you choose!
    Hope this helps.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Trying to insert data into a spreadsheet on the fly

    I'm sure this is a very basic question, but I came into the project I'm
    doing this semester with no LabVIEW experience, and I've just taught
    myself along the way.
    RIght now, I'm trying to calibrate a pyrometer with a thermocouple
    wafer.  I want to generate a set of data points of the TC readout
    in deg C  vs.  pyrometer amps.  The part of my program
    that I'm using to control the lamp (and thusly, the heat) is a state in
    a state machine.  The state itself is a while loop.  I've
    generated some code that I thought would do the trick.  I
    apologize for the messiness, as I kinda cobbled it together off the top
    of my head.
    The time delay is set to 0.1 seconds, to generate a reading at that
    interval.  The result of this code is that the files only have the
    first reading in them, and that's it.  I imagine my error is in
    the initialization.  By putting the initialize array things in the
    while loop, I thought it'd clear everything out each time through the
    loop.  But I wasn't sure how else to do it.  And, the files
    are keeping the very first value they take, not just overwriting the
    old with the new.  I know it's probably much easier to implement
    this another way, but I don't know of such a way, at least not without
    seriously altering the general setup of my program.

    Hi,
    I am not sure why you are even doing any array operations. You can simply connect the output of your Express VIs to the Write to Spreadsheet file.vi and it will work howver this is not a good programming practice.
    Usually if you are acquiring data in a  while loop and writing it to file, you want to open the file before the beginning of the loop, write to the file in the loop (using Write File.VI), and close the file after the loop finishes executiong. This approach prevents opening and closing the file every time the loop runs (which is what happens when you use a high level file Vi like Write to Spreadsheet File inside the loop).
    I hope this helps. Please post if you need any further help/explanation.
    Ankita

  • Save waveform data with corresponding time array to spreadsheet file

    Hello to all
    I am looking for a possibility to save voltage data acquired and displayed continousely to a spreadsheet file. Acquiring and displaying is not a big problem, but I have troubble to save the data with the corresponding timestamp with more than seconds accuracy. I am acquiring the data at 1000 Hz and read packages of 500 samples. The recording time should not be limited, it will be started and stopped manually. In fact the acquired voltage data first has to be scaled and than saved. If I use the 'WRITE WAVEFORM TO SPREADSHEET' VI the time column is in seconds' accuracy and that is not what I need. If I create my own time array from the waveform parameters I have timing problems. The accuracy in time should reflect the sample rate. I will attach one of my not very successful trials for better understanding.
    please help a newcomer!
    Thanks in advance
    Thomas
    LV 7.1
    Attachments:
    display & record forces v.1.0.vi ‏181 KB

    I usually follow a simple method to generate time stamp
    I keep sampling rate and number of samples to read as equal and do as shown in the attached VI
    I also remember building a VI with a small modification to this time stamp generation logic to cater to acq, where number of samples to read is half/one fourth/one tenth of sampling rate specified, but cannot find that VI.
    Hope this helps
    Regards
    Dev
    Attachments:
    Acq_DAQmx_filesave_time stamp.vi ‏121 KB

  • HELP!!! I am trying to save data in a spreadsheet

    I have tried several things but can not get this, should be pretty simple.
    1) I have a loop which sends command and read serail buffer and parse data. This works fine and my program is 3 seconds behind my actual device. Now I want to save the data I parse out in a spreadsheet but only every minute becasue my program will be running for 8 hours. Do you guys think that Excel would be handel such a big matrix.
    my data is something like this:
    I am receiving the day of the year which is 338 as string. the time which is also a string but updates as my loop is running which is approximately 3 seconds behind my actuall hardware shows but thats not a problem because I acutally want to save the data rather than viewing purpos
    e.
    2) If some one can show me a approach where user is asked to save-as file option (where to save the file) when I am start my loop when I am actually sending command and receving data and parsing data and if the file exist already then name another file.
    3) the format I want to put my data to spreadsheet is as:
    day-time (actual number)
    01 70
    02 80
    03 90
    04 76
    so on untill i read 36 channels and their corresponding temperatues. Next time i append the next data set after a minutes should look like:
    day-time day-time
    01 70 01 72
    02 80 02 81
    03 90 03 95
    04 76 04 78
    36 90 36 98
    this would be a pretty big metrix if i append data every minute and my program would run for 8 hours.
    As I mentioned I want to save the data only every minutes while my program acquiring data every 3 seconds. Thanks for your help

    Hi,
    My name is Michel Carrière, from montreal.
    I save directly to excel large amounts of data all the time. My first solution is a VI called "SAVE TO EXCEL". With this subroutine, you can open excel dump data and save your file.
    Secondly, I have a small VI that acquires data and saves it when I want, check it out. ("WattmetreHP_1CHAN_V2.vi")
    Attachments:
    SAVE_TO_EXCEL.zip ‏53 KB
    WattmetreHP_1CHAN_V2.vi ‏298 KB

  • How to acquire data properly in a b-scan

    I'm aqcuiring ultrasound backscattered data in a b-scan system. The vi that i have designed for this purpose is based on a niscope vi (sample rate aquisition). Every time an iteration occurs i get 1000 points and record them in a .xls file, appending values to this file on every iteration, until the transducer gets to the end of 1 line. when the transducer gets to the end, it moves one step, the vi creates another file, where the following acquisitions will be recorded til the next step. My problem is: the transducer is excited at a 1khz rate, (and every time this happens i get 1000 points), but the program (the vi) does not run fast enough to keep track of every pulse (the iteration should occur at 1khz rate also, what's impossi
    ble, at least i think it is). Since i'm stuck for a while with this ang i always got very good sugestion on this forum (thanks pals!) i decided to ask for some help. I want to know if it's possible to make this kind of acquisition using labview only and how it can be done.

    Unless you are using a very old machine, you should easily be able to store your data at a 1MHz rate. A three year old 650MHz Pentium III is capable of streaming to disk at 10MHz+, so 1MHz is absolutely no problem. You only have a few changes to make.
    1) Do not use the .xls format. This is a non-native LabVIEW format and takes translation time. It is unclear from you question whether you are using ActiveX and storing in native Excel format or are using the LabVIEW VIs to store data in text based spreadsheet format (very slow). In either case, you will be much better off saving as a simple binary file. Use the Write File primitive. You can reach disk limited speeds this way. Store to disk in 65,000 byte chunks for maximum speed. If you need the data in a spreadsheet format, convert it after you are done. If you use a simple binary format, most analysis programs (e.g. MathCAD, Mathematica) can read it.
    2) Consider using one file instead of many. Alternately, create all your files before you start. Creating files is a slow process. You do not want to do it while taking data. If you have a newer version of NI-Scope, look on your CD for a directory called sfpFile. It contains some LabVIEW VIs to create binary files with structure. They are somewhat difficult to use, but are tailor made for your application. They allow you to store multiple waveforms in a single binary file with relatively easy access.
    3) Your data acquisition needs are not really clear. It appears you are taking 1000 data points every millisecond. What hardware are you using to acquire the data and what scan rate are the points taken at? What is the dead time between each 1000 point scan (if any)? If you are taking data at 1MHz, you are probably better off streaming continuously instead of taking data in separate records, if your hardware supports it. If you are taking data at 100MHz, your dead time is almost a millisecond, so you do not need to stream. Consider putting your save code in a separate loop from your acquisition code. This allows LabVIEW to multithread your application (works much better in LV7.0), resulting in better performance. Use LV queues to communicate between the loops. Use local variables to pass the data between the loops.
    Finally, run the LabVIEW profiler to find out where your slow steps really are (in the Tools->Advanced->Profile VIs... menu). If these suggestions don't help or are not detailed enough, post more details of you data acquisition and we'll try again. You should be able to do this.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • OSB: Cannot acquire data source error while using JCA DBAdapter in OSB

    Hi All,
    I've entered 'Cannot acquire data source' error while using JCA DBAdapter in OSB.
    Error infor are as follows:
    The invocation resulted in an error: Invoke JCA outbound service failed with application error, exception: com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapter1/RetrievePersonService [ RetrievePersonService_ptt::RetrievePersonServiceSelect(RetrievePersonServiceSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'RetrievePersonServiceSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/soademoDatabase].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.soademoDatabase'. Resolved 'jdbc'; remaining name 'soademoDatabase'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    JNDI Name for the Database pool: eis/DB/soademoDatabase
    JNDI Name for the Data source: jdbc/soademoDatabase
    I created a basic DBAdapter in JDeveloper, got the xsd file, wsdl file, .jca file and the topLink mapping file imported them into OSB project.
    Then I used the .jca file to generate a business service, and tested, then the error occurs as described above.
    Login info in RetrievePersonService-or-mappings.xml
    <login xsi:type="database-login">
    <platform-class>org.eclipse.persistence.platform.database.oracle.Oracle9Platform</platform-class>
    <user-name></user-name>
    <connection-url></connection-url>
    </login>
    jca file content are as follows:
    <adapter-config name="RetrievePersonService" adapter="Database Adapter" wsdlLocation="RetrievePersonService.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
    <connection-factory location="eis/DB/soademoDatabase" UIConnectionName="Connection1" adapterRef=""/>
    <endpoint-interaction portType="RetrievePersonService_ptt" operation="RetrievePersonServiceSelect">
    <interaction-spec className="oracle.tip.adapter.db.DBReadInteractionSpec">
    <property name="DescriptorName" value="RetrievePersonService.PersonT"/>
    <property name="QueryName" value="RetrievePersonServiceSelect"/>
    <property name="MappingsMetaDataURL" value="RetrievePersonService-or-mappings.xml"/>
    <property name="ReturnSingleResultSet" value="false"/>
    <property name="GetActiveUnitOfWork" value="false"/>
    </interaction-spec>
    </endpoint-interaction>
    </adapter-config>
    RetrievePersonService_db.wsdl are as follows:
    <?xml version="1.0" encoding="UTF-8"?>
    <WL5G3N0:definitions name="RetrievePersonService-concrete" targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N0="http://schemas.xmlsoap.org/wsdl/" xmlns:WL5G3N1="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService" xmlns:WL5G3N2="http://schemas.xmlsoap.org/wsdl/soap/">
    <WL5G3N0:import location="RetrievePersonService.wsdl" namespace="http://xmlns.oracle.com/pcbpel/adapter/db/KnowledeMgmtSOAApplication/AdapterJDevProject/RetrievePersonService"/>
    <WL5G3N0:binding name="RetrievePersonService_ptt-binding" type="WL5G3N1:RetrievePersonService_ptt">
    <WL5G3N2:binding style="document" transport="http://www.bea.com/transport/2007/05/jca"/>
    <WL5G3N0:operation name="RetrievePersonServiceSelect">
    <WL5G3N2:operation soapAction="RetrievePersonServiceSelect"/>
    <WL5G3N0:input>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:input>
    <WL5G3N0:output>
    <WL5G3N2:body use="literal"/>
    </WL5G3N0:output>
    </WL5G3N0:operation>
    </WL5G3N0:binding>
    <WL5G3N0:service name="RetrievePersonService_ptt-bindingQSService">
    <WL5G3N0:port binding="WL5G3N1:RetrievePersonService_ptt-binding" name="RetrievePersonService_ptt-bindingQSPort">
    <WL5G3N2:address location="jca://eis/DB/soademoDatabase"/>
    </WL5G3N0:port>
    </WL5G3N0:service>
    </WL5G3N0:definitions>
    Any suggestion is appricated .
    Thanks in advance!
    Edited by: user11262117 on Jan 26, 2011 5:28 PM

    Hi Anuj,
    Thanks for your reply!
    I found that the data source is registered on server soa_server1 as follows:
    Binding Name: jdbc.soademoDatabase
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 80328036
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/291])/291
    Binding Name: jdbc.SOADataSource
    Class: weblogic.jdbc.common.internal.RmiDataSource_1033_WLStub
    Hash Code: 92966755
    toString Results: ClusterableRemoteRef(8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1 [8348400613458600489S:10.2.1.143:[8001,8001,-1,-1,-1,-1,-1]:base_domain:soa_server1/285])/285
    I don't know how to determine which server the DBAdapter is targetted to.
    But I found the following information:
    Under Deoloyment->DBAdapter->Monitoring->Outbound Connection Pools
    Outbound Connection Pool Server State Current Connections Created Connections
    eis/DB/SOADemo AdminServer Running 1 1
    eis/DB/SOADemo soa_server1 Running 1 1
    eis/DB/soademoDatabase AdminServer Running 1 1
    eis/DB/soademoDatabase soa_server1 Running 1 1
    The DbAdapter is related to the following files:
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ connectors\ DbAdapter. rar
    C:\ Oracle\ Middleware\ home_11gR1\ Oracle_SOA1\ soa\ DBPlan\ Plan. xml
    I unzipped DbAdapter.rar, opened weblogic-ra.xml and found that there's only one data source is registered:
    <?xml version="1.0"?>
    <weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90">
    <enable-global-access-to-classes>true</enable-global-access-to-classes>
    <outbound-resource-adapter>
    <default-connection-properties>
    <pool-params>
    <initial-capacity>1</initial-capacity>
    <max-capacity>1000</max-capacity>
    </pool-params>
    <properties>
    <property>
    <name>usesNativeSequencing</name>
    <value>true</value>
    </property>
    <property>
    <name>sequencePreallocationSize</name>
    <value>50</value>
    </property>
    <property>
    <name>defaultNChar</name>
    <value>false</value>
    </property>
    <property>
    <name>usesBatchWriting</name>
    <value>true</value>
    </property>
    <property>
    <name>usesSkipLocking</name>
    <value>true</value>
    </property>
    </properties>
              </default-connection-properties>
    <connection-definition-group>
    <connection-factory-interface>javax.resource.cci.ConnectionFactory</connection-factory-interface>
    <connection-instance>
    <jndi-name>eis/DB/SOADemo</jndi-name>
              <connection-properties>
                   <properties>
                   <property>
                   <name>xADataSourceName</name>
                   <value>jdbc/SOADataSource</value>
                   </property>
                   <property>
                   <name>dataSourceName</name>
                   <value></value>
                   </property>
                   <property>
                   <name>platformClassName</name>
                   <value>org.eclipse.persistence.platform.database.Oracle10Platform</value>
                   </property>
                   </properties>
              </connection-properties>
    </connection-instance>
    </connection-definition-group>
    </outbound-resource-adapter>
    </weblogic-connector>
    Then I decided to use eis/DB/SOADemo for testing.
    For JDeveloper project, after I deployed to weblogic server, it works fine.
    But for OSB project referencing wsdl, jca and mapping file from JDeveloper project, still got the same error as follows:
    BEA-380001: Invoke JCA outbound service failed with application error, exception:
    com.bea.wli.sb.transports.jca.JCATransportException: oracle.tip.adapter.sa.api.JCABindingException: oracle.tip.adapter.sa.impl.fw.ext.org.collaxa.thirdparty.apache.wsif.WSIFException: servicebus:/WSDL/DBAdapterTest/DBReader [ DBReader_ptt::DBReaderSelect(DBReaderSelect_inputParameters,PersonTCollection) ] - WSIF JCA Execute of operation 'DBReaderSelect' failed due to: Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    ; nested exception is:
    BINDING.JCA-11622
    Could not create/access the TopLink Session.
    This session is used to connect to the datastore.
    Caused by Exception [EclipseLink-7060] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.ValidationException
    Exception Description: Cannot acquire data source [jdbc/SOADataSource].
    Internal Exception: javax.naming.NameNotFoundException: Unable to resolve 'jdbc.SOADataSource'. Resolved 'jdbc'; remaining name 'SOADataSource'.
    You may need to configure the connection settings in the deployment descriptor (i.e. DbAdapter.rar#META-INF/weblogic-ra.xml) and restart the server. This exception is considered not retriable, likely due to a modelling mistake.
    It almost drive me crazy!!:-(
    What's the purpose of 'weblogic-ra.xml' under the folder of 'C:\Oracle\Middleware\home_11gR1\Oracle_OSB1\lib\external\adapters\META-INF'?
    ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

  • Write to spreadsheet file.vi is storing data in one row only.

    The 8 points of data is going into one column in the spreadsheet. In the "Write to spreadsheet file string.vi" how do I write the 8 points to one row for each cycle?
    I got this VI from NI's web a couple of years ago and forgot how to modify this part. I usume it is within the write file.vi.
    Thank you in advance
    Skip

    I just reread your original post and the way the "Write to Spreadsheet File.vi" that ships with LV works by default is to put 1D arrays into rows. I read your post backwards and told you how to put the data in a column. Sorry.
    In any case, perhaps you need to make sure the Transpose input ISN'T true, and that the delimiter IS a tab.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for