Jump to content

RodolfoAcialdi

Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Posts posted by RodolfoAcialdi

  1. QUOTE(hooovahh @ Nov 5 2007, 05:47 PM)

    This may show my LabVIEW immaturity but I didn't know that operation existed. Previously I would convert the numbers to strings, concatenate the strings, then convert back to the number.

    Thanks hooovahh! I'll use this idea about 'concatenate the strings' in another problem...

    I just decided to use 8 bits at a rate of 17820ksps. I guess it's enough to sample a 60Hz signal.

    Thanks Anyway.

    By the way, i'm having troubles converting the string buffer from the read VISA VI, into a number (a voltage especifically). I'm doing the right conversion (i guess) but the final number is totally different from the real one, that i read from windows hyperterminal. Here goes the project. If anybody have any idea, please tell me. Tthanks a lot.

  2. QUOTE(neB @ Oct 31 2007, 07:31 PM)

    Your question is a little like asking "Will a bolt work for an automobile?"

    Sure, if you use it correctly.

    Try it out and if you have trouble, post an image of your code and we'll take a closer look.

    Ben

    I found a better way to do this... i'll use just 1 byte. I'll do this conversion in the firmware of the uC.

    Thanks.

  3. QUOTE(eaolson @ Oct 31 2007, 08:18 PM)

    From serial communication, you will get bytes.

    If your data is unsigned, you don't care about the highest 4 bits of the result. Be careful if your result is supposed to be signed, that can be trickier.

    Ok eaolson, thanks. (my data isn't signed) Things are getting 'more clear' for me.

    I have another question now. If i send firstly 1 byte (MSB) and then the other byte (LSB), wich VI may i use to join them, i mean, should i store the first one and wait for the second and then join (Join Numbers) or there's a way to join them as they are coming serially?

    I'm afraid that i'm not being very clear and especific, ok.

    Thanks.

  4. Very very Close!!!

    Does it work for serial transmition?

    QUOTE(neB @ Oct 31 2007, 06:28 PM)

    Quick before he completes the questions, lets guess what the answer is!

    Under data manipulation there is a "join" operator that will take two u8 and return a single u16.

    Did I get close?

    Ben

  5. Hi.

    I'm a beginner of LabVIEW and i'm using the ADuC841 (with a 12-bit A/D converter) microcontroller to acquire a RMS voltage signal and send it through serial port at 9600 baud 8N1. But, the A/D have a 12 bit register (4 bits for the higher part and 8 bits for the lower part).

    So, to get the correct reading from the A/D i must joint these two parts of the A/D register into a 12 bit word. Does anybody have an idea for this?

    I thought about waiting for 2 terminations characters ("\n" = 0x0A) and then joint them. The program to joint then and show it is almost done but, i have no idea to make a condition to change into MSB and LSB part after a termination character and them joint these two parts.

    If anybody else have another idea, please tell me.

    Thanks a lot.

  6. Hi. My name is Rodolfo, i'm from Brazil and i'm graduating in Electrical Engineering.

    I'm doing a system to identify "faults" in a three phase induction motor for my final work of graduation and the proposal for this work was to use a simple neural network to identify these faults and jointly a system in LabVIEW to do the human machine interface.

    I choose LabVIEW because it is a fantastic tool to develop system such as mine and, as a beginner of it i'm impressed with LabVIEW possibilities.

    Thank you for accepting me in this forum and sorry my english.

    Rodolfo A. Pinheiro

    Campo Grande, MS - BRAZIL

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.