LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Acquire data from a thermal couple device using RS232

I am building a program to acquire data from an instrument using RS232 protocol. I need to know how to build this VI. This thermacouple device has 32 channels, I have to read temperature on all the channels for 8-hour run and save the data in excel file.
I need to build this VI as soon thanks.
This Thermacouple device is using 25 pins serial connector , so i have to convert that to a 9 pin connector. Thanks
0 Kudos
Message 1 of 13
(3,731 Views)
Your major challenge will be getting the connector and protocol right. You can get off the shelf RS232 25pin to 9pin adapter, however you have to ensure the pin connection is the same with what the thermocouple manufacturer specifies. Same thing goes for the protocol, check the equipment manual for these and additional information. There are several serial communication examples in LabVIEW help and here to get you started.
0 Kudos
Message 2 of 13
(3,731 Views)
I am in process of getting the cable made. If you dont mind can you point me to right direction about where to get the examples. I am very new to this. Thank you
0 Kudos
Message 3 of 13
(3,731 Views)
Once you have the cable built, first establish communication with a program like Hyperterminal. That will give you a feel for the commands and responses. Then you can start writing the LabVIEW program. There are a couple shipping examples with LabVIEW. Go to Help>Find Examples>Hardware Input and Output>Serial. LabVIEW <-> Serial.vi uses VISA to communicate. You also have the option of using traditional serial communication. Do a search of this forum for serial and you'll find additional examples and lots of discussion on serial communications problems.
0 Kudos
Message 4 of 13
(3,731 Views)
I have the cable built. Ok I exactly don't know how to use Heperterminal. Would let me know that. Thanks
0 Kudos
Message 5 of 13
(3,731 Views)
0 Kudos
Message 6 of 13
(3,731 Views)
Thank for the information. I just tested my cable with the loopback.VI test and it is working. Now I need to figure out how to start making my program. If you have a suggestion let me know. Thank you
0 Kudos
Message 7 of 13
(3,731 Views)
Try the attached vi and serial communication example in LabVIEW Help. As mentioned previously, there are sample vi's in this forum as well.
0 Kudos
Message 8 of 13
(3,731 Views)
I am attaching some documents for this device, if you could tell me which setting would be appropriate for my application , appreciate it. Thanks
0 Kudos
Message 9 of 13
(3,731 Views)
For some reason I am not able to attach all the documents. I have notified this to the Customer service and they might be able to attach all the documents for me. These documents are about this device and basically tells what setting you have to have in order to have communication with this device.
0 Kudos
Message 10 of 13
(3,731 Views)