01-29-2009 12:36 PM
01-29-2009 08:36 PM
If I might, I'd like to suggest a slightly different tack. The problem you're going to run into with the way you are thinking about the task right now is that writing the data will be easy but getting the data you want out will be a major pain because you will have to implement the search and selection logic yourself. What I would propose would be to save your data in a small database. The necessary software is built into Windows and you can find a good set of drivers as well as a very good example here. Getting the data in is just as easy, and the search algorithm for getting the data out is implemented in the database so it's very easy from the LV world too.
This approach will require you to learn a bit, but in the long run it will be faster and much easier that doing it with text files - and the performance will be much better too.
Mike...
02-08-2009 02:09 PM
This is actually a reply to the first reply, sorry I am new at this forum. Not really sure how to reply to a reply. Maybe I have to be signed in. Anyways
The only problem I have with using something like Microsoft Access is that this software may be used in a commercial device at some point in the future. If I have to add Microsoft access to each device I'm sure that the individual unit price would go up exponentially. Are there any free database programs that you know of that would do the same job? Or is there any other ideas? At worst we may have to do as described but I'd like more input. Thanks a lot for the help and quick response either way.
P.S. To all that are reading this. One of my team mates mentioned that he thought when I said "you fine people" that it might have sounded condescending. That was certainly not my intension and I wanted to make sure that you all knew that. I just think anyone who is taking their time to read and/or reply is a very nice person indeed. Thanks to all.
02-08-2009 02:35 PM
You don't have to add Access to each machine and the reason is that Access isn't really a database. Rather its an application development environment that by default utilizes a DBMS (called Jet) that is built into all modern versions of Windows. Hence, you do not have to have Access installed to run the examples that I posted in the other thread. Try it.
In terms of other database solutions, Oracle and Microsoft both offer free versions of their enterprise-level products, in addition there are various open-source options like Firebird and Postgres. I have used Firebird before and it is very good. Postgres was until recently a Unix-based product, but it also runs on Windows now. I haven't used it, but have heard some good things about it.
Mike.
02-08-2009 03:15 PM
02-14-2009 11:29 AM
The pictures above are the errors that we get when I try to transfer a Database Query VI to the "LCD device". Any ideas on whether or not Windows CE can handle this type of application? There are a bunch of Wire errors that occur. They happen on all of the wires that connect field data. The VI's run great on our PC but can not transfer to the device because of the errors. I'm not sure that I can tell you much more, because I don't know much more. Let me know if any of you have an idea of what the problem might be. Also the LCD device does not have labview on it. We are transfering executable code to it and have successfully transfered other VI's.
02-14-2009 11:30 AM
Hmmm, it looks like the pictures did not work. Let me try a different way
02-14-2009 11:36 AM
Ok, I'm not sure how to get a picture on here. Some of the errors include:
Current VI's Path: Function not supported for current target
Wire: Type not supported in current target (Lots of these)
Front Panel Terminal: Type not supported in current target
Loop Tunnel: Type not supported in current target
It seems obvious that it does not like the database functions. What can I do to fix that?
Thanks for any replies. If you need more info, let me know what to get and I will get it ASAP
02-14-2009 03:28 PM
Bolsun,
You can't insert an image that is located on your harddrive. No one else but you can see it. You need to post the image file (prefably .png) as an attachment to your message. Note that you cannot upload .bmp files. They are restricted because bitmap images are too large and take much longer to download. Once you submit the message, then you go back and edit the message and insert the image (as long as its not too big) based on the link to the image as it resides on the NI forums website.
02-14-2009 03:34 PM
Just read your first message and I had a different idea. I would be interested in what everybody else thought on this too.
How about a TDMS file using the time stamp as either the group name or channel name? That should make retrieval pretty easy.
-Matt