04-17-2009 02:51 AM
Hello,
I am working with LabView 8.5 without IMAQ since 3 month, so it's quite new for me.
Anyway, here is the problem.
I am opening a *.txt and use the VI "read from spreadsheet" to convert my data to a string. Then I'm doing some some operation, creating a bmp file with the VI "create a BMP-file" from 1D pixmap and also a preview of the resulting picture in the host. Until here everything works fine, but the problem is:
I want change some values between of the first and the second VI (string operations) and I have to stop my host and re-start it every time again, to get a fresh preview.
I tried already different kind of loops (while/ event/ case), but it wont work. So I wann have soething like a live image, if I change the values.
Like mentioned b4, I am not so familiar especially with the boundaries of these kind of VIs.
*.txt -> read spreadsheet -> sting operations -> creating preview
-> save bmp-file
Thanks for helping my with that problem.
04-17-2009 03:28 AM
Hi Moe2,
can you show what you have so far? Can you also upload one of your text files?
Mike
04-17-2009 05:00 AM
Hi MikeS81,
b4 i can upload the files, where i can store them ?
04-17-2009 05:04 AM - edited 04-17-2009 05:05 AM
b4 i can upload the files, where i can store them ?
Its enough if the files are stored in your computer. Just use the "Add Attachments" located at the bottom of the compose box. Don't use Preview post (you will then loose your attachments).
Post back for any problems.
Mathan
04-17-2009 05:09 AM
Ic 🙂
ok Mathan the files are there (sceenshot and *.txt)
THX
04-17-2009 05:40 AM
Hi Moe2,
can you explain where you want to change something what's not working now? Currently you load every loop iteration the file, make the calculations with it and wait for an event. You should change the structure a bit. Use shiftregisters to store your data, which you need to change while the program is running.
Mike
04-17-2009 05:57 AM
Hi Moe2,
you can directly read double values from the *.txt file. I made same changes on your code. Please see the attached file.
Hope it helps.
Mike
04-17-2009 06:59 AM
Hi Mike,
thanks for your suggestions, i will try this during weekend.
I will keep on this threat on monday.
have a nice weekend 🙂