05-10-2005 03:07 PM
05-11-2005 01:50 AM
@you wrote:
I am using my own Class Library for Visual Basic 6.0 and NI VISA 3.2 to control my measurement systems and providing function like read binary arrays, ....
I want to read IEEE 32-bit floating values from a Spectrum Analyzer which come as binary data (#3123...).
- Using the functions with Windows XP German version: this is no problem.
- Using the same function with Windows XP Multilanguage and Korean extension, the function fails (wrong values).
As far as I can see from the HEX editor, each 2. character is 0x00, but this only happens on the korean system.
So binary casting must detect the current unicode state and would not be very useful.
Unfortunatly, I can only pass a string array to ViRead (and not e.g. X() as Byte).
I could try to pass StrPtr() with a Byte field, but I am not sure if this will work.
Is there any workaround / solution for my problem?