Jump to content

Joint 2 Bytes


Recommended Posts

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.

Link to comment

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.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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