Sorry for my poor English. I have trouble using Qt to develop HMI especially in transport data between Turbo Pmac and IPC. Qt use QVariant instead of Variant in DPR functions. DPRgetmem function in Qt is like:
DPRGetMem(int dwDevice, int offset, int bytes, QVariant& pVal, bool& pbSuccess)
However, QVariant does not have the data type of integer array or float array. Does somebody know how 'DPRsetmem' and 'DPRgetmem' functions work in Qt?
Thanks.