08-09-2008 06:21 PM
08-10-2008 11:57 AM
08-10-2008 01:38 PM
Thanks Mike,
What function would I use to transform the output into an array of floats? Would I use "build array"? I'm not exactly sure what format the data stream coming out of the DAQ Assistant is. I'm used to dynamically allocated and sized arrays in VB or C++. All of the examples and tutorials I have looked at speak to fixed-sized arrays that are represented on the front panel. Do you know of an example that takes the output from the DAQ Assistant and puts it into a database?
Mike V.
08-11-2008 01:56 AM
08-11-2008 08:59 AM
Forgive my Labview ignorance, Mike. But could you indentify the functions in this bitmap? Also, will this work with more than one channel coming out of one DAQ Assitant block or do I need to create one DAQ Assistant for each channel that I want logged?
Thanks,
Mike V.
08-11-2008 09:12 AM
08-11-2008 02:25 PM
08-11-2008 02:30 PM
08-11-2008 02:55 PM
08-12-2008 06:46 AM
Hi Mike,
Thanks ! You have been most helpful ! I managed to get this working by splitting the DAQ Assistant output data stream into 4 channels, then converting each dynamic channel to a single scalar, then feeding each of these into an element of a bundle (with one node of the bundle coming from the real time clock) and then into the DB.Insert. This worked, however insertion speed was limited to about 200-300 records per second. This can't keep up with my 32KHz requirement so I have had to resort to using a TDMS file to buffer the incoming data. Now I want to read the TDMS file back into the database. I thought the output data stream from the TDMS read was the same as the DAQ Assistant output but when I perform the same conversions, my data is all zeros when it hits the database. Any idea what I might be missing?
Thanks,
Mike V.