Hi, I'm having difficulty accessing the lakeshore 321 temperature controller with labview from my computer. Currently I have connect the serial output from the back of the lakeshore to a model 2002 RJ-11 to DB-25 adapter, and then connected that to a serial to usb 2 adapter, which is plugged in to my computer.
Currently I've written a test program which as far as I understand is supposed to configure the device, give it a setpoint, and then readout the status of the setpoint. I've attached a picture of the VI, as well as the error that I receive when I try to run it.
Please tell me if there are some configurations I need to perform or if there are things I need to do in the VI before trying to read out a status.
Post by Lake Shore Jeff M on May 31, 2019 13:39:05 GMT -5
Lake Shore does not provide LabVIEW programming support, however, looking at the picture you provided, it does not look like you have included anything to initialize the communications port to the application.
I suggest you download and look at the example files for our Model 211 Monitor to see how to set up an Initalize.vi step that you would connect to your measurement application. The initialize vi selects the COM Port and RS232 parameters.
When you write the application, you should first initialize the COM port, then run your application as long as needed and when you are ready to close the application, you would process that with a close vi.