01-10-2006 01:51 PM
I cleaned up a group of VIs that a student wrote several years ago. When I thought I was complete, I clicked on the broken arrow fully expecting to see an error report complaining about a few broken wires hiding somewhere. Instead the following message was presented:
Compile error reported at topLevelMain1.vi Contact NI tech support.
"copy cvt str/pict/tag csrc=0x40"
Checked all the lower level VIs and they compile.
Recompiled library containing bad VI, renamed all files in library and copied the library to another location on the harddrive. Finally I recompiled the entire LV folder. All this to no avail. I still have the error.
What should I do?
Running WinXP OS SP2
LV 7.1.1
hardware: 3 NI-DAQ-PCI6024E
01-10-2006 02:45 PM
01-10-2006 03:01 PM
Dennis is right, the Concatenate Strings function really seems to dislike wiring strings and arrays of DAQmx tasks to it at the same time...at least in LabVIEW 7.1.x. I don't know if this issue is addressed in LV 8.0 or not, but for now, I think you can workaround it by wiring each of those task arrays into a DAQmx Flatten Channel String.vi (found on the DAQmx Advanced > DAQmx Utilities subpalette), and then taking the output string of that VI and wiring that into the Concatenate Strings function.
Hope this helps,
-D
01-10-2006 03:13 PM
01-10-2006 03:29 PM
01-10-2006 03:39 PM
Yes, that was my understanding too, although in addition to behaving like a string, the IO datatype can also be wired into Property and Invoke Nodes to function as a reference.
-D
01-17-2006 08:25 AM