From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
Excel_RangeSetItem is accepting only characters but i want to pass string values to it is there any way i traid ExcelRpt_WriteData(); but in this cell values are not moving forward this feature is there in Excel_RangeSetItem but this is not accepting strings, please suggest solution for this.
Excel_RangeSetItem accepts variants as arguments; in order to pass a CVI string to the function, you must format it in a variant with CAVT_CSTRING data type: this can be accomplished by using CA_VariantSetCString () function. For your reference, here is the list of data types that you can use in variant variables and the corresponding CVI types.