Problems with Labview 6i and serial port/visa 
Author Message
 Problems with Labview 6i and serial port/visa

Hi!

In my application I'm trying to read from the serial port. The problem is,
labview doesn't even let me connect the "visa resource name" to any of the
visa VI's. It always tells me there is a class-conflict, but the classes are
the same!?
Can anybody tell me, if there's something I could be doing wrong or is there
a bug in labview 6i?
I'm using labview 6i in a windows ME environment.

Any help is highly appreciated!

Regards,
Martin Klein



Tue, 05 Aug 2003 19:12:50 GMT  
 Problems with Labview 6i and serial port/visa

Quote:

> Hi!

> In my application I'm trying to read from the serial port. The problem is,
> labview doesn't even let me connect the "visa resource name" to any of the
> visa VI's. It always tells me there is a class-conflict, but the classes are
> the same!?
> Can anybody tell me, if there's something I could be doing wrong or is there
> a bug in labview 6i?
> I'm using labview 6i in a windows ME environment.

> Any help is highly appreciated!

> Regards,
> Martin Klein

You might have got a problem with the visa class type. So you should try
to find out which is the present type of the visa class. Right clilck on
the VISA session control, choose the entry 'choose Visa class'. The one
which is marked is your current type - and it might not be the one you
want to have.
But there could be other reasons for your problems to link the VIs
together. For example it is impossile to chain a VISA open with a VISA
easy write. In this case you have to use the standard VISA read and VISA
write.
If your problams have another background you should post your VI example
to the newsgroup. This way it is much easier to find a bug than just
speculating about it.
Oh and if you are trying to change a LV5 VI to a LV6 VI you might have
to delete and recreate the VISA session control. I think there have been
some changes with the new version. There had been several changes with
the VISA open if im right.

cu Kai



Wed, 06 Aug 2003 01:41:58 GMT  
 Problems with Labview 6i and serial port/visa
Hi!

Quote:

> You might have got a problem with the visa class type. So you should try
> to find out which is the present type of the visa class. Right clilck on
> the VISA session control, choose the entry 'choose Visa class'. The one
> which is marked is your current type - and it might not be the one you
> want to have.

Yes, the problem is apparenty the visa type. The problem is, i tried all of
'em by now and usualy, it shouldn't be a problem, if you click on the VI and
the tell it to create a control. It should be the right control, but it
never even then wires itself correctly to the VI.

Quote:
> But there could be other reasons for your problems to link the VIs
> together. For example it is impossile to chain a VISA open with a VISA
> easy write. In this case you have to use the standard VISA read and VISA
> write.

I tried all of the VI's by now, but none of 'em work.

Quote:
> If your problams have another background you should post your VI example
> to the newsgroup. This way it is much easier to find a bug than just
> speculating about it.

It's really just  the basic VI's linked together to read from the COM1-port
(visa open, visa read, visa close), because it's meant to be a sub-VI for my
program.
And it can't be a problem of compatiblety (sp?), because i try to create it
anew with labview 6i.
Has anybody maybe had the same problem with labview 6i and windows ME?
The problem didn't seem to exist on my former computer (win95).

Thanx,
Martin Klein



Wed, 06 Aug 2003 03:57:21 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Reading/writing to serial port w/ VISA in Labview

2. VISA Serial Port Problem

3. Problems with IMAQ Vision after upgrading from Labview 6i to Labview 6.1

4. Setting TD on serial port high using VISA

5. Changing Parity on Serial Port (VISA)

6. Serial Port VISA Resource

7. LabVIEW 7.0 visa and serial issue

8. Problem with LabView 6i

9. MSI problem when trying to install LabView 6i

10. Visa/Serial Problem

11. How do I clear a serial port buffer between reads using 8-port NI board and VISA in Labview?

12. Problem with the use of VISA Serial...

 

 
Powered by phpBB® Forum Software