08-25-2017 12:03 PM
Okay I think this is getting me almost to where I need it to be. It seems like the writing of the keyboard data and LED info (strings) is not functioning properly. Data looks like the first time period waiting for the LED to appear and then no data is written after. Am I doing something wrong in my enqueuing of data for the LED and keyboard data?
08-25-2017 12:05 PM
I realized I missed this string comment. Let me try and redo the program where strings are not written.
08-25-2017 03:09 PM
Okay changed all strings to numeric but still having trouble acquiring everything. Looking at LED, it seems like only 17s were recorded but on my elapsed time indicator, the experiment ran for about 45s. Am I enqueuing data incorrectly?
08-28-2017 04:38 PM
do you have any update
08-30-2017 10:17 AM
I've attached my updated programs above in my previous post.
08-31-2017 03:23 PM
So I tried the code without the DAQmx subvi's and now the file seems to be capturing all the data regarding the LED and keyboard event, albeit at sample rates beyond what is needed. I also noticed the index file for the TDMS is ridiculously large (~ 6MB) compared to when I would just write DAQ data. Any pointers on what I might be doing wrong here? This could be a reason why I wasn't able to merry the DAQ, keyboard, and LED events. Post doesn't seem to allow me to attach an index file so I can send to personal email if needed.
09-01-2017 04:57 PM
thanks for the code, let us try to run it.
have a great day.