LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Serial Pallet Scale Interface

Solved!
Go to solution

Hello,

 

I'm having a problem getting the weight data (load cell) from my pallet scale to read into LabVIEW. I'm sure I'm trying to configure the interface incorrectly, however I can't seem to find the right settings.

 

The scale's output is RS-232, and I'm using a RS-232 to USB converter. Using the scale manufacturer's software, I can read the scale data in real time. I've attached the .vi I made to try and accomplish this.

 

When I run the program with Highlight Execution I always get the error: (-1073807360) at the configure port step. If I change the parity to ANYTHING other than none the code changes to: (-1073807330) .

 

Any help would be greatly appreciated!

 

Andrew

0 Kudos
Message 1 of 13
(4,875 Views)

Hi,

We would need to know more about the scale to be able to help.  What kind of scale is it?

0 Kudos
Message 2 of 13
(4,859 Views)

It's a Triner TSM Low-Profile Floor Scale. 

 

http://www.floorscalesdirect.com/tsm5-44-b-ntep-floor-scale.aspx

 

The Digital indicator it uses is the TS-700 MS.

0 Kudos
Message 3 of 13
(4,838 Views)
Solution
Accepted by topic author aricard60

According to the manual http://www.trinerscale.com/DOCS/OperatingGuide_TS-700_Series_V2.0.pdf

 

Your flow control setting is wrong

 

TS700 settings.PNG

 

Also, you don't need to use bytes at port in your loop.  Visa is already configured to use 'LF' termination.  Just put the byte count to a value larger than you expect from a single read.

Message 4 of 13
(4,829 Views)

That worked great to clear that error!

 

I'm not getting any errors now, but still no luck on getting the data to display from the scale. 

 

Am I correct in thinking the output from the VISA Reader is a string? 

0 Kudos
Message 5 of 13
(4,779 Views)

@aricard60 wrote:

I'm getting any errors now, but still no luck on getting the data to display from the scale. 


What error?  Do you have code you can share?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 13
(4,772 Views)

I apologize cross, I mis-typed. I edited my post to reflect the situation.

 

Andrew 

0 Kudos
Message 7 of 13
(4,768 Views)

The only way to get through the VISA Read command error free is if the byte count is set to zero. Not sure if this is correct.

 

 

0 Kudos
Message 8 of 13
(4,764 Views)

@aricard60 wrote:

The only way to get through the VISA Read command error free is if the byte count is set to zero. Not sure if this is correct.


Definitely not.  That is telling the VISA Read to read nothing.  Again, we need to see code and we need to know what errors you are getting.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 9 of 13
(4,755 Views)
0 Kudos
Message 10 of 13
(4,749 Views)