08-25-2023 01:15 PM
I am trying to take a CSV file using Read Delimited Spreadsheet, Index it into an array, load it into DtInitDACBuffers, and provide values for DtOLWaveformGenerate to output into a waveform on a DT9834 data translation device. One problem I have encountered is that after indexing the array and trying to send the values to the buffer, I get this:
The type of the source is 1D array of
double [64-bit real (~15 digit precision)].
The type of the sink is long [32-bit integer (-2147483648 to 2147483647)].
Is there a way to convert this?
Any advice on how I might achieve what I am trying to do with LabView or if it is even possible?
Thank you for any help.
Solved! Go to Solution.
08-25-2023 02:47 PM
Hi Tareyes,
Have you explored data conversion pallet under numeric?
This may solve your problem.
X
08-26-2023 02:55 AM - edited 08-26-2023 02:59 AM
Hi tareyes,
@tareyes wrote:
I get this:
The type of the source is 1D array of double
The type of the sink is long
Is there a way to convert this?
So you have an array of DBL, but the data sink only accepts an I32 scalar value?
What about indexing an element from your array?