01-13-2024 10:59 AM
Hello,
I am very very new to LabVIEW and have gone through youtube tutorials but LabVIEW is very intimidating when I do not know anyone who uses it... I am doing a research project which requires vibrotactile stimulation. It's pretty simple stuff, just need NI DAQ to send out a signal from AO 0 for 4 seconds, go off for 8 seconds and repeat this 12 times, meanwhile it needs to receive input from AI 0 and write it to an excel file. I managed to send out a signal and receive my input but things start to fall apart with the timed loop. I tried to put DAQ assistant in the timed loop but it starts screaming at me with errors. I have attached my IV. Any help will be greatly appreciated.
01-13-2024 10:29 PM
I'll try to help. Turns out I've also done some work with sensory systems using LabVIEW.
Bob Schor
01-16-2024 12:29 PM
Hello,
Thank you so much!! This has been immensely helpful and I was able to write a program to send out a stimuli at required frequency and timings. I am having trouble with DAQmx to Write Delimited Spreadsheet connection. I essentially the DAQmx to start reading and writing the AI1 output from the beginning and capture everything (Even when the stimulator is not creating vibration stimulation). This is to allow us to match ON and OFF timings to our fMRI output. I tried to write the AI1 to .CSV as a separate VI as I'll need it for a couple of stimulators. DAQ assistant was providing some output but it was sampling at milliseconds and stopping/restarting recording. Any help on this would be greatly appreciated!