Hello, I am using a RS232 cable to communicate with my computer to a Stanford Research Systems Lock-In Amplifier SR830. I have successfully been able to communicate with it, and have attached the program that I was using. I attached this file - it's the one called Lock-In - Test One Command.vi." I am trying to get the X-values out of the lock-in, but instead of just getting one value once when I run it, I want to continuously collect the data and store it into a data column set. The input command is "OUTP?1\n." I have attempted to make one that is continuously collecting data, but when I run it, nothing is coming out of the Bytes at Port. Does anything know if I have set it up correctly? There are no error codes that it is giving me as well. I know for sure it is properly communicating with the device since my other vi works, so I think I just incorrectly set this one up. This file is the one called "Lock-In Acquire Data.vi." Any help or advice would be appreciated, thank you!
↧