Hello, so I'm a student research assistant trying to add microphone data into an 6 axis sensor which reads into a NI USB-6210. The 6 axis sensor came with a LabView code, which seems pretty confusing (I'm fairly new to Labview), and I'm trying to add the channel from the microphone already connected to the DAQ to the Labview code.
I tried multiple things and it constantly outputs and ambiguous error. (Attached)
I'm not sure if to create a second DAQmx or to edit the while loop. Any feedback or help would be greatly appreciated
I assume the code that you attached came from ATI, who I assume furnished the 6-dof sensor you are using. You appear to be taking 6 Analog signals (single-ended? differential?), sampling 1000 points at a time at 10 kHz. [The code you attached is pretty messy, by the way, but it does give an idea of what you are trying to do.]
So what did you want to do with this microphone? Is it supposed to be another channel sampled simultaneously (and with the same voltage range setting) as the other 6 channels? That is, are you going from 6 to 7 channels? Or are you planning on capturing 6 channels as before, but adding a separate loop that records from the microphone (at some rate, starting at some time, and being saved some where)?
You would be well-served to spend a few weeks doing your best to learn some LabVIEW. Finding a colleague or mentor who could provide guidance to get you started would be advised. Try to make your code as readable as possible -- it will be a big help to you and to anyone else who takes a look at it. Thing to consider --