01-27-2011 07:55 AM
Hi I have a program which takes data from two separate counter inputs and I would like to write this data to a file.
I have used a producer-consumer based structure to provide the fastest data capture for my application. All requested data records to a file but it does not tabulate the data the way i want. I would like it to be something like this:
time, counter 1, counter 2,
0, 1, 1
1, 2, 2
at the moment it is producing a file like this:
time, counter 1,
counter 2,
0, 1
1
1, 2
2
So basically what I am trying to say is that it is tabulating both counter inputs to one column and I would prefer separate columns. I am sure its a simple thing but cannot figure it out - an help would me much appreciated. I have attached a pic of my program and the writen file.
Many thanks
Notay
Solved! Go to Solution.
01-27-2011 08:21 AM - edited 01-27-2011 08:22 AM
Make sure the "convert to dynamic data" vi is set to "1d array of scalars - multiple channels".