LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to read from a digital balance

Hello:
 
I have this vi which reads data from a digital balance. If I call it from one of the programs it reads data through a serial port. But if I call the same vi from another program (which is pretty big), this vi gives the err-1073807339 and can not read data from the balance.
 
This does not make any sense. The same vi is working one time and not working  the other time.
 
  I wonder if its an hardware issure. I am using windows 2000 and ram is only 256 MB.
0 Kudos
Message 1 of 3
(2,557 Views)
Hi saquib,
 
It appears that the "larger" sw is not able to read and/or process the data from the COM port as quickly as data is being transferred from the digital balance.  Unless you are already doing so, you could add a VISA Property node to monitor the "Bytes at Port" as the program is running.  It will indicate how much data is ready to be read (in the buffer). 
 
When running the larger program, it may be possible that the read buffer does not get processed often enough to "empty" the buffer, thus preventing the number of bytes at port from continuously increasing. In other words, maybe the larger sw does not process the data fast enough to keep up with the data from the digital balance.
 
It could also be a timeout issue.  What version of Labview are you using?
 
JLV
Message 2 of 3
(2,547 Views)

Hello JLV:

 

Thanks for your reply. I am gonna try it out. Our version is 7.1. I will keep you updated.

 

Thanks

Saquib

0 Kudos
Message 3 of 3
(2,523 Views)