LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Plagued by "Types do not match" error

I'm using LabWindows 5.0 on WinXP Pro.

I've created an IVI driver, and within it created an attribute of type ViReal64. I've created a test program in which I use a numeric input component to get a value into a variable which is declared to be type ViReal64. I then call an IVI user function passing in my value. That function, in turn, calls Ivi_SetAttributeViReal64() and passes in the value. The next thing I get is the "Types do not match" error. I can't for the life of me figure out why! BTW, the same thing happens if I use _SetAttributeViReal64().

Any hints on where else I can look for the fix to this bug? TIA for any help ...
0 Kudos
Message 1 of 2
(2,924 Views)
Hi BA,

Would you mind posting a small example of the code you use to generate this error? I know that ViReal64 is just another term for type double, but for the standard interface in VISA. So, I would like to see if possible the code you are using and also the IVI driver you're creating. Thanks!

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 2 of 2
(2,924 Views)