08-17-2006 09:29 AM
08-17-2006 10:03 AM
A few years ago we did a project using CVI 5.0 and XP which used the serial port. All went as expected - no problems. Possibly the XP drivers for your board have a different API to the Win98 ones?
JR
08-18-2006 08:19 AM
Yes, Win98 allowed you to write directly to the port. WinXP doesnt.
So know I have to hook into the driver from labwindows. One of
the include h files reference a 32 bit int which this version of
labwindows doesnt have a definition of.
Thanks
08-18-2006 08:32 AM
The CVI low level drivers may help you - see the CVI help for outp(). Would not a simple cast be sufficient to work with an unusual 32 bit integer definition?
JR
08-18-2006 03:16 PM
08-21-2006 03:48 AM
In the CVI (8.0) help, there was a note for outp() function:
Note
outp requires the LabWindows/CVI low-level support driver. LabWindows/CVI loads the driver at startup if it is on disk. You can check whether LabWindows/CVI loaded the driver at startup by calling CVILowLevelSupportDriverLoaded.
Did you enable that feature? Also, if your old app (that worked under Win98) accesses to I/O port directly by the outp() function of the standard C library or assembly's OUTP instruction, Win9X systems do allow this operation but NT-based systems do not. This restriction is due to differences between OS versions, not due to CVI version.
08-24-2006 07:20 AM