How to connect mysql database to labview and plot the graph
Hi all,
I am doing my final year project about labview. I need to connect my mysql workbench database to labview and plotting two sinwave in same graph. I can already connected my labview to mysql and showing the data in labview table.But I need to plot the two sinwave in on graph according to table data. Eg: table data: timestamp wind speed wind direction
2004-01-01 0.5 56
2004-01-01 0.6 60
The attachemtn vi is about inserting file and plot the graph. And now I want plotting the sinwave using table data and the wind speed Y-axis,wind direction Y-axis in both side of my graph and the X-axis is showing the whole day timing like 00:00:00-24:00:00. Can anybody combine these 2 vi to polting the graph according table data not according to file data.Thanks
Attachments:
Mysql.vi 11 KB
Insert File.vi 25 KB
Wind Project.vi 24 KB
Please don't start a new thread. Stick to the original.
http://forums.ni.com/t5/LabVIEW/How-to-plot-waveform-or-graph-using-table-database-which/td-p/294036...
Similar Messages
-
How to connect mysql database using xml
welcome to all,
here my doubt is how to connect mysql database using xml file, how to integrate xml file and jsp file and how to access data from dabase using jsp file. can any one help me
regardsShort answer: you wouldn't do any of those things. The first two are meaningless and the third is a bad practice. I have no idea what those ideas were supposed to achieve so I have no idea what tutorials I should suggest to you.
-
How to Connect MySQL Database Through JTable?
Hi,
How to Connect MySQL Database Through JTable? anyone of u knows these concept please send me coding of that Part..
Thanks,
Guru..Start by reading the tutorials. There's a section on Swing which shows you how to use tables and a section on JDBC which shows you how to use SQL.
And you can always search the forum as well since there are working examples of both posted on the forum.
If you need further help with a specific problem then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting. -
How to connect mySQL database with jdbc
Who can tell me how to connect mySQL database with jdbc? Thanks
http://onesearch.sun.com/search/developers/index.jsp?and=connect+mysql&nh=10&phr=&qt=¬=&field=title&since=&col=devforums&rf=0&Search.x=24&Search.y=16
-
How to connect MySql database with JSP
Dear everyone,
how to connect MySql database with JSP......It's too bad that nobody has ever asked this question before...
-
How to connected mysql database to iphone app?
I make application which must use mysql database because my application is related to other desktop application
If the app uses the same db as on the user's computer, you should look into using iCloud to share and sync the data. Visit the iOS Dev Center for details.
-
How to connect one database in two threads?
Dear All,
If anyone can tell me how to connect one database concurrently?
I tried the following idea:
1.create a Hashtable to keep database objects(those databases have been opened)
2.Before openning(connecting) a database:first step is to check the hashtable.
If the the database object is in the hashtable, this object will be returned.
If the datatbase object is not in the hastable, open the database and store this opened database object into the hashtable.
I failed the test of this implementation. My test is:Create two threads (extend java Thread class).In each of these two threads, try to open the same database.Just like the following:
MyThread thread1 = new MyThread();
MyThread thread2 = new MyThread();
thread1.start();
thread2.start();
I guessed the database object in the hashtable would be returned in the second thread.Unfortunatly, I only got an exception which meant the database couldn't be opened twice.It looks like the second thread happened before the opened database object stored into the hashtable.
I cannot figure out if my design is wrong or my test application is wrong.
I really appriatiate your attentions!!!
Luum not sure i follow exactly but in your code add the word synchronise to it and this means only 1 tread can access it at any 1 time.
So your could have a class which is a singleton so it only opens the dbase once and then all other access share your connection.
so
public class foo{
foo INSTANCE = new foo();
private foo(){} //private constructor
then all your methods use foo's internal dbase connection. Am i making sense -
How to connect mysql and oracle 10g by UTL_HTTP?
how to connect mysql 5.0 and oracle 10g r2 by UTL_HTTP?what to do for this url connection exactly?
cant i change anything to stup a link?
SQL> desc utl_http
PROCEDURE ADD_COOKIES
Argument Name Type In/Out Default?
COOKIES TABLE OF RECORD IN
FUNCTION BEGIN_REQUEST RETURNS RECORD
Argument Name Type In/Out Default?
URL VARCHAR2(32767) OUT
METHOD VARCHAR2(64) OUT
HTTP_VERSION VARCHAR2(64) OUT
PRIVATE_HNDL BINARY_INTEGER OUT
URL VARCHAR2 IN
METHOD VARCHAR2 IN DEFAULT
HTTP_VERSION VARCHAR2 IN DEFAULT
PROCEDURE CLEAR_COOKIES
PROCEDURE CLOSE_PERSISTENT_CONN
Argument Name Type In/Out Default?
CONN RECORD IN
HOST VARCHAR2(256) IN
PORT BINARY_INTEGER IN
PROXY_HOST VARCHAR2(256) IN
PROXY_PORT BINARY_INTEGER IN
SSL BOOLEAN IN
PROCEDURE CLOSE_PERSISTENT_CONNS
Argument Name Type In/Out Default?
HOST VARCHAR2 IN DEFAULT
PORT BINARY_INTEGER IN DEFAULT
PROXY_HOST VARCHAR2 IN DEFAULT
PROXY_PORT BINARY_INTEGER IN DEFAULT
SSL BOOLEAN IN DEFAULT
PROCEDURE END_REQUEST
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
PROCEDURE END_RESPONSE
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
PROCEDURE GET_AUTHENTICATION
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
SCHEME VARCHAR2 OUT
REALM VARCHAR2 OUT
FOR_PROXY BOOLEAN IN DEFAULT
PROCEDURE GET_BODY_CHARSET
Argument Name Type In/Out Default?
CHARSET VARCHAR2 OUT
FUNCTION GET_BODY_CHARSET RETURNS VARCHAR2
PROCEDURE GET_COOKIES
Argument Name Type In/Out Default?
COOKIES TABLE OF RECORD IN/OUT
FUNCTION GET_COOKIE_COUNT RETURNS BINARY_INTEGER
PROCEDURE GET_COOKIE_SUPPORT
Argument Name Type In/Out Default?
ENABLE BOOLEAN OUT
MAX_COOKIES BINARY_INTEGER OUT
MAX_COOKIES_PER_SITE BINARY_INTEGER OUT
PROCEDURE GET_DETAILED_EXCP_SUPPORT
Argument Name Type In/Out Default?
ENABLE BOOLEAN OUT
FUNCTION GET_DETAILED_SQLCODE RETURNS BINARY_INTEGER
FUNCTION GET_DETAILED_SQLERRM RETURNS VARCHAR2
PROCEDURE GET_FOLLOW_REDIRECT
Argument Name Type In/Out Default?
MAX_REDIRECTS BINARY_INTEGER OUT
PROCEDURE GET_HEADER
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
N BINARY_INTEGER IN
NAME VARCHAR2 OUT
VALUE VARCHAR2 OUT
PROCEDURE GET_HEADER_BY_NAME
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
NAME VARCHAR2 IN
VALUE VARCHAR2 OUT
N BINARY_INTEGER IN DEFAULT
FUNCTION GET_HEADER_COUNT RETURNS BINARY_INTEGER
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
PROCEDURE GET_PERSISTENT_CONNS
Argument Name Type In/Out Default?
CONNECTIONS TABLE OF RECORD IN/OUT
FUNCTION GET_PERSISTENT_CONN_COUNT RETURNS BINARY_INTEGER
PROCEDURE GET_PERSISTENT_CONN_SUPPORT
Argument Name Type In/Out Default?
ENABLE BOOLEAN OUT
MAX_CONNS BINARY_INTEGER OUT
PROCEDURE GET_PROXY
Argument Name Type In/Out Default?
PROXY VARCHAR2 OUT
NO_PROXY_DOMAINS VARCHAR2 OUT
FUNCTION GET_RESPONSE RETURNS RECORD
Argument Name Type In/Out Default?
STATUS_CODE BINARY_INTEGER OUT
REASON_PHRASE VARCHAR2(256) OUT
HTTP_VERSION VARCHAR2(64) OUT
PRIVATE_HNDL BINARY_INTEGER OUT
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
RETURN_INFO_RESPONSE BOOLEAN IN DEFAULT
PROCEDURE GET_RESPONSE_ERROR_CHECK
Argument Name Type In/Out Default?
ENABLE BOOLEAN OUT
PROCEDURE GET_TRANSFER_TIMEOUT
Argument Name Type In/Out Default?
TIMEOUT BINARY_INTEGER OUT
PROCEDURE READ_LINE
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
DATA VARCHAR2 OUT
REMOVE_CRLF BOOLEAN IN DEFAULT
PROCEDURE READ_RAW
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
DATA RAW OUT
LEN BINARY_INTEGER IN DEFAULT
PROCEDURE READ_TEXT
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
DATA VARCHAR2 OUT
LEN BINARY_INTEGER IN DEFAULT
FUNCTION REQUEST RETURNS VARCHAR2
Argument Name Type In/Out Default?
URL VARCHAR2 IN
PROXY VARCHAR2 IN DEFAULT
WALLET_PATH VARCHAR2 IN DEFAULT
WALLET_PASSWORD VARCHAR2 IN DEFAULT
FUNCTION REQUEST_PIECES RETURNS TABLE OF VARCHAR2(2000)
Argument Name Type In/Out Default?
URL VARCHAR2 IN
MAX_PIECES BINARY_INTEGER IN DEFAULT
PROXY VARCHAR2 IN DEFAULT
WALLET_PATH VARCHAR2 IN DEFAULT
WALLET_PASSWORD VARCHAR2 IN DEFAULT
PROCEDURE SET_AUTHENTICATION
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
USERNAME VARCHAR2 IN
PASSWORD VARCHAR2 IN DEFAULT
SCHEME VARCHAR2 IN DEFAULT
FOR_PROXY BOOLEAN IN DEFAULT
PROCEDURE SET_BODY_CHARSET
Argument Name Type In/Out Default?
CHARSET VARCHAR2 IN DEFAULT
PROCEDURE SET_BODY_CHARSET
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
CHARSET VARCHAR2 IN DEFAULT
PROCEDURE SET_BODY_CHARSET
Argument Name Type In/Out Default?
R RECORD IN/OUT
STATUS_CODE BINARY_INTEGER IN/OUT
REASON_PHRASE VARCHAR2(256) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
CHARSET VARCHAR2 IN DEFAULT
PROCEDURE SET_COOKIE_SUPPORT
Argument Name Type In/Out Default?
ENABLE BOOLEAN IN
MAX_COOKIES BINARY_INTEGER IN DEFAULT
MAX_COOKIES_PER_SITE BINARY_INTEGER IN DEFAULT
PROCEDURE SET_COOKIE_SUPPORT
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
ENABLE BOOLEAN IN DEFAULT
PROCEDURE SET_DETAILED_EXCP_SUPPORT
Argument Name Type In/Out Default?
ENABLE BOOLEAN IN DEFAULT
PROCEDURE SET_FOLLOW_REDIRECT
Argument Name Type In/Out Default?
MAX_REDIRECTS BINARY_INTEGER IN DEFAULT
PROCEDURE SET_FOLLOW_REDIRECT
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
MAX_REDIRECTS BINARY_INTEGER IN DEFAULT
PROCEDURE SET_HEADER
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
NAME VARCHAR2 IN
VALUE VARCHAR2 IN DEFAULT
PROCEDURE SET_PERSISTENT_CONN_SUPPORT
Argument Name Type In/Out Default?
ENABLE BOOLEAN IN
MAX_CONNS BINARY_INTEGER IN DEFAULT
PROCEDURE SET_PERSISTENT_CONN_SUPPORT
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
ENABLE BOOLEAN IN DEFAULT
PROCEDURE SET_PROXY
Argument Name Type In/Out Default?
PROXY VARCHAR2 IN
NO_PROXY_DOMAINS VARCHAR2 IN DEFAULT
PROCEDURE SET_RESPONSE_ERROR_CHECK
Argument Name Type In/Out Default?
ENABLE BOOLEAN IN DEFAULT
PROCEDURE SET_TRANSFER_TIMEOUT
Argument Name Type In/Out Default?
TIMEOUT BINARY_INTEGER IN DEFAULT
PROCEDURE SET_TRANSFER_TIMEOUT
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
TIMEOUT BINARY_INTEGER IN DEFAULT
PROCEDURE SET_WALLET
Argument Name Type In/Out Default?
PATH VARCHAR2 IN
PASSWORD VARCHAR2 IN DEFAULT
PROCEDURE WRITE_LINE
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
DATA VARCHAR2 IN
PROCEDURE WRITE_RAW
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
DATA RAW IN
PROCEDURE WRITE_TEXT
Argument Name Type In/Out Default?
R RECORD IN/OUT
URL VARCHAR2(32767) IN/OUT
METHOD VARCHAR2(64) IN/OUT
HTTP_VERSION VARCHAR2(64) IN/OUT
PRIVATE_HNDL BINARY_INTEGER IN/OUT
DATA VARCHAR2 IN -
How to connect labviewv database toolkit to SQL CE server
Dear sir,
i am using labview 8.2.1 and Database Connectivity 8.2.i need same simple concept of how to connect LV database toolkit to SQL CE Server.When opening the database connection, you will need to provide either a connection string, or a path to a UDL (which will contain a conenction string). The easiest way to get a connection string is to go to (no I am not kidding) www.ConnectionStrings.com. Once there you enter the type of DBMS you are trying to connect to, and the system will list connection strings that you can use based on the drivers that you're using.
How much experience do you have with LV and/or databases?
Mike...
PS: you might also want to check out a series I did a bit ago on database connectivity in my blog. See the link in my signature...
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 -
How to connect sql database with Flash
Dear Friends,
Iam working on a quessinarie (assesment) for elearning software. i want to connect sql database with flash and save my records in back end like add, delete, modification of student result and details.
Kindly help me to connect the sql database. or dot net server. I know how to connect PHP and mysql. But my client dont want php. only sql database and do the add, del, modificaiton.
Thanks in advance,
Syed Abdul Rahimunfortunately no, i do not know ASP well enough to give any code advice, other than the basic concept: make a request on a server-side script (such as ASP) via URLLoader - the script receives variable values (if required), runs the DB queries you wish to invoke, and 'returns' the results - pick them up in the URLVariables class via the event handler in Flash and assign them to local properties if needed, etc.
there are quite a few threads that you could find more specific information on the ASP side, here and elsewhere around the net. -
How to connect sybase database in JDeveloper 11g using JConnect
Hi
How to connect sybase database in JDeveloper 11g using JConnect? Please help.User,
It would help if you explained Sybase Jconnect instead of leaving us to google.
At any rate, it appears you need to create a library definition in JDeveloper, add the appropriate JConnect JAR files to the library's classpath, and then add the library to your project.
John -
How to connect Oracle database in VC++.06
How to connect Oracle database in VC++.06 please give me details
on the Insert command button and add the following code to the button click event:
try
string results = "";
OracleConnection con = new OracleConnection("DSN=Employee;uid=system;pwd=test");
con.Open();
..................................................................... -
Hi guys Pls tell me a way to connect db4 database with jsp and which driver
hi guys
Pls tell me a way to connect db4 database with jsp and
also tell me which driver i have to use
also tell me how to connect with excel sheetstake a look at the follwing links. There, you'll find all what you need :
DB4:
http://www.oracle.com/database/berkeley-db/je/index.html
http://www.oracle.com/technology/products/berkeley-db/je/index.html
http://www.oracle.com/database/berkeley-db/db/index.html
http://www.oracle.com/database/docs/berkeley-db-je-datasheet.pdf
Excel:
http://64.18.163.122/rgagnon/javadetails/java-0516.html
Hope That Helps -
How to connect oracle database with JAVA
how to connect oracle database with JAVA....
using j2sdk and Jcreator . which connector to use .. what are the code for that ..PLEASE .... Ask in an Oracle Java forum.
And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems. -
How to connect oracle database into VC?GIve step by step.
Hi Experts,
Please help
How to connect oracle database into VC?
I need step by step.
what shall i do the first to connect via jdbc or something else.
whether we have to create dsn name or using jdbc connections?which one to use?
Please give the basic steps.Its very urgent.
Thanks and Regards,
NutanHi ,
all information are in the following document:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424">How to Configure a Business Intelligence JDBC System for Visual Composer</a>
Rgds,
Karim
Maybe you are looking for
-
How to avoid multiple DataConnections with LCD ES2
Hi, we are just starting using the data connections to connect via a database with LiveCycle Designer. It seems we are missing something important regarding to manipulation of data from the PDF. At first we have tried to apply a INSERT command to our
-
My iMac's internet is running very slow.
I have an iMac model identifier 9.1, with Mac OS X v10.5.8 and safari version 5.0.6. All programs are running normally (fast) except safari. When I try to load webpages it takes about 11 seconds to fully load. All other computers in my house are conn
-
Intel INF drivers won't install
I recently reinstalled Windows XP because of some problems with it. All other drivers installed perfectly, and there hasn't been any problems yet. Exept the Intel driver, which won't save any files onto the HDD. I car run the setup, and it usually wo
-
Screen locked yesterday x 5 times. Powered on/off AOK. Connected to ITunes on windows PC, upgraded OS as suggested, Synch performed, backup halted Out of space? tried to delete apps from ITunes directly, Error messages "disk is full". Phone scree
-
Hi Everyone, I don't know much about scripting so I'm hoping someone can help me. I'm trying to modify the LabelGraphics script to capture the "Date Created" field. I have tons of images that I need to organize based on their date of creation but I n