03-06-2008 04:42 PM
03-14-2008 08:01 AM
03-14-2008 11:10 AM
06-13-2012 01:56 PM
I believe this is also something i can use for my application, however, when trying to recreate the code in LabVIEW 2011 SP1, the connections between the For Loop and the Close File return an error that the data types are different.The Path wire returns that the source is 1-D array of byte stream file reference with the sink being byte stream file reference. The Error wire returns that the source is 1-D array of cluster of 3 elements with the sink being a cluster of 3 elements. How would i go about fixing this?
I plan on using this to write to the file from an accelerometer connected to a NI-9234 c-series module through a cDAQ-9178 usb chasssis. So my intention is to use this as a subVI to connect the accelerometer signal from the DAQ Assist of another VI. I am trying to record the spectral data. Attached is the attempt at recreating your code.
06-13-2012 02:01 PM
Have you taken any basic LabVIEW tutorials such as LabVIEW 101? The default behavior of a wire exiting a for loop is to auto-index it. A scalar is turned into a 1D array, 1D array into a 2D array, etc. Simply right click on the exit tunnel and select 'Disable Indexing'.
06-13-2012 02:06 PM
I have gone through the tutorials and have been attending some of the free seminars (going to one next week). I just seem to have forgotten some of the information apparently. This is my first time using any sort of block diagram coding other than Simulink so im still getting my head around it. Thank you for the quick response and i got it fixed.