07-21-2014 12:30 PM
Good evening.
I am trying to read a single measurement from a Ohaus Balance (model SP2001). The connection seems to be good, but when I send a print command : P\r, it always reads 0 grams, no matter what I put on the balance. Now the display on the balance shows the correct weight, its what is read on labview that is always Zero.
Also, when I send the command for Mode: 0M\r , to get it in gram mode, the command needs to be sent in normal codes display in order for the VISA write not to bug, but when I send the print command: P\r, it only gives no error when it is in \ codes display, I dont get it.
I have attached the code I'm using here, wich is pretty much inspired by the SP2001 driver that I found on NI hopefully someone knows how to work with this.
07-21-2014 12:35 PM
07-21-2014 12:46 PM
Ok so I wrote \r on here but as you can see in the code, I actually send a string carriage return with the command when setting up the mode
When I say to bug: it gives me and error stating that timeout expired.
Nothing is wrong specifically wrong with the driver, it gives me the exact same problem, the code I'm using now is basically all there is in the driver put in one stacked sequence
07-21-2014 01:37 PM
I have the same scale. If I am remembering correctly, I turned Auto-Print to Continuous and used the drivers found on the driver network. Also make sure you have the USB setting turned on.
07-21-2014 01:40 PM