10-26-2009 02:28 AM
hi mike,
will you help me to do the project using database or labsql toolkit.... i dont know how to connect my previous thread in this post.. sorry for that....
10-26-2009 02:39 AM - edited 10-26-2009 02:40 AM
Posting multiple quiries for help in quick succession will not help at all. Most people here are answering questions voluntarily and it is your task to create a post that will attract the attention of them and make them want to spend some of their very precious time to help you. Whining for help, posting repeated cries for help, opening several threads in parallel for the same problem, and not starting to do some work of your own and post in a thread what you have done so far (yes that include uploading a VI and other support files of what you have done so far), will only discourage everyone to answer you.
I know it does for me and AFAIK I'm fairly ordinary in that aspect.
10-26-2009 03:10 AM
here is the attachment of my sample program...
open main_vi and give no_0f_pins as 4 not more than 4....
select the signal from the enumerate....
and i now learning how to save the data in database instead of saving in Excel....
just now i knew about the command set for the sql and now capable of doing basic program... but i want to know what is the differences between database toolkit and labsql toolkit.. im using labsql and labview 7.0.. i attached only simulation of my project...
waiting for your response... thank u..
10-26-2009 09:50 AM - edited 10-26-2009 09:54 AM
The main difference (imho) between the toolkit and LabSQL is that there are functions in the toolkit that hide some of the SQL commands and make it easier for a beginner to use. At the lowest level, both the toolkit and LabSQL use ADO as the technology. Frankly, I don't think that SQL is all that difficult, especially for what you plan to use it for. There are numerous tutorials available and LabSQL comes with example VIs. You can do a search with Google. The basic command to write to a db is with an INSERT. For example, INSERT INTO tablename (columnname1, columnname2) VALUES (value1,value2).
What database are you using? Have you designed the tables?
p.s. Learn to program without using local variables or the sequence structure. None of those locals are required. Your hidden controls/indicators have absolutely no point.
10-27-2009 01:00 AM
hi,
i have one doubt that error -2147217900 is coming in my program... what is its means..??
actually what my problem is if i create table in manually in msaccess its doesnt shows any error... i created table name : report as manually... if i didnt create any table manually and using DB tool create table... if i give diff table name to creating it automatically its showing error
10-27-2009 01:02 AM
hi,
anyone help me to solve my doubt and my problem..
lots lots of thanks in advance...
10-27-2009 01:50 AM - edited 10-27-2009 01:51 AM
srinivasan.accent@gmail.com wrote:hi,
i have one doubt that error -2147217900 is coming in my program... what is its means..??
actually what my problem is if i create table in manually in msaccess its doesnt shows any error... i created table name : report as manually... if i didnt create any table manually and using DB tool create table... if i give diff table name to creating it automatically its showing error
Say are you trying to test us???
Which function returns that error and when? Why does your UDL file seem to use the OLDE DB provider for ODBC sources instead of the correct ACCESS DB Driver?
You don't have any access privilieges enabled in the UDL configuration so it would seem logical that you can't create a table through such a connection.
A google search for your error 0x80040e14 also returns various possibilities. Very helpful and usually quite explanatory is the extra text that is provided in the error cluster about what the possible cause of an error is.
10-27-2009 02:27 AM
hi,
im not testing anybody.... i want to learn.. im new to labview and especially very new to database toolkit..
if u dont mind can u tell clearly i cant understand what you are telling?? pls tell me what problem is in my program... im using labview 7.0...
10-27-2009 02:34 AM - edited 10-27-2009 02:36 AM
srinivasan.accent@gmail.com wrote:hi,
im not testing anybody.... i want to learn.. im new to labview and especially very new to database toolkit..
if u dont mind can u tell clearly i cant understand what you are telling?? pls tell me what problem is in my program... im using labview 7.0...
Can you answer at least some of the questions in my previous post?
Such as:
1) Which functions (VI) returns that error?
2) What is the additional text in the error cluster when you receive that error?
3) Why didn't you use the OLE DB Provider for Access instead of the generic OLE DB Driver for ODBC sources?
4)Did you try to play with the access rights in the UDL configuration? Currently you do not grant any access rights for that connection, which might be ok for queries but certainly not for creating a table, inserting values, or dropping a table.
10-27-2009 02:39 AM
hi,
same program is in example program of labview 8.6 evaluation.. but its working correctly.. but i verified the example program with my program.. the method of creating of new table name in automatically is same but its not working in labview 7.0.... u can clear my doubt..