07-24-2009 10:27 AM
Hi
I'm trying to run an Ohaus Discovery balance (DV215CD) with LabVIEW.
I have managed to get the balance to talk to Hyperterminal operating on windows XP via a serial to USB converter attached to the Ohaus provided RS232 cable.
I am running the program 'ohepvp Continuous Measurement.vi' from the downloaded 'ohepvp.llb'. As the balance is a different model to the one the vi is designed for I have changed the ID query to 'No' on 'ohepvp Initialize.vi'.
The problem is that when I press 'run', the correct mass is shown, but if the mass is changed while the program is running, the vi does not register the change. If the vi is then stopped and restarted, the new mass is shown, but if the mass is changed again the vi does not register the change again.
Does anybody have a solution or even something I should check so I can provide you with more information to solve this? As it is working with Hyperterminal I am pretty sure this is a problem with the vi or a setting I need to change.
Thanks for any help you can provide. I've provided settings below.
Ohaus Balance
Baud = 9600; Parity = 8, N, 1; Handshake = Xon/Xoff
Hyperterminal
Configure : Baud = 9600; Data Bits = 8; Parity = None; Stop Bits = 1; Flow Control = Xon/Xoff
ASCII setup : Send line ends with line feeds; Echo typed characters locally.
COM3
LabVIEW 8.6.1
Baud Rate = 9600; Flow Control = Xon/Xoff 1; Parity = None 0; Data Bits = 8
COM3
07-24-2009 10:32 AM
07-24-2009 10:55 AM
Unfortunately I cannot remember exactly which of the drivers I downloaded. It is labelled for the Ohaus Explorer/Voyager Pro. When I checked on the NI website, the vast majority of Ohaus balances had the same download file for the driver.
I have the driver downloaded for LabVIEW 8.0.
07-24-2009 02:05 PM
There's a couple of things you can try: