LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create dynamic data constant?

 
I am using two express vi's , 1-Sim arbtr signal        2-Write to Meas file
there are 10 data points in "Sim arbtr signal" , after conversion from "DDT to array", I  am doing some calculations on it like dividing by 2 and multiplying 0.56   each of data points in the "Sim arbtr signal" and lastly saving to disk using "Write to Measurement File" VI. All is fine like reading , manipulating , and saving .
But "Signal name" is "Untititled " in the written file . How to add "Signal name" of our choice? in the written File *.LVM.
 
Labview 8
OS winXp
0 Kudos
Message 1 of 4
(4,306 Views)
If all you're doing is multiplying and dividing on a single signal you do not need to convert to an array. Simply wire the dynamic data directly to the multiply and divide primitives.
Message 2 of 4
(4,301 Views)
That I mentioned to sumarize the code , actually I have to Write the Data points to an instruments Connected thru GPIB , So I ultimatily I have to convert to Array . after reading data from GPIB I have to write to disk using  "Write to Meas file ". If this is the case then ?
0 Kudos
Message 3 of 4
(4,266 Views)

The Write To Measurement File gets the channel name from an attribute of a waveform data type. The Set Waveform Attribute is on the waveform palette and the use is shown below. So, in order to assign a channel, you would have to convert your array to a waveform data type. The simplest thing might be to just keep the dynamic data type for writing to the file and only convert to an array when you need to write to the instrument. Your other option would be to get rid of the Write to Measurement File and use the lower level file I/O functions.



Message Edited by Dennis Knutson on 12-25-2007 01:59 PM
Message 4 of 4
(4,251 Views)