Joost van Hamond Posted November 29, 2005 Report Posted November 29, 2005 Hi everyone, I've got a multimeter with a RS232 output. I would like to see the data send by this device in my LabVIEW program. I made a program with: "Serial Port Init.VI", "Bytes at Serial Port.VI" and "Serial Port Read.VI". When I run the program, I get no errors, but I don't receive any data out of my multimeter!! And it keeps on running waiting for some input I think....... If you've got solution or just some comment, please tell me! Thanks. Cheers, Joost Quote
nicB Posted November 29, 2005 Report Posted November 29, 2005 First of read you must write a query command, for example read? or fetch? or data?; in sequence is first init.vi, after write with a string command query, the bytes at serial port and the read.vi, you can insert the write-bytescount-read in a while loop, and remember in the out of loop close with close visa.vi I hope this useful for you. sorry for bad english. Hi everyone,I've got a multimeter with a RS232 output. I would like to see the data send by this device in my LabVIEW program. I made a program with: "Serial Port Init.VI", "Bytes at Serial Port.VI" and "Serial Port Read.VI". When I run the program, I get no errors, but I don't receive any data out of my multimeter!! And it keeps on running waiting for some input I think....... If you've got solution or just some comment, please tell me! Thanks. Cheers, Joost Quote
AnalogKid2DigitalMan Posted November 29, 2005 Report Posted November 29, 2005 What is the make and model of the DMM? There may be drivers already available for it. Quote
Joost van Hamond Posted November 30, 2005 Author Report Posted November 30, 2005 What is the make and model of the DMM? There may be drivers already available for it. I've got 2 devices: A Black Star 4503 Intelligent Multimeter (Old! ) A Keithley 2410 1100V SourceMeter Quote
malef Posted November 30, 2005 Report Posted November 30, 2005 I've got 2 devices:A Black Star 4503 Intelligent Multimeter (Old! ) A Keithley 2410 1100V SourceMeter You can find a serial driver for Black Star 4503 at http://sine.ni.com/apps/we/niid_web_displa...034080020E74861 and at least a GPIB driver for Keithley 2410 at http://sine.ni.com/apps/we/niid_web_displa...rv_type=&p_int= :2cents: Manfred Quote
Joost van Hamond Posted December 1, 2005 Author Report Posted December 1, 2005 You can find a serial driver for Black Star 4503 athttp://sine.ni.com/apps/we/niid_web_displa...034080020E74861 and at least a GPIB driver for Keithley 2410 at http://sine.ni.com/apps/we/niid_web_displa...rv_type=&p_int= :2cents: Manfred I tried both of them, but my computer crashed both times. So I think it's a problem with my LabVIEW or my computer. Thanks anyway...... :thumbup: Quote
Joost van Hamond Posted December 2, 2005 Author Report Posted December 2, 2005 Oke! My program is working. I still don't know why: When I connect my RS232 cable into my multimeter the program doesn't receive data (but is running). When I connect pin 2 of my RS232 cable to pin 2 of my multimeter my program receives data!!! I still have to find out what's going on........ Quote
Gunjan Posted January 20, 2006 Report Posted January 20, 2006 Oke! My program is working. I still don't know why:When I connect my RS232 cable into my multimeter the program doesn't receive data (but is running). When I connect pin 2 of my RS232 cable to pin 2 of my multimeter my program receives data!!! I still have to find out what's going on........ I suggest you to use a oscilloscope to capture the data, instead of DMM. Quote
Khalid Posted January 20, 2006 Report Posted January 20, 2006 When I connect pin 2 of my RS232 cable to pin 2 of my multimeter my program receives data!!! Joost, If connecting Pin 2 to 2 works, then you probably need a "straight" serial cable, as opposed to a null-modem serial cable where the RX and TX pins are crossed. Regards, -Khalid Quote
Joost van Hamond Posted January 20, 2006 Author Report Posted January 20, 2006 The problem was that I needed a straight-thru connection for pin 2 and 3 and a cross-over for pin 7 and 8......... So: 2 --> 2 3 --> 3 7 --> 8 8 --> 7 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.