04-22-2007 01:49 PM
04-24-2007 04:36 PM
04-26-2007 09:30 PM
04-29-2007 08:28 PM
Hello Rachana,
What is the data type of these parameter values? Are you using the Database Variant to Data.vi to convert your data to a LV type? If so, what type (string, numeric, etc) are you assigning?
And just to be thorough, what version of LV are you using?
I look forward to helping you get to the bottom of this inconvenience.
Cheers,
Emilie Kopp | Applications Engineer | National Instruments
04-30-2007 10:38 AM
Hi, Rachana
You don't mention which database you are using, which drivers you call to connect to the database, or what datatypes (input and output parameters) are involved.
Did you use the database's query tool to double-check that you are calling the stored procedure with the correct parameters?
05-02-2007 02:08 PM
Hello All,
I got the issue resolved. Instead of giving the direction as output, I changed it to input/output and the datatype to double. Although in the stored procedure(SQL2005), I handled to clear the return value.
Looks like that there is a bug in LV8.2 with output parameter setting.
"Error -2147467261 occurred at Cmd Get Integer Parameter Value (C).vi->Cmd Get Integer Parameter Value (CR).vi->DataCollector.vi
Possible reason(s):
Invalid pointer
in Cmd Get Integer Parameter Value (C).vi->Cmd Get Integer Parameter Value (CR).vi->DataCollector.vi"
is returned if null is read in the varaint.
Thanks for all the help and suggestions.
Rachana
05-02-2007 02:17 PM
Hello Rachana,
Thank you for sharing your solution. I would like to perhaps encorporate this into NI's web content to help with future customer issues.
You mentioned in your solution that you changed the data type to Double. What data type had you previously assigned to your parameter?
Cheers,
Emilie
05-02-2007 02:18 PM