Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Unexecutable subVI for IET Labs PRS Series

I have unfortunately come across instrument drivers which are not maintained by NI.  The ones provided on the product's website are from LabVIEW 6.1, and of course are not compatible with LabVIEW 9.0f2.  Has anyone come across this instrument (PRS Series Programmable Resistance Substituer) recently?
0 Kudos
Message 1 of 17
(4,909 Views)
LabVIEW 6.1 VIs are of course, compatible with LabVIEW 2009. If you have an unexecutable VI, you are going to have to provide some details. Attaching the VIs is best but at least provide the error.
0 Kudos
Message 2 of 17
(4,904 Views)

ahamel wrote:
I have unfortunately come across instrument drivers which are not maintained by NI.  The ones provided on the product's website are from LabVIEW 6.1, and of course are not compatible with LabVIEW 9.0f2.  Has anyone come across this instrument (PRS Series Programmable Resistance Substituer) recently?

Ahmel.

My previous employer used these extensively.  There are two versions of the IET PRS series instruments.  You will need to be very careful developing a driver that can detect which version of the instrument you are connected to as they communicate very differently via GPIB.  (The latter version was put in place to add remote functionallity- ironically at my request [yep fortune 500 employer Smiley Wink ])

 

Luckilly the GPIB command list is incredably short (a set command only for the old version, the later version includes set, read, and indentity commands) so a quick read through the operator manual  will give you the syntax you need to develope this simple driver in 2009.  I've found that the engineering support team at Genrad/IET are fairly helpful guys too. don't be afraid to drop them a e-mail.

 

Good luck


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 17
(4,896 Views)

I've included the subVI which has the error, if someone would like to give it a look. 

 

The error reads: "VISA Write: Contains unwired or bad terminal"

 

I am a beginner to LabVIEW, and especially to intrument control.   Therefore, I am very hesitant in making changes.  

0 Kudos
Message 4 of 17
(4,892 Views)
You'll need to attach IET 200 Query.vi and Split string. vi as well

"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 17
(4,888 Views)

You did not provide the subVIs but the error you have can be fixed by simply deleting the unwired VISA Write. That's assuming that the missing query VI is doing a VISA Write of the *IDN? query.

 

Whoever wrote this VI was also a beginner in LabVIEW.

0 Kudos
Message 6 of 17
(4,887 Views)
Attached are the two additional VIs,  thank you so much for the quick responses.
Download All
0 Kudos
Message 7 of 17
(4,881 Views)
Getting there-  Need scpi cmd and response.vi

"Should be" isn't "Is" -Jay
0 Kudos
Message 8 of 17
(4,869 Views)
Even with the missing subVIs, it's pretty clear that the first VISA Write has no business being there.
0 Kudos
Message 9 of 17
(4,865 Views)

Once I removed the unwired Write VISA from Get PRS Model Info.vi , I started to have time out errors in the SCPI Command and Response.vi

 

Error code -1073807339: Timeout expired before operation completed.

0 Kudos
Message 10 of 17
(4,863 Views)