Can I use the database toolset within a fieldpoint vi?

I want to be able to read and write to a database on our network using the database toolset. My vi works under windows but does not under fieldpoint. (does not run at all). I've included (loaded) the template while building the executable. As well I've include the udl support file to access the database

Ola,
If I was designing this system I would use a shared variable which contains the name of the last data file written by the FieldPoint.  The PC would monitor that name and when it changes, use the FTP VIs to download it to the PC.  The PC VI would then parse the text file and insert into the SQL database.
Using a lock file or a Boolean Data Ready? flag would also be very valid approaches.
Depending on how fast you are acquiring data you might be able to do away with the intermediate text file.  Another possible approach would be to use the TCP VIs to effectively stream the data from the FieldPoint back to the PC where it can be inserted into the database.
Regards,
Simon H

Similar Messages

  • Can I use  the database with as the ses as a regular database?

    I write a application base on SES recently, and I need to store some data in the database. Can I use the the database with ses?
    I can login using sqlplus login the database using the same pc as the ses installed, but I cannot login using sqldeveloper on other pc.
    I set ORACLE_HOME equals SES_HOME
    ORACLE_SID as ses

    I have similar requirement to connect to the database.
    I have removed those two lines from sqlnet.ora.
    However, when I using tnsping, I got below error
    Attempting to contact (DESCRIPTION=(CONNECT_DATA=(SERVICE_NAME=SES.us.oracle.com))(ADDRESS=(PROTOCOL=TCP)(HOST=144.25.165.5)(PORT=1521)))
    TNS-12541: TNS:no listener
    anythings else that I need to do

  • How can I use the database default time rather than Java supplied time

    I've searched over and over and nobody seems to have this issue so maybe its just me!
    When inserting a record I would like the a create_date column to automatically use the database time rather than a supplied time via JPA. That was all times a relative to the database which makes sense.
    The trouble is I cant figure out how to do this in a sensible manor.
    If I specify an column like :
         @Temporal(TemporalType.TIMESTAMP)
         @Column(name = "CREATE_DATE")
         private Date createDate;
    and IDL
    CREATE_DATE TIMESTAMP WITH TIME ZONE DEFAULT CURRENT_DATE NOT NULL
    If I leave createDate null I get an exception. If modify the column to allow Nullable then column is set as Null.
    If I leave the column out of the entity bean and then and create a row then the database current time is inserted. The trouble then is that if I want to read the date I'm going to have to create a copy of the bean but with the CREATE_DATE in it, and this doesn't make sense.

    I should also mention that TopLink has always supported the ability to retrieve the current time from the database for use in optimistic locking. The TimestampLockingPolicy offers the ability to configure the next value being retrieved from the database instead of using the local time from the JVM. Our extended optimistic locking configuration does not currently support setting this option but it could be done using a descriptor customizer which can be configured in your persistence unit properties.
    Using optimistic locking may be a good solution for the last modified date since it will also ensure that you do not corrupt the database if someone else has incremented this value since your last read.
    Doug

  • Exchange 2013 crash after installing CU9, can i use the database on a backup?

    so just installed tried to install CU 9 on Exchange 2013, installed fine and rebooted BSOD problem with ndis.sys, have a backup but dont wanna loose too much mail, can i restore the old backup and copy the databases and logs from the crashed exchange? if it is possible would i need to run some commands afterwards or would it just work?
    This topic first appeared in the Spiceworks Community

    What’s new: June 2015
    Here's a roundup of what's been happening in the world of Office 365 over the last month:
    Office for Android phone is here—The new Word, Excel and PowerPoint apps for Android phone have arrived! Review and edit documents on the go, present from your phone, and quickly find the files you were working on in the office or on your tablet. Access files stored in OneDrive, Dropbox, Google Drive and Box. You can download the apps today, and soon they’ll come preloaded on Samsung, Sony, LG and more Android phones.
    Wunderlist now part of Microsoft—Microsoft recently acquired Wunderlist, the market-leading to-do list app. Known for its ease of use and innovative design, Wunderlist provides an easy way to capture, organize and collaborate on lists and to-dos—for home, school and work. It’s a fantastic app and it’s available on...

  • Can you use the shuffle feature within a created playlist from itunes?

    Basically I would like to listen to a playlist on my ipod using the shuffle feature. I don't wish to hear the playlist in the same order everytime. Can this be done? If so, how?

    Yes. Go to SETTINGS > SHUFFLE, and set it to SONGS. Then, go back, highlight the name of your playlist and press PLAY. It will play just that playlist, and it will be shuffled.
    CHeers!
    -Bryan

  • How can i use the database in my plug-in?

    Hi :
           I write a plug-in, but i want it can read the datafile and get the data of corresponding column ,at last show them on the pageitem. I know InDesign have this founction but i can`t get use it in my plug-in. ( * -- * ) !

    In my case, windows environment.
    I  use odbc c++ programming.
    odbc library.
    http://web1.codeproject.com/KB/database/caaodbcclass.aspx?msg=733173
    this code has some bug, but you can fixed it.
    Lion,J

  • Can you use the shuffle feature within a created folder?

    if so, how?

    If you're talking about a folder on the iPod shuffle, I don't think you can create such a thing. If the folder you're talking about is an iTunes Playlist, then yes. (Although I have one where it doesn't seem to work.)
    Another thing you can do, if this is really an iTunes question, is select Party Shuffle in the Source list, then select the playlist you want to shuffle from in Source below the main window.
    Good luck
    srb

  • How do I a smallint SQL database value using the Database tools?

    I'm using the Database Toolset with Labview 7. I'm building up a parameterized Query to a Stored Procedure in my SQL Database. It doesn't appear that smallint output types are supported because zero is always loaded into the variable.
    Is this correct? I'm I doing something wrong?
    Feedback welcome... thanks!

    It's probibly not an issue with datatypes since LV has far more datatypes than most databases. What exactly are you trying to do? Are you getting the 0 when running the stored procedure? Could you perhaps post a bit of code (LV and SQL) that demonstrates the issue?
    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

  • When using the Database Connectivity Toolset, reads and writes with long binary fields are incompatible.

    I am trying to write LabVIEW Variants to long binary fields in a .mdb file using the Database Connectivity Toolset. I get errors when trying to convert the field back to a variant after reading it back from the database.
    I next tried flattening the variant before writing it and ultimately wound up doing the following experiments:
    1) If I use DB Tools Insert Data to write an ordinary string and read it back using a DB Tools Select Data, the string is converted from ASCII to Unicode.
    2) If I use DB Tools Create Parameterized Query to do an INSERT INTO or an UPDATE operation, specifying that the data is BINARY, then read it back using a DB Tools Select Data,
    the length of the string is prepended to the string itself as a big-endian four-byte integer.
    I can't think of any way to do a parameterized read, although the mechanism exists to return data via parameters.
    Presuming that this same problem affects Variants when they are written to the database and read back, I could see why I get an error. At least with flattened strings I have the option of discarding the length bytes from the beginning of the string.
    Am I missing something here?

    David,
    You've missed the point. When a data item is flattened to a string, the first four bytes of the string are expected to be the total length of the string in big-endian binary format. What is happening here is that preceding this four-byte length code is another copy of the same four bytes. If an ordinary string, "abcdefg" is used in place of the flattened data item, it will come back as <00><00><00><07>abcdefg. Here I've used to represent a byte in hexadecimal notation. This problem has nothing to do with flattening and unflattening data items. It has only to do with the data channel consisting of writing to and reading from the database.
    I am attaching three files that you can use to demonstrate the problem. The VI file c
    ontains an explanation of the problem and instructions for installing and operating the demonstration.
    Ron Martin
    Attachments:
    TestLongBinaryFields.vi ‏132 KB
    Sample.UDL ‏1 KB
    Sample.mdb ‏120 KB

  • Can we put multiple Database Polling within the asynchronous process

    Hi,
    Can we put multiple Database polling within the the same asynchronous BPEL process.
    There will be multiple Receive activities to receive the data from the poller.
    Saptarishi

    Hi Peter,
    I am using 10.1.3.4 and cannot use ESB/mediator.
    For the 2nd option,
    I have tried to put multiple receive's to poll data from a table but it does not work(it waits at the 2nd Receive). Let me try to elaborate the issue a bit.
    I have created a table for polling.
    The table has 3 columns :- transaction_id, status, is_read
    is_read is kept to implement the logical delete strategy of DB polling.
    What I need to do is to maintain a single instance of BPEL to maintain a transaction(which is uniquely identified by transaction_id).
    The BPEL should track the different stages of the transaction, i.e whenever a new row is inserted in the table with the updated status for a transaction, it must find the correct instance(by co-relating the transaction_id) and go to the next step (wait for the next receive activity) until all the steps of the transaction is completed.
    In the code, I created a correlation set consisting of transaction_id(only). The property transaction_id has an alias to the inbound variable's payload.
    In the first Receive, I checked the "create instance" checkbox. Also the correlation set is initialized.
    From next Receive onwards the correlation set is checked.
    The polling frequency is 5 secs.
    The first Receive works fine and the process is instantiated. But it waits at the 2nd Receive indefinitely.
    It will be very helpful if you can try this once. If you feel this is not the right approach, please guide me.
    Thanks and Regards,
    Saptarishi

  • How can I delete a row in access using the database toolkit?

    I want to delete just one row of a access table using the database toolkit. Can it be done and if so How?

    Take a look at page A-1 of the database connetivity manual. It has information on making a sql query that will delete. You will need to use this command with the dbtools execute query function. Look in the shipping examples for an example with this function.

  • Can I use Other database as the repository, Sybase/SQL Server? Urgent!!!

    Hi all,
    Can I use Other database as the repository, Sybase/SQL Server? Urgent!!!
    And Can I use other database store business data and sync with lite?
    Thanks ahead!!!

    Jonathan,
    No, it is not possible to use any other database than Oracle (8.1.7) or later .
    Oracle Lite will only work with Oracle.
    Regards

  • Help with Adobe.premiere.elements12. Please It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos wi

    Help with Adobe.premiere.elements12. Please
    It would appear under the organizer tab that the photos are organised in the lowest folder in the folder structure within Windows Explorer.  How can I use the Windows Explorer structure to organise the photos within Elements.

    In a situation such as yours, I tend to consolidate items into folders so I have folders of nice workable numbers of images, somewhere between 20 and 200 images. Now, whatever, once you've imported, do your moving within LR, not the OS! I will select all in a folder and drag into a folder a level or two or three above, and then delete the newly empty subfolders. I hope this helps a bit!
    Once you've reached just new Imports of camera output, you'll be flying along.

  • Hello i would like to stop using outlook (office 2011) and use instead "mail": how can i transfer the database?

    hello i would like to stop using outlook (office 2011) and use instead "mail": how can i transfer the database?

    Hello Sylviefrombuenosaires, here is a link from macworld that can solve your question. Try reading this.
    http://www.macworld.com/article/158112/2011/02/export_outlook_ical.html
    Carlos

  • Can I recover the database to the current time using a backup control file?

    Can I recover the database to the current time using a backup control file? How far can I recover this database?
    I have an Oracle 10g(10.2.3) database on RHEL4.3 system.
    I have lost all the current control files and all the online redo logs, archived redo logs and all other files are OK.
    Now I have to recovery this database using a backup control file.
    Can I recover the database without any data lost?

    If
    a) it was a Shutdown Abort or an Instance Crash (i.e. backgrounds died on detecting loss of redo logs),
    b) redo logs are lost
    c) data files are intact
    You'd have to
    a) Restore datafiles
    b) Do an Incomplete Recovery to the last available ArchiveLog
    Hemant K Chitale
    http://hemantoracledba.blogspot.com

Maybe you are looking for

  • My itunes is freezing up each time i open it and giving me an error message

    All of a sudden my Itunes is freezing up about 30 seconds after it opens. I am running windows XP and I keep getting a "itunes needs to shut down" message asking if i want to send a report to Microsoft or not. Has anyone had problems like this, where

  • Coloring table row using css in pfr

    Hi all, I am using classic table region for loading the records.After loading in PFR using table multiselection selecting one or more than one row then coloring should happen for those selected rows. In pfr we cann't change bean properties. Give ur i

  • ESata on Satellite L550-ST5702

    I just purchased an external eSata hardrive and when I transfer files to it the transfer rate is only as fast (or even slower) than when I use USB. I am using Windows 7 Professional x86. Am I missing drivers or something? How can I increase the speed

  • SQL Developer Data Modeler Information Flow descriptions

    Hello I am new to SQL Developer Data Modeler. Is there a way to display on the Data Flow Diagram the descriptions on the Information Flow lines. Regards Ade

  • Textpad user package does not exist ( classpath, autoexec)

    hi, I have searched 6 ways of sunday on this little fiasco... can you help me sort this out...please.. I have added to my autoexec.bat classpath=c:\jDevl;.; my directory structure is C:\jDevl\Junk1 \Date.java \Car.java \soldcar.java //code for Car.ja