LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

data logger to spreadsheet file

I am a new user. I reinstalled DAQcard 700 and Labview 6.1. But when I open the “data logger to spreadsheet file.vi” (an old edition of .vi that we used before), there are: Block diagram errors: you have connected two terminals of different types. And the explication: “These cannot be wired together because their data types (numeric, string, array, cluster, etc.) do not match. Show the Context Help window to see what data type is required.
The type of the source is single [32-bit real (~6 digit precision)].
The type of the sink is Waveform.” The problem is between the : “5B37 Linear” to the sheet.
How can I do for this?
0 Kudos
Message 1 of 22
(3,657 Views)

You really need to post the VI. Version 6.1 does have a shipping example called Data Logger to Spreadsheet but there is no subVI called 5B37 Linear in it. So the shipping example was probably modified.

Before you post the VI, you should do a development distribution to save the entire hierarchy. Go to Save With Options and select the Development Distribution button. This will create an llb. Post the llb.

And what do you mean by 'sheet'?

0 Kudos
Message 2 of 22
(3,643 Views)
Thanks,
In factly, the sheet means the :array subset". The erro's plan shows that between "5b37" and the "array subset" has an error.
The subvi incluing "config.vi", "5b37.vi", "legende.vi" and "convertion int string.vi"
0 Kudos
Message 3 of 22
(3,629 Views)

The names of the VIs are pretty meaningless. Why can't you post the VI?

The Array Subset function has three inputs called array, index, and length. It sounds like you are trying to wire a scalar (the floating point number) from this 5B37 VI into the array input. This is not allowed and never has been. You could connect your floating point number to either the index or length inputs but these are normally integers so wiring a floating point number here doesn't make much sense either.

 

0 Kudos
Message 4 of 22
(3,621 Views)
Finally, i know we can attach the file.  Smiley Sad
0 Kudos
Message 5 of 22
(3,615 Views)
It's empty.
0 Kudos
Message 6 of 22
(3,612 Views)
0 Kudos
Message 7 of 22
(3,604 Views)
Okay, finally. The output of AI Sample Channels is set to waveform data type. If you right click on it and do a Select Type>Scaled Array, then the data types will match.
0 Kudos
Message 8 of 22
(3,601 Views)
Thanks very much. In fact, i didn't find the scale array, but finally, i tried to replace the "replace array subset" to "array subset". Bingo!
0 Kudos
Message 9 of 22
(3,586 Views)
hello, Dennis,
 I had changed the scalled array, it could work when i had only one chennel. When i had more than one chennal for detecting , the couldn't work. Do u have any idea about Error-10007 occurred at AI Group Config? (Possiblities: Windoes GetCommError:The hex value of this code is xD8e9)
What can i correct for this error? Tks again
0 Kudos
Message 10 of 22
(3,537 Views)