Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 8.0 and Omega CNi16D53-C24

I’m using the Omega CNi16D53-C24 as a temperature monitoring device reading the temperature off of the Omega RTD-2-1PT100K2515-36-T.  I'm using the OMG-USB-232-1 to communicate those readings off of the CNi16D53-C24 to a lab top using RS-232.  I Can send those readings to a HyperTerminal window but I need to be able to acquire this data using the LabVIEW 8.0 program so I can control and monitor this device from my computer how ever I’m having problems to get my CNi16D53 to work with LabVIEW.  Seeing how these devices are widely used I’m sure there is a fairly easy way to do this.  What do I need to do?
Vince Warner
CoorsTek, Inc.
vwarner@coorstek.com
0 Kudos
Message 1 of 7
(4,498 Views)
First, under Help, Search Examples containing Serial- there are some basic vi's (Basic serial read and write) to start with there. It is good that you first used Hyperterminal- this verifies cabling, port setting, and commands are correct. Make sure that in LV you add the correct termination character (usually a linefeed or carriage return).
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 2 of 7
(4,488 Views)

I did end up using the examples from LabVIEW RS-232 and it worked nicely but now I’m using 485 and it not working so nicely

Vince Warner
CoorsTek, Inc.
vwarner@coorstek.com
0 Kudos
Message 3 of 7
(4,452 Views)
I did end up using the examples from LabVIEW RS-232 and it worked nicely but now I?m using 485 and it not working so nicely
0 Kudos
Message 4 of 7
(4,441 Views)

You can also look at some of the LabVIEW drivers for Omega on the NI Instrument Driver Network:

http://sine.ni.com/apps/we/niid_web_display.drv_results?p_app_area=&p_man=omega&p_keywords=&p_inst_t...=

0 Kudos
Message 5 of 7
(4,438 Views)

Vince--

     You can use the same example you are using for RS-232. You'll just need to specify which mode you are in.  (Probably RS-485, 4 wire...but you will need to know this for the device) So, after the "serial configure port" vi  break the lines and insert a property node (found on the functions palette: VISA>>Advanced) If you click on it and go to serial settings, choose wire mode.  Next, change it to write mode (right click >> change all to write)  then right click the input terminal for the wire mode and create a constant, then choose your mode.  Wire back up the resource lines and your error lines and it should be good to go.

Regards,

John H.

Applications Engineer

National Instruments

http://www.ni.com/support

 

0 Kudos
Message 6 of 7
(4,426 Views)

Anonymous:

VT1985 got it to work with proper termination characters I guess, see this post:

http://forums.ni.com/ni/board/message?board.id=140&message.id=17993

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 7 of 7
(4,420 Views)