LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems in using IVI instrument drivers

Hi all,

 

I have created seperate IVI instrument vi's for each functionality e.g. PSUinit.vi for initialization, PSUsetVoltage.vi for setting the voltage in power supply etc. But whenever i try to run these vis using a IVI logical name "PSU", they dont work and I endup getting errors like "PSU(1)" logical name not found.."PSU(2)"logical name not found etc.

 

Any suggestions on where am I making a mistake?

0 Kudos
Message 1 of 9
(3,185 Views)

And how should I pass the IVI logical name between these vi's??..Should the logical name has to goto one vi, come out of it and then goto the another or can I give to any vi at any point of time?

0 Kudos
Message 2 of 9
(3,174 Views)
You've added the logical names in MAX and associated then with the specific IVI driver for the instrument?
0 Kudos
Message 3 of 9
(3,165 Views)

Hi Dennis,

 

Yes I did that but the vi's are not working.

0 Kudos
Message 4 of 9
(3,153 Views)
Can you post an image of your block diagram and the MAX set-up?
0 Kudos
Message 5 of 9
(3,149 Views)

Please find the attached BD & MAX image.

0 Kudos
Message 6 of 9
(3,122 Views)

And how should I connect logical name?..should I use method 1 or method 2?..I guess I am getting problems due to this coz I havent actually closed the logical name instance in each vi..But I am not sure about it.

 

Also in plug & play drivers it doesnt matter which method (1 or 2) one follows and whether one has closed the instance or not. They still work but I think the same case is not valid for IVI.Is it true?

 

P.S Please find the attached image for method 1 & 2

0 Kudos
Message 7 of 9
(3,115 Views)

Hi all..any thoughts on this??

0 Kudos
Message 8 of 9
(3,073 Views)
I've always used the reference out and connected it to the reference in of the next function.
0 Kudos
Message 9 of 9
(3,061 Views)