11-16-2009 07:51 AM
11-16-2009 09:46 AM
11-16-2009 10:16 AM
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
])
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
11-16-2009 10:36 AM
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.
11-16-2009 10:43 AM
11-16-2009 10:43 AM
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.
11-16-2009 10:51 AM
11-16-2009 10:57 AM
11-16-2009 11:04 AM
11-16-2009 11:05 AM
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.