LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI 5 & window xp

Can anyone let me know if labwindow CVI 5.0.1 is compatable with Windows XP?
We manufacture a plug in board that used to work in Win98 OS but can communicate
with board when we changed OS to XP.
 
Thanks
Joe
0 Kudos
Message 1 of 7
(4,256 Views)

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

0 Kudos
Message 2 of 7
(4,249 Views)

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

 

0 Kudos
Message 3 of 7
(4,224 Views)

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

0 Kudos
Message 4 of 7
(4,217 Views)
Hi Joe,

Here a link to a knowledgebase as well: Supported Operating Systems for LabWindows/CVI.

Have a great day,

Ecleamus Ricks, Jr.
National Instruments
Applications Engineer
0 Kudos
Message 5 of 7
(4,203 Views)

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.

 

0 Kudos
Message 6 of 7
(4,163 Views)
Yes, thats correct WinNT or XP needs a driver. The lowlevel functions are enabled.
CVI must talk to my pluginboard via my winXP driver using API calls (I am porting VC++ code to CVI)
After doing some reading in the CVI I included window.h  which used the CVI sdk library for calling
windows api functions.
 
In any case I was succesfull connecting and communicating to my pci card using CVI.
My boss signed the upgrade to CVI 8.0 so we dont run into any compatablilty problems
in the future.
 
Thanks, everyone, for your help.
 
Joe
 
0 Kudos
Message 7 of 7
(4,102 Views)