Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1 occurred at Scan From String (arg 1)

Hey,

 

I'm working on a project where I'm using LabVIEW. 

 

The objective is to send numbers to LabVIEW via Bluetooth. In LabVIEW, these numbers should create a graph but are not doing so. The error is:

 

Error 1 occured at Scan From String (arg 1)

 

Possible reason(s): 

LabVIEW: An input parameter is invalid. For example, if the input is a path, the path might contain a character not allowed by the OS such as ? or @.

 

Attached is my project , the error 's printscreen and a file from RCOM Serial where it can see the numbers that I want.

Download All
0 Kudos
Message 1 of 2
(4,912 Views)

What is the data coming out of the VISA Read?

 

If you are using the termination character (which you should be), then just set the Bytes To Read to something larger than you would expect to read, line 15 or 20.  The VISA Read will stop reading when it finds the End Of Line character (assuming you don't change what the termination character is).


GCentral
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 2 of 2
(4,901 Views)