12-11-2017 11:30 PM
Hello guys, I'm fancing some troubles with LabView.
First of all, I'm new here and using LabView, I will try to put all the information here.
To my problem
I'm trying to use Labview to collect datas (conductance) from a digital multimeter to my undergraduate thesis, connected with serial cable + adapter to USB.
A friend sent me a VI file to make this process much easier but something is getting wrong, every time that I try to get some data, instead of conductance numbers I recive weird symbols and letters (everytime is different).
I'm sending the VI and some screnshots
My version is 2013
Thanks from a poor Brazilian who just want to graduate hahahahhaha
Solved! Go to Solution.
12-11-2017 11:36 PM
12-11-2017 11:41 PM - edited 12-11-2017 11:42 PM
First, the word is data. It is already plural so you do not add an "s" to the end. The singular, i.e. a single point of data, is know as a datum.
What you are seeing binary data. Instead of something human readable like letters or numbers, you are getting bytes that represent other symbols or even non-printable control characters in the ASCII table. What you need to find out is how the data is being sent. Is it bytes representing integers, or floating point values?
If you are getting binary data, then you do not want to use the Serial Configure VI with the terminal character enabled. The default values with nothing wired are Enabled and line feed. Because if you get a line feed character (ASCII 10) in the middle of a stream of meaningful data, the VISA read will end with that byte.
You do not want to use Bytes at Port. 99% of the time, that property node should not be used. If you were getting human readable data that had a linefeed character separating messages, then you just use a large number, larger than the longest message you expect to read, wired into the VISA Read.
If you are expecting binary data, like the characters appear to be, it is difficult to tell you exactly what to do. You'll have to read the manual for the device. Sometimes it is just reading a fixed number of characters. Sometimes you might have to look for special start and stop binary codes, or bytes that represent how many data bytes follow. But you have to read the manual to know what the protocol is for the data being sent.
12-12-2017 03:29 AM
@Blokk wrote:
- The "bytes at port" method is always the wrong choice 99% of the cases
Always, or in 99% of the cases? Which is it?
/Y
12-12-2017 06:33 AM
@Yamaeda wrote:
@Blokk wrote:
- The "bytes at port" method is always the wrong choice 99% of the cases
Always, or in 99% of the cases? Which is it?
/Y
I would say it is closer to 97%.
12-12-2017 07:41 AM
My professor gave me this multimeter to use in my thesis and he don't know where is the manual 😞 and I found nothing on internet.
-Model: ET-2800
-Brand: Minipa (Brazilian brand)
I gonna ask the manual to the fabricant
12-12-2017 07:49 AM
I didn't know about "datum", Thanks 😄
I'm gonna check what you said. Thanks a lot again
12-12-2017 09:02 AM
@RavensFan wrote:
First, the word is data. It is already plural so you do not add an "s" to the end. The singular, i.e. a single point of data, is know as a datum.
Unless "Data" is your name. Then it is appropriate to refer to more than one Data as "Datas". And, in fact, this has happened, if only on a TV show. 😉
Hey, maybe "datas" is a two-dimensional array of data. 😉
Hey, senoura9 - I'm not making fun of your English error when English isn't even your first language. Rather, I was having some fun with the English language, itself. 🙂
12-12-2017 09:20 AM
I've always found it difficult to hear sentences such as "The data are showing ....". I will always say "The data is showing ....".
I know technically "data" is a plural word, but I don't visualize it as a quantity of individual entities, but as a singular entity that represents a group that may be countable or not countable.
But the word "datas" doesn't exist. As for "Datas", was there ever an episode of Star Trek where Commander Data was replicated?
12-12-2017 10:15 AM - edited 12-12-2017 10:17 AM
@RavensFan wrote:
But the word "datas" doesn't exist. As for "Datas", was there ever an episode of Star Trek where Commander Data was replicated?
not really, but in a sense he is the replication of lore.
there was one, who wanted to try, but data said that he does not know his stuff and declined 😉