LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New to Lab view! Need some Help.

I am new to Lab view and I have to make an application
which can access three different types of database provided in note pad.the massages in the data base are in Hex.
I need to acess that notepad file and chose few messages from there.
in my application I need to have a dialog box with the VEHICLE.VCF extention. This box contains the following fields and entries:

The name of the vehicle. Simply type the name here.

database1(message data) this needs to have few massages chosen from the main database1 and should be able to save them in background.In the main dialog only the name of the file needs to appear.

database2(node data) This needs to have few massages chosen from the main database2 and I should be able to show the cho
sen massages as Available nodes with in that dialog box.
0 Kudos
Message 1 of 6
(2,843 Views)
I can help you get started with your project, but first, please, provide more information. Do you have to keep your database in MS Notepad files, or can you create datalog files in LabvIEW to serve as your databases. Things are much easier for you if you can work directly with LabvIEW data structures, which are saved into datalog files with full retention of the data types. Reading, scanning, sorting, and all of those sorts of activities are much easier when working directly with LabVIEW data structures. You could then create a special routine that parses your data into any structure you wish for the benefit of other users.

I am not very familiar with common database structures. I build databases as I have mentioned above, using LabVIEW datalog files. It may not be as efficient as a true "database" structure, but unless you are talking about large amounts of data distributed over various servers, I would think that the datalog file would suffice.

Please, define the relational characteristics of these databases. Does database1(message data) just contain lists of messages within a matrix of lookup parameters? What is node data? Is this also just a list of identifiers or strings? I beg your pardon, but I need you to describe your task in more generic programming terms, a lower level than the database structure. Once we get beyond this initial communication gap, I can help you.

You said, "in my application I need to have a dialog box with the VEHICLE.VCF extention." I need a more careful explanation of this. Do you mean that your dialog box must produce a file named VEHICLE.VCF? Do you mean that your dialog box is a file dialog that filters candidate files by the .VCF extension?

You said, "database1(message data) this needs to have few massages chosen from the main database1 and should be able to save them in background." It sounds like you want the user to be presented with a list of messages, which you have drawn from database1. You want the user to be able to select an arbitrary number of these messages and save them to a file?

I will stop here. If you still need help, please, try to be more specific. It is hard to design the entire application from this brief description. Perhaps you should pick a single task and ask how that one task might be accomplished. We could proceed from there.
jc
Mac 10.4
LV7.1
CLD
0 Kudos
Message 2 of 6
(2,843 Views)
I am rather new myself but have suggestion. Can he talk to M.S. Access
files via ActiveX. I have not worked directly with LabView database files
but have experience posting and drawing data from Excel files and Access.
This seems to be a more viable option. Rebuttal?

Seth


jcrooke wrote in message
news:506500000005000000DD560100-1075935269000@exchange.ni.com...
> I can help you get started with your project, but first, please,
> provide more information. Do you have to keep your database in MS
> Notepad files, or can you create datalog files in LabvIEW to serve as
> your databases. Things are much easier for you if you can work
> directly with LabvIEW data structures, which are saved into datalog
> files with full retention of the data types. Reading, scanning,
> sorting, and all of those sorts of activities are much easier when
> working directly with LabVIEW data structures. You could then create
> a special routine that parses your data into any structure you wish
> for the benefit of other users.
>
> I am not very familiar with common database structures. I build
> databases as I have mentioned above, using LabVIEW datalog files. It
> may not be as efficient as a true "database" structure, but unless you
> are talking about large amounts of data distributed over various
> servers, I would think that the datalog file would suffice.
>
> Please, define the relational characteristics of these databases.
> Does database1(message data) just contain lists of messages within a
> matrix of lookup parameters? What is node data? Is this also just a
> list of identifiers or strings? I beg your pardon, but I need you to
> describe your task in more generic programming terms, a lower level
> than the database structure. Once we get beyond this initial
> communication gap, I can help you.
>
> You said, "in my application I need to have a dialog box with the
> VEHICLE.VCF extention." I need a more careful explanation of this.
> Do you mean that your dialog box must produce a file named
> VEHICLE.VCF? Do you mean that your dialog box is a file dialog that
> filters candidate files by the .VCF extension?
>
> You said, "database1(message data) this needs to have few massages
> chosen from the main database1 and should be able to save them in
> background." It sounds like you want the user to be presented with a
> list of messages, which you have drawn from database1. You want the
> user to be able to select an arbitrary number of these messages and
> save them to a file?
>
> I will stop here. If you still need help, please, try to be more
> specific. It is hard to design the entire application from this brief
> description. Perhaps you should pick a single task and ask how that
> one task might be accomplished. We could proceed from there.
0 Kudos
Message 3 of 6
(2,843 Views)
Actually this is only first part of my project in which i should be able to create a vehicle file using two different data base and should be able to save it as *.vcf. (you are right dialog box must produce a file named abc.VCF)
first data base only contain messages in hex format and second data base only contain names of the modules in hex as wel.At the moment I am not able to attach these files because of some fault.But I can do that tommrrow.
Answer to your first question is that I do not need to keep database in MS Notepad files.
You are quite right, I want the user to be presented with a list of messages but in the sub file, which is drawn from database1. At the later stage user is going to use this file to send the messages.
nodes data means na
mes of the modules e.g. power window, seat control, etc.
these two do not have any direct relationship.we are going to select messages and nodes then save them as vehicle file for them to be used at later stage in the application.
my phone number is 07949940740. if you need more information.
thank you for your help.
0 Kudos
Message 4 of 6
(2,843 Views)
here is the attachment of the of the message data base and node database. I have attached all of node and few commands of message database, as it is very big.
Download All
0 Kudos
Message 5 of 6
(2,843 Views)
"Actually this is only first part of my project in which i should be able to create a vehicle file using two different data base and should be able to save it as *.vcf. (you are right dialog box must produce a file named abc.VCF)
first data base only contain messages in hex format and second data base only contain names of the modules in hex as wel.please see attached files above.
Answer to your first question is that I do not need to keep database in MS Notepad files.
You are quite right, I want the user to be presented with a list of messages but in the sub file, which is drawn from database1. At the later stage user is going to use this file to send the messages.
nodes data means names of the modules e.g. power window, seat control, etc.

these two do not have any direct relationship.we are going to select messages and nodes then save them as vehicle file for them to be used at later stage in the application.
my phone number is 07949940740. if you need more information.
thank you for your help."
0 Kudos
Message 6 of 6
(2,843 Views)