Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Ohaus Ranger scale with NI 9870 (cRIO)

Solved!
Go to solution

Hello,

 

I am using a NI cRIO-9074 data aquisition system with a NI 9870 4-Port, RS232 Serial Interface Module, and am programming with LabView 2012. I'm currently looking for a scale with an RS-232 output that I can plug into the NI 9870 to receive and store measurement data. I'd like to go with an Ohaus Ranger 7000 scale, model number R71MD3. However, looking at NI's list of instrumentation drivers, they do not have anything listed for this model, though they do have quite a few for other (seemingly older) Ohaus scales.

 

Are drivers not needed for this scale? Or is there a standard RS-232 that can be used? I'd like to ensure that this setup will work before purchasing the scale.

 

Thanks!

0 Kudos
Message 1 of 5
(4,880 Views)
Solution
Accepted by topic author Nick_Greenway

Using the 9870 in a cRIO essentially just adds 4 more COM ports to the cRIO, which you can interface with using NI-VISA.  Check this KB for more details.  Most "instrument drivers" are just an abstraction layer or wrapper for the low-level VISA reads and writes being performed.  If an instrument driver does not already exist, you can implement a simple one yourself using VISA.

 

In this situation, you'll simply need to look up the command/instruction set the device uses, and implement those using VISA reads and writes.  As long as the command set isn't too extensive, this is pretty simple and quick.

 

So, this setup will definitely work, you'll just need to take the time to implement the VISA commands yourself.

Cody A.
0 Kudos
Message 2 of 5
(4,645 Views)

Perfect, thanks for the explanation!

0 Kudos
Message 3 of 5
(4,633 Views)
You should check with Ohaus to see if the command set is shared with any of its other scales.
0 Kudos
Message 4 of 5
(4,631 Views)

Good idea, will do!

0 Kudos
Message 5 of 5
(4,621 Views)