04-11-2006 01:27 PM
Sorry if this is too basic of a question but I am trying to learn about using the VISA.
I am very new to LabVIEW. I am using version 7.1 and 8.0.
What I am trying to do is read the actual temperature from through the rs-232 serial port. The controller we are using is a Wavelength Electronics LFI-3751. I have made all of the necessary wiring harnesses and have wrote the program that I think should work. I can read the temperature on the number 1 controller with no problem. I can change the address on the controllers to number 1 and read each unit with no problem. We have 9 of these units and when I change the address on the program to match the unit numbers, I can turn them on the lights blinks that it is sending the packet but I am getting back 000.000 for the temp. If anyone would have an Idea or suggestion please let me know. I have included the VI that I am trying to use as well as the VI that came with the controller. I could use the VI that came with the controller but there are a lot of extras that I don’t need. I am trying to log other information as well with this VI.
Thanks
G
04-11-2006 01:54 PM
04-11-2006 02:26 PM
I have attached the files requested. On the Chamber 2 in the block diagram I put a note to show what I have changed to switch the address and ran it as well and saved. I will work on changing to time delay and I do have the automatic error handing on. If you would like anything else please let me know.
Thanks
G
04-11-2006 03:04 PM
04-11-2006 04:38 PM
I tried that VI and it looks good but it would only give me a reading 1 time. And it would not work when the address was changed to the other chambers. The ultimate goal is to take a reading on the light intensity and the temperature with the date time stamp once per hour. The attached data is how the address works according to the book and again it does work with #1 but when changing the Unit # is when I get into trouble. With the command code you can get resistance, Thermoelectric current, and a whole number of other reading back.
Thanks
G
04-11-2006 04:49 PM
04-12-2006 03:10 AM
04-12-2006 09:55 PM
Thanks for the help. I did get it working. The comment about reinventing the wheel just finally sunk in. After doing some tracing I found the read measurement vi in the library and made a connector then incorporated it into my program. Works great. I have attached a copy to show what I did.
Thanks again for the help.
G