LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can labview record data through a serial connection from a load cell controller?

I am assembling a system and need to be able to control both a newport motion controller (already has LV drivers, so I am sure that's all set) as well as take load data from a Sensotec load cell controller - the controller uses a serial connection for data transfer. Can I use labview to readily acquire data from the load cell controller (it's a sensotec 2000, if that helps)?
0 Kudos
Message 1 of 6
(3,515 Views)
Yes, this is a very typical application for LabView. For the serial device, you'll just need to determine the serial protocol and the format of the data stream. LV 7 even has a wizard to assist you in parsing the incoming data. There are serial communication examples that ship with LV.

Tim
0 Kudos
Message 2 of 6
(3,506 Views)
Hello DavidE123,

If you have the serial protocol that the Sensotec 2000 is using you can
create your driver in labview.
Most of the time is faster to write your own driver than to search for one.

Greetz,

André

"DavidE123" schreef in bericht
news:5065000000080000001DBD0000-1075825507000@exchange.ni.com...
> I am assembling a system and need to be able to control both a newport
> motion controller (already has LV drivers, so I am sure that's all
> set) as well as take load data from a Sensotec load cell controller -
> the controller uses a serial connection for data transfer. Can I use
> labview to readily acquire data from the load cell controller (it's a
> sensotec 2000, if that helps)?
0 Kudos
Message 3 of 6
(3,506 Views)
There is some sample LabVIEW code for the Sensotec 2000 at:
http://www.sensotec.com/advantage/download.asp#software

If you can't find the instrument driver you are looking for on the Instrument Driver Network (ni.com/idnet), you can generally search google and find something.
0 Kudos
Message 4 of 6
(3,506 Views)

I am using the same controller and need to be able to collect, plot, and write data from two channels, one LVDT channel and one load cell channel.

Is the example code on the sensotec site executable?  Do I have to create a driver for the controller in addition to using the example to execute this code?

0 Kudos
Message 5 of 6
(3,318 Views)
 

Hi Slipfit,

Hmm, I tried to access those examples, but I couldn't register with the Honeywell site to view them.  Based on what I have seen before, however, I am guessing that the examples use is the general VISA driver (which applies to Serial, GPIB, USB, etc.) communication.  As such, the examples likely send serial commands specific to the Sensotec 2000 (check your manual for such commands) and then you'll receive the corresponding messages in response from the instrument.  If this is the case, the only thing you would need to execute these LabVIEW example programs would be the VISA driver itself.  This can be downloaded from National Instruments from this website: https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html  You should get the most up-to-date version of the VISA driver for your operating system.  Hope this helps!


Regards,
Anna M.
National Instruments
0 Kudos
Message 6 of 6
(3,294 Views)