Hi AJL,
DIAdem numeric channels are always DBL internally, so the pointer to the 2D array you get back from the "ValueRangeGet" method of the "diadem.todatasheet" OLE Server will always be a pointer to a 2D array of DBLs. So to pass an array of integers from LabVIEW to DIAdem, you should convert the integer array to a DBL array in LabVIEW, expose it as a DBL array output terminal in the VI, then retrieve the output terminal pointer and pass it to DIAdem with the "ValueRangeSet" method.
I am attaching a VBScript (as a doc) that works with all data types, but only DBL arrays can be handles by reference. Any pthers will have to be assigned cell by cell by value.
Thanks,
Caroline
National Instruments
Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments