Jump to content

Numerical multiplication of different data types


Pepe96

Recommended Posts

Hi to all.

I am completely a newbie on this field using LabView and so on and I hope you can give me some answers.

Problem: I need to connect a Bit-error-Rate tester (in following BERT) via LabView with a computer to process the obatined BER.

The problem is, the BERT does not give the BER directly, but the number of errors.

For that I need to calculate the BER using time (used for the BER-measurement), bitrate and errors.

The problem is, that the format of two values is a string and that these two values may vary with a new measurement.

So I need to process them using Numeric operations (muliplication, Division).

I just found a converter, which converts from string to number, but it doesnt work, because anytime I try to connect both signals to the multiplier, it gives me an error and it automatically connects both with each other, instead of connecting both to the multiplier.

I hope I explained well the problem I got and I would greatly appreciate any hints.

Thanks in Advance

Pepe96

Link to comment
Hi to all.

I am completely a newbie on this field using LabView and so on and I hope you can give me some answers.

Problem: I need to connect a Bit-error-Rate tester (in following BERT) via LabView with a computer to process the obatined BER.

The problem is, the BERT does not give the BER directly, but the number of errors.

For that I need to calculate the BER using time (used for the BER-measurement), bitrate and errors.

The problem is, that the format of two values is a string and that these two values may vary with a new measurement.

So I need to process them using Numeric operations (muliplication, Division).

I just found a converter, which converts from string to number, but it doesnt work, because anytime I try to connect both signals to the multiplier, it gives me an error and it automatically connects both with each other, instead of connecting both to the multiplier.

I hope I explained well the problem I got and I would greatly appreciate any hints.

Thanks in Advance

Pepe96

3714[/snapback]

The Fract/Exp string to number function should work fine for what you are doing, although you may need to adjust the format slightly, depending on how your instrument formats its output.

Use one conversion function for each string. Then wire the number outputs from each conversion function to the math function inputs. To verify what is going on, place a numeric indicator at the output of each function so you can see that it is or isnot working as you would expect.

The auto connect "feature" is probably what is causing you to connect the lines together. Go to Tools >> Options..>> Block Diagram and uncheck "Enable auto wiring." It is handy, but can be frustrating until you get used to it.

Spend some time with the tutorial. It can be very helpful to the newbie.

Lynn

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.