ctolson
2008-08-05 18:40:07 UTC
Here I am again probably driving you LabView experts crazy with my simple questions
I have been working on this program all summer and I have hit a wall again. I am trying to set up single TTL pulses to send to other instruments and computers, while at the same time acquiring analog data. It was sugguested by Johnsold to use a producer/consumer events pattern with one loop handling the acquisition and pulses, while one or two other loops handle the user interface and writing to files. I have tried to figure out how the loops work by looking at the online examples and some tuitorials, but I am still lost. I am fairly certain that my VI is far larger than it actually needs to be, (almost 10 MB), so if anyone knows how to simplify the TTL pulses, I think the size would be greatly reduced. I would use the DAQ assistant, but dont know how to set up separate timing for each channel. I am currently using a usb-6008, but will upgrade to most likely a M series USB after the programs have been figured out. The accuracy of the timing is more important than the ability to see the data on the front panel in RT. If it is possible to see the data in RT without affecting the acquisition and triggers, that would be ideal. This program is being written to be used in both LabView 8.2 and 8.5 on a windows XP OS.
Thanks in advance, and thanks for all the help I have already gotten.
Chris O.
Linear 3ch Wave Gage and pressure Data Capture Folder.zip:
http://forums.ni.com/attachments/ni/170/346817/1/Linear 3ch Wave Gage and pressure Data Capture Folder.zip
I have been working on this program all summer and I have hit a wall again. I am trying to set up single TTL pulses to send to other instruments and computers, while at the same time acquiring analog data. It was sugguested by Johnsold to use a producer/consumer events pattern with one loop handling the acquisition and pulses, while one or two other loops handle the user interface and writing to files. I have tried to figure out how the loops work by looking at the online examples and some tuitorials, but I am still lost. I am fairly certain that my VI is far larger than it actually needs to be, (almost 10 MB), so if anyone knows how to simplify the TTL pulses, I think the size would be greatly reduced. I would use the DAQ assistant, but dont know how to set up separate timing for each channel. I am currently using a usb-6008, but will upgrade to most likely a M series USB after the programs have been figured out. The accuracy of the timing is more important than the ability to see the data on the front panel in RT. If it is possible to see the data in RT without affecting the acquisition and triggers, that would be ideal. This program is being written to be used in both LabView 8.2 and 8.5 on a windows XP OS.
Thanks in advance, and thanks for all the help I have already gotten.
Chris O.
Linear 3ch Wave Gage and pressure Data Capture Folder.zip:
http://forums.ni.com/attachments/ni/170/346817/1/Linear 3ch Wave Gage and pressure Data Capture Folder.zip