08-02-2015 10:23 PM
Hi mr Mike, the A,B,C just a testing only. Now i have change to as pic below.
Thanks to teaching me to connect like tis. It works well. !!
I got a question. Can i extract out the highest value in wind speed column in mysql and show it on my front panel in labview ?
08-02-2015 11:26 PM
08-02-2015 11:53 PM
okay noted. Thanks denniss !
08-03-2015 06:54 AM
Now that things are starting to work for you, it's time to get the database Open and Close out of your While loop. There's no reason to create/open/close the connection every time through the loop, is there?
08-04-2015 03:00 AM
Jim, if i remove ADO Open connection, The DSN=Nyp; link will dissapear, will it lose connection to mysql database ?
Now i added one more to show the Highest wind speed logged. And the connection is as pic below. Can i remove the ADO Open , and Close for both ?
08-04-2015 07:15 AM
@Jxwong2203 wrote:
Jim, if i remove ADO Open connection, The DSN=Nyp; link will dissapear, will it lose connection to mysql database ?
Now i added one more to show the Highest wind speed logged. And the connection is as pic below. Can i remove the ADO Open , and Close for both ?
I didn't mean to remove it, just move it outside of your While loop so you're not creating/opening/closing it every time through the loop. Here's what I meant:
08-04-2015 08:50 PM
Ok jim, noted ! thanks for your suggestions 😄