LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multichannel acquisition

Hi, yours

I am supposed to acquire one current, two voltage, two temperature, and four RS-232 communication, simultaneously by LabVIEW.
One by one case is a easy way to go, but muti-channel measurement is very tough for me.
If anyone has a analogous one(.vi) Please help me!
Thank you.

Best regards,

Jin-Soo Park
0 Kudos
Message 1 of 10
(3,885 Views)
I'm not exactly sure what you mean by one-by-one, but maybe this will clear things up.

It should be rather simple to acquire the current, voltage, and temperature signals at one time (single point on all channels) or even buffered for continuous sampling.

The RS-232, however, is a different story. Since it is not a signal-conditioned input, or voltage, it is not acquired in the data acquisition manner. How do you intend to receive and save the RS-232 information with the other signals?

Mark
0 Kudos
Message 2 of 10
(3,885 Views)
I installed PCI-232/4 in desktop to communicate between external measurement systems and LabVIEW windows via each RS-232 cable. I am just gonna get some data by RS-232 communication like HP Benchlink for a HP34410A multimeter.
0 Kudos
Message 3 of 10
(3,885 Views)
So if I understand properly, you have instruments that you talk to through RS232?
0 Kudos
Message 4 of 10
(3,885 Views)
Thank you for good comment, first.
Yes, I have the instrument.
The problem is it is very difficult for me to design the simultaenous measurement LabVIEW programming to get current, voltage, temperature, as well as RS-232 communication. If you already have a similar VI file, Could I get one from you?
Thanks...
0 Kudos
Message 5 of 10
(3,885 Views)
I can certainly design one for you. What I would need to know is:
1) How are you physically measuring your current, voltage and temperature? Do you have an NI-DAQ card that you are using for this?
2) What type of thermocouple are you using?
3) I would have to know the RS-232 communications protocol to talk to your device. If you could tell me the make/model number and what you expect to get from the device, I could give it a try.

Mark
0 Kudos
Message 6 of 10
(3,885 Views)
Thank you for continuous concerns!
1) I am using PCI-6035E board as a DAQ card and SCXI-1102 for sinal conditioning, additionally I have SCXI-1000 chassi and SCXI-1300 terminal block. SCXI-1102 can get -10 - +10 V, 0-20 mA and 20-40 mA as well as temperature input signals. So I connect electric wires as a tranducer directly to a load to meausre two currents and two voltages.
2) I have two K-type thermocouples to measure two temperatures.
3) I am not sure what RS-232 communication protocol is, but I can get this information from my device.
VISA resource name - ASRL5::INSTR
VISA Alias - COM5
Static Device - 0
Enabled - 1
Port Binding - 960
0
Data Bits - 8
Parity - None
Stop Bits - 1
Flow control - Xon/Xoff
this case is for COM5, and I have four communication port from COM5 to COM8.

With best wishes,
0 Kudos
Message 7 of 10
(3,885 Views)
I'm working on it, and I'll post a VI here shortly.

Mark
0 Kudos
Message 8 of 10
(3,885 Views)
Hrm. I posted to this last week, but it doesn't look like my post made it.

I've created a VI for you. It reads the channels from your acquisition card, setting the range for each channel. It makes a few assumptions: 1) your SCXI chassis is at address 0; 2) your card is in slot 1; 3) your channels are 0-5.

As for the RS-232, I've shown how to output to the device and read from the device. You're going to have to find what the RS-232 commands are to get the reading that you want from your DMM. Typically, you send a command to set the device to the type measurement you want. Then you set the range in the same manner, then tell the device you want to take a measurement. Then you read the measurement, and display it on your front panel. Take a look at t
he VI and see if you understand it. Sorry that this didn't show up last week. Don't know what happened.

Mark
Message 9 of 10
(3,885 Views)
Thanks Mark!!

After I see if I understand it, if not, I will comment in here.
Thank you so much.

Sincerely yours

Jin-Soo
0 Kudos
Message 10 of 10
(3,885 Views)