Unfamilair with ADO DB connectionsOptions‎03-30-2008 09:59 PMHi I am n translation - Unfamilair with ADO DB connectionsOptions‎03-30-2008 09:59 PMHi I am n Thai how to say

Unfamilair with ADO DB connectionsO

Unfamilair with ADO DB connections
Options
‎03-30-2008 09:59 PM

Hi I am not familiar with ADO DB connection.
I am using Labview 7.1, MySQL and LabSQL.
To get LabSQL and MySQL, you can find http://jeffreytravis.com/lost/labsql.html and http://dev.mysql.com/downloads/mysql/4.1.html.

In those LabsQL vi functions, there are no vi descriptions for connections.
I tried finding similar descriptions to compare from ADO websites. I am getting confused.

Here are LabSQL vi functions:-
1) ADO Connection Create.vi - means Create an connection to database?
2) ADO Connection Open.vi - means Open the connection to database?
3) ADO Connection Close.vi - means Close the connection to database?
4) ADO Connection Destroy.vi - means Destroy the connection to database?
Are ADO Connection Close and Destroy same?

And I am not familiar with the sequence of those vi.
For eg. I read the procedure from http://www.w3schools.com/ado/ado_intro.asp
Accessing a Database from an ASP Page
The common way to access a database from inside an ASP page is to:
Create an ADO connection to a database
Open the database connection
Create an ADO recordset
Open the recordset
Extract the data you need from the recordset
Close the recordset
Close the connection
So when I cannot find LabSQL functions for eg Open recordset and close recordset, so what is the equivalent ADO function to "destroy the connection"?
And here are my attached, and I there's something i do not understand,
And my question for my attached, typing my show processlist in command prompt,
When run attached for the first time, "show processlist" command show no host to "test" db.
when click to open database, "show processlist" command shows my host to "test" db.
When click to close database, "show processlist" command still shows my host to "test" db.
Why is this so? By right, there should be no sign of "test" db. Do i have to use ADO Connection Destroy vi to destroy connection?

Please advise
Thanks
Attachment testdb_connection.vi ‏68 KB
Message 1 of 10 (3,119 Views)
Reply
0 Kudos
Member Van_L
Member
Van_L
Posts: 121
Re: Unfamilair with ADO DB connections
Options
‎03-31-2008 03:11 PM

Hi Astroboy,

I am not too familiar with LabSQL either, but after doing some search on the discussion forum I found som pretty useful threads which can be really helpful to you:

LabSQL Can't make it work
labsql - LabVIEW
labsql step-by-step
Create new table using LABSQL

If you type in LabSQL at NI Discussion Forums you can find more.

I'll look into this also
Van L
NI Applications Engineer
0/5000
From: -
To: -
Results (Thai) 1: [Copy]
Copied!
Unfamilair กับการเชื่อมต่อ ADO DBตัวเลือก03-30-2008 09:59 PMสวัสดีครับ ผมไม่คุ้นเคยกับการเชื่อมต่อ ADO DBผมใช้ Labview 7.1, MySQL และ LabSQLรับ LabSQL และ MySQL คุณสามารถหา http://jeffreytravis.com/lost/labsql.html และ http://dev.mysql.com/downloads/mysql/4.1.html ในฟังก์ชันเหล่า LabsQL vi มีคำอธิบายไม่มี vi สำหรับการเชื่อมต่อฉันพยายามหาคำอธิบายที่คล้ายกันเปรียบเทียบจากเว็บไซต์ของ ADO ผม:ได้รับสับสน นี่คือฟังก์ชัน LabSQL vi: -1) ADO การเชื่อมต่อ Create.vi - หมายถึง สร้างการเชื่อมต่อกับฐานข้อมูล2) ADO การเชื่อมต่อ Open.vi - หมายความว่า เปิดการเชื่อมต่อกับฐานข้อมูล3) ADO การเชื่อมต่อ Close.vi - หมายความว่า ปิดการเชื่อมต่อกับฐานข้อมูล4) ADO การเชื่อมต่อ Destroy.vi - หมายถึง ทำลายการเชื่อมต่อกับฐานข้อมูลมีการปิดการเชื่อมต่อ ADO และทำลายเหมือนกัน และฉันไม่คุ้นเคยกับลำดับของเหล่า viสำหรับ eg อ่านขั้นตอนจาก http://www.w3schools.com/ado/ado_intro.aspการเข้าถึงฐานข้อมูลจากเพจที่มี ASPวิธีทั่วไปในการเข้าถึงฐานข้อมูลจากภายในเพจที่มี ASP คือการ:สร้างการเชื่อมต่อ ADO กับฐานข้อมูลเปิดการเชื่อมต่อฐานข้อมูลสร้างชุดระเบียน ADOเปิดชุดระเบียนแยกข้อมูลที่คุณต้องการจากชุดระเบียนปิดชุดระเบียนปิดการเชื่อมต่อดังนั้นเมื่อหาไม่ LabSQL ฟังก์ชั่นเช่นชุดระเบียนเปิด และปิดชุดระเบียน ADO ฟังก์ชันเทียบเท่า "ทำลายการเชื่อมต่อ" คือและนี่คือแนบของฉัน และฉันมีบางอย่างที่ฉันไม่เข้าใจและคำถามของฉันสำหรับฉันแนบ พิมพ์ processlist ของฉันแสดงในพร้อมท์คำสั่งเมื่อเรียกใช้แนบครั้งแรก คำสั่ง "แสดง processlist" แสดงไม่โฮสต์เพื่อ "ทดสอบ" dbเมื่อคลิกเปิดฐานข้อมูล โฮสต์ของฉันแสดง "แสดง processlist" สั่งการ "ทดสอบ" dbเมื่อคลิกปิดฐานข้อมูล คำสั่ง "แสดง processlist" ยังคงแสดงโฮสต์ของฉันเพื่อ "ทดสอบ" dbเพราะเหตุใดเพื่ออะไร โดยขวา ควรไม่ลง db "ทดสอบ" ต้องใช้การเชื่อมต่อ ADO ทำลาย vi จะทำลายการเชื่อมต่อหรือไม่ กรุณาแจ้งขอบคุณเอกสารแนบ testdb_connection.vi 68 KBข้อที่ 1 ของ 10 (3,119 ชม)ตอบรุ่งโรจน์ 0 สมาชิก Van_LสมาชิกVan_Lโพสต์: 121Re: Unfamilair กับการเชื่อมต่อ ADO DBตัวเลือก03-31-2008 03:11 PMสวัสดี Astroboyผมไม่คุ้นเคยไปกับ LabSQL อย่างใดอย่างหนึ่ง แต่หลังจากทำบางค้นหาในฟอรั่มสนทนา พบส้มกระทู้สวยมีประโยชน์ซึ่งจะเป็นประโยชน์กับคุณจริง ๆ:LabSQL ไม่ทำงานlabsql - LabVIEWlabsql ทีละขั้นตอนสร้างตารางใหม่โดยใช้ LABSQLถ้าคุณพิมพ์ LabSQL ที่ NI สนทนา คุณสามารถหาเพิ่มเติมผมจะดูในนี้ยังรถตู้ Lวิศวกรโปรแกรมประยุกต์ NI
Being translated, please wait..
 
Other languages
The translation tool support: Afrikaans, Albanian, Amharic, Arabic, Armenian, Azerbaijani, Basque, Belarusian, Bengali, Bosnian, Bulgarian, Catalan, Cebuano, Chichewa, Chinese, Chinese Traditional, Corsican, Croatian, Czech, Danish, Detect language, Dutch, English, Esperanto, Estonian, Filipino, Finnish, French, Frisian, Galician, Georgian, German, Greek, Gujarati, Haitian Creole, Hausa, Hawaiian, Hebrew, Hindi, Hmong, Hungarian, Icelandic, Igbo, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Kinyarwanda, Klingon, Korean, Kurdish (Kurmanji), Kyrgyz, Lao, Latin, Latvian, Lithuanian, Luxembourgish, Macedonian, Malagasy, Malay, Malayalam, Maltese, Maori, Marathi, Mongolian, Myanmar (Burmese), Nepali, Norwegian, Odia (Oriya), Pashto, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Samoan, Scots Gaelic, Serbian, Sesotho, Shona, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Sundanese, Swahili, Swedish, Tajik, Tamil, Tatar, Telugu, Thai, Turkish, Turkmen, Ukrainian, Urdu, Uyghur, Uzbek, Vietnamese, Welsh, Xhosa, Yiddish, Yoruba, Zulu, Language translation.

Copyright ©2025 I Love Translation. All reserved.

E-mail: