03-04-2009 06:57 AM
Hello There,
I'm sure there's a simple answer to this but i'm having an extrordinary amount of trouble discovering it...
Essentially what im attempting to do is read a number of analogue inputs (usually 4), apply a band pass filter to them all and then save the time base waveform data AND frequency spectrum to a measurment file.
The trouble is after i've applied the filter, i have two different data types which i need to join together to then feed into the "write to measurment file" module.
I've tried a few things to convert the data type to match but have been on the whole unsucsessful.
Is there a simple solution to this which i've overlooked?
I've attached a picture of the VI block diagram to illustrate the problem - i've left thespectral measurment block disconnected from the write to measurment file module to show the different data types.
03-04-2009 08:49 AM
More specifically,
The error message i recieve is:
"you have connected two terminals of different types. The type of source is 1D array of cluster of 3 elements. The type of sink is Dynamic Data"
Hope this is clearer.
James
03-04-2009 05:11 PM
James,
I don't have a direct answer for you because it depends how you have those express vi's configured. Basically what you need to do is convert the output data of those vi's to something the 'to Dynamic Data Type' (located at Functions pallette Express>>Sig Manip>>To DDT) vi can understand before you feed it into the 'Write to Measurement File .vi'.
Hope this helps.