Bug #80
CW neposila spravnou hodnotu typu integer pres DriverQueryProc
Status: | Resolved | Start date: | 20 April 2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Tomáš Kulhánek | % Done: | 0% | |
Category: | - | Spent time: | 8.00 hours | |
Target version: | - |
Description
CW neposila spravnou hodnotu integer
V CW:
procedure OnOutput( Output : boolean ); var lc : integer; ddecommand : integer; begin ddecommand = 2; system.DriverQueryProc( 'CW2Dymola', ddecommand, &lc ); end_procedure;
V Ovladaci C++:
logFile << "QueryProc, paramtype " << Param1.Type; if (Param1.Type == vtInteger) { logFile << " param integer value " << Param1.ValInteger << "\n";
V logu je hodnota 0 misto ocekavanych 2:
QueryProc, paramtype 7 param integer value 0
History
#1 Updated by Tomáš Kulhánek about 13 years ago
- Status changed from New to Resolved
Pridany #pragma pack() directivy podle CW dema v c:\Program Files (x86)\Moravian Instruments\Control Web 6 UNICODE CZE\DDK\CPP\
#ifdef _MSC_VER #if _MSC_VER >= 1000 #pragma once #endif #endif ... #ifdef _MSC_VER #pragma pack(push,1) // set packing, assumed byte alignment #endif ... //headers of CW2Dymola functions ... #ifdef _MSC_VER #pragma pack(pop) #endif
#2 Updated by Tomáš Kulhánek almost 13 years ago
- Project changed from Physioserver to CW2Dymola
- Category deleted (
Podpůrná infrastruktura) - Target version deleted (
prototyp s control-webem)