04-06-2016 03:24 AM
Hi, I need to use the 3499A Switch Scanner to do measurements with a 4284A LCR meter. Using a LabVIEW program, I have already completed the program used to control the 4284A and I successfully tested it with a direct connection with my samples. Now, I need to do sample measurements by selecting each sample one by one. I tried to do so with a LabVIEW program using the 3499A Switch Scanner's LabVIEW driver and also by sending LabVIEW VISA instructions to the Switch Scanner. I previously used an other programming language to do so. I was using the same 3499A Switch Scanner but with a VEE program which is running perfectly well. However, the VEE program is considered too old now at my work and I need to replace it with LabVIEW. When using the Switch Scanner's LabVIEW driver, I have several problems: 1. After the first execution of the program, it crashes when I try to run the code for a second time. I mean, if I start the program again, the execution stops at the first 3499A VI instruction (in my case it is the ''initialize'' VI, the execution stops at this VI until an error occurs for timeout). To execute the program again, I need to turn off and on the instrument by myself with a physical interaction. 2. I am not totally sure how to write the connecting channels names in the driver as I can't find details about this in its VIs' detailed descriptions. I tried to guess the ''COM'' and ''CH'' keywords found in the user manual and checked the old connections done by a previous worker who did the setup of the 4284A-3499A. Unfortunately, regardless the names I input, I cannot achieve any connection and the LCR meter seems to not do measurements.
When trying to use the VISA instructions: 1. There is no crash happening when I start running the program (which is good). 2. But...in this case, I used similar commands than those I found in the old VEE program. There is also a list of the channels names in the VEE program that I copied for the LabVIEW program using VISA. Unfortunately, it seems that as in the previous case, no effective connection occurs in the Switch Scanner and I cannnot do measurements with the LCR meter.
*I used channels names defined as snm like for example by sending
commands such as ROUT:CLOS (@102) but it is not working
* By using the driver I try to connect only 1 sample which has 4 connecting wires.
By using the VISA instructions I try to connect my 16 samples with 4 wires each.
I joined my 2 labVIEW codes in the mail.
Thank you for your help,