01-12-2017 08:54 AM
I'm using CNVBufferedWriter and CNVBufferedSubscriber to write/read a shared variable. When I write data to a scalar variable it works fine. I see the new value in NI-DSM.
But when I write data to a structured variable and read it back, I always receive the old values. All functions return "0" (success).
Please help!
Solved! Go to Solution.
01-18-2017 02:42 AM
Perhaps I've found a bug in the SVE:
when I call the functions CNVCreateScalarDataValue() or CNVSetScalarDataValue() with data type CNVSingle no error is returned. But the value conversion with CNVGetScalarDataValue() always returns "0.0".
The data type CNVDouble works.
Does anyone use the data type CNVSingle?
01-24-2017 05:25 AM
We change all variable members of CNVSingle to CNVDouble to fix this bug.