07-06-2012 10:45 AM
07-09-2012 04:49 PM
Hi Sufun,
Yes, it appears that you are just set up to read from the Lakeshore 331 now, not to control it.
Can you confirm that you have this driver installed or another?
The above mentions that it includes some example Vis for how to control it which might help you under Getting Started. If that doesn't help, please contact the manufacturer to help you further to interface with the device.
Sincerely,
Bogdan Buricea
Applications Engineering
National Instruments
07-26-2012 10:09 AM
We've installed Labview 2010 on another computer to take advantage of the drivers. However, the computer doesn't have a DAQ device. Is there any way to control the temperature without one? Our other computer has a PCI-6014, which we could move over, but if there's a way to simply control the temperature without a DAQ that would be very helpful.
07-27-2012 12:17 PM
Hello Sufun,
How do you communicate with your Temperature Controller?
07-30-2012 01:47 PM
The computer that runs the VI I posted that reads the temperature has a PCI-6014 but that runs Labview 7, for which I couldn't find drivers. I just connected it to a computer running Labview 2010 using a RSC-232 cable through the serial port.
07-30-2012 03:25 PM
I ran one of the example VI's and got an error.
Error -1073807339 occurred at VISA Read in Lake Shore Cryotronics 331.lvlib:Initialize.vi->Lake Shore Cryotronics 331 Application Temperature Controller.vi
VISA: (Hex 0xBFFF0015) Timeout expired before operation completed.
The second line also come up when I try to query the Temperature controller in VISA Test Panel with a command like, for example, "*IDN?" which is supposed to an identification string. When I write the string, I get a return count (of X bytes) and no error message. My serial port is also definitely working, at least according to the test posted on NI's website.
07-30-2012 03:29 PM
What version of VISA are you using?
07-30-2012 03:34 PM
I have VISA 5.0. I just tried writing some commands to control the Setpoint and Heater Range through VISA and couldn't see any change on the controller's front panel. I also tried switching to Remote mode but that didn't make a difference.
07-30-2012 05:37 PM
Try incrementing the timeout for the VISA using the VISA Set Timeout.
07-31-2012 10:34 AM
I've tried incrementing the timeout in VISA test panel and still get a timeout error. In the example program in the driver, I also get the following error:
Error -1073807346 occurred at VISA Open in Lake Shore Cryotronics 331.lvlib:Initialize.vi->Lake Shore Cryotronics 331 Application Temperature Controller.vi
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
In the visa test panel view attributes tab, the following is also the only one in red:
Attribtue - Is Port Connected
VISA Atrribute Name - VI_ATTR_ASRL_CONNECTED
Current Value -