Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA 4.0 LabVIEW 6.1

I'm currently in the process of upgading to LV 8.20.  I'm working in LV 6.1 and 8.20 at the moment, and I wanted to change my VISA version to 4.0 under LV 6.1 so that I'm using the same version in both versions.

I don't seem to have any new VISA functions available on the palettes.  My Event type choices for example are the same as under VISA 2.6, whereas in LV 8.20 and VISA 4.0, I have a much more comprehensive range of event types to choose from.

How do I update my VISA functions within the LV environment?

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 1 of 8
(4,196 Views)
Just to clarify,

MAX lists VISA 4.0 as being installed, and I believe this is the case.

The problem lies with my "interface" to LV 6.1.  The VIs delivered with VISA 2.6 seem to be still residing in my vi.lib directory, and this gives me less options when using VISA events......

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 2 of 8
(4,194 Views)
OK, further clarification.....

I basically need VIs for Event handling which have an Enum (Or text ring) as input type so that I don't have to keep a reference of the hex numbers for the different event types.

Can I get them from somewhere?  I can't back-save from 8.20, because I don't have 8.0 or 7.1....

Shane.
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 3 of 8
(4,189 Views)
OK, further clarification.....

I basically need VIs for Event handling which have an Enum (Or text ring) as input type so that I don't have to keep a reference of the hex numbers for the different event types.

Can I get them from somewhere?  I can't back-save from 8.20, because I don't have 8.0 or 7.1....

Shane.

Grrr, double-post.  I'm really polluting the forums today. Smiley Mad

Message Edited by shoneill on 11-23-2006 04:58 PM

Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 4 of 8
(4,191 Views)
hello shane,

is it possible to post the VI or a similar example?

regards,

robert h
NI germany
0 Kudos
Message 5 of 8
(4,164 Views)
Hallo Robert,

here are a couple of pics to highlight the problem.  I see that simply passing the hex values for the different events would probably work, but it's awkward since there are VIs out there which make this unneccessary.

It might be that the original VIs in my VISA.llb file are from a previous version of VISA.  Whatever version was shipped with 6.1 was installed originally I believe (Before I inherited this PC).

In both of the following pictured I have used the "Create constant" pop-up dialog to generate the constant on the diagram:

Here's my 2.6 VI


Here's my 4.0 VI


Needless to say, the version from VISA 4.0 is much more intuative.

Can I have this VI saved for 6.1?  Please?

If I fully uninstall 2.6 and re-install, should I get this added functionality?

Shane.

Message Edited by shoneill on 11-28-2006 12:58 PM

Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
Download All
0 Kudos
Message 6 of 8
(4,148 Views)
hello shane,

it looks like the VISA API doesn't provide a typedef in LV 6.1. but you basically could create your own typdef and use it with LV 6.1. i attached the typedef for the eventtype as example.

regards,

robert
Message 7 of 8
(4,140 Views)
Hi Robert,

Thanks for that, that will help out with my immediate problem.

I'm a bit unsure about your text that the "VISA API doesn't provide a typedef in LV 6.1".  Surely the VI within the VISA.llb is responsible for providing the typedef.  It must be relatively simply to make a version of these VIs with typedef input.....

If it's a "LV 6.1 isn't supported any more" problem, then I'll just do it myself with a wrapper VI, I'd just rather have a NI solution.

Thanks, my problem is 99% solved 😉

Shane
Using LV 6.1 and 8.2.1 on W2k (SP4) and WXP (SP2)
0 Kudos
Message 8 of 8
(4,121 Views)