How do you map values in LabVIEW? Is there a best way or convention?LabView: Pass value between while loopsLabView Licensing recommendation for cDAQ: NI9426 Open Connector Pulse and NI9213 Temperature AlarmHow does Labview save cluster data in a binary file and how do I read it out in MATLAB?Implementing filter design using LabVIEWCall a data from a database in a .ini fileLabview FPGA Simulation TimingUsing UDP LabVIEW to comunicate with UDP c++ socketHow to set two identical y-scales in the same graph in Labview?LabVIEW 3D sensor mapping

Sorceror's stone location prior to Mirror of Erised move?

Bootstrap paradox with a time machine in iron

Is it theoretically possible to hack printer using scanner tray?

Why is 'hyper-' considered a prefix, but 'tachy-' is considered a combining form?

Making arrow with a gradual colour

GFCI versus circuit breaker

Are the plates of a battery really charged?

Replacing 5 gang light switches that have 3 of them daisy chained together

ShellExView vs ShellMenuView

How might boat designs change in order to allow them to be pulled by dragons?

What is the small microphone icon floating on top of the screen in macOS and how do I turn it off?

Is this house-rule removing the increased effect of cantrips at higher character levels balanced?

Existence of infinite set of positive integers s.t sum of reciprocals is rational and set of primes dividing an element is infinite

Installed software from source, how to say yum not to install it from package?

How to idiomatically express the idea "if you can cheat without being caught, do it"

How come having a Deathly Hallow is not a big deal?

How can I change my buffer system for protein purification?

Confusion in understanding the behavior of inductor in RL circuit with DC source

Are there advantages in writing by hand over typing out a story?

What caused the flashes in the video footage of Chernobyl?

Why should I allow multiple IP addresses on a website for a single session?

Why would a propellor have blades of different lengths?

Can you run PoE Cat6 alongside standard Cat6 cables?

What is the point of using the kunai?



How do you map values in LabVIEW? Is there a best way or convention?


LabView: Pass value between while loopsLabView Licensing recommendation for cDAQ: NI9426 Open Connector Pulse and NI9213 Temperature AlarmHow does Labview save cluster data in a binary file and how do I read it out in MATLAB?Implementing filter design using LabVIEWCall a data from a database in a .ini fileLabview FPGA Simulation TimingUsing UDP LabVIEW to comunicate with UDP c++ socketHow to set two identical y-scales in the same graph in Labview?LabVIEW 3D sensor mapping













0















I have an angle in degrees, and need to map it to a voltage.



i.e. left: -360 degrees = 0V, straight: 0 degrees = 5V, right: 360 degrees = 10V.



How do you map values in LabVIEW?



I found scaling under the numeric pallet but they seem to be very specific (e.g. for a thermistor) with no generic block.










share|improve this question


























    0















    I have an angle in degrees, and need to map it to a voltage.



    i.e. left: -360 degrees = 0V, straight: 0 degrees = 5V, right: 360 degrees = 10V.



    How do you map values in LabVIEW?



    I found scaling under the numeric pallet but they seem to be very specific (e.g. for a thermistor) with no generic block.










    share|improve this question
























      0












      0








      0








      I have an angle in degrees, and need to map it to a voltage.



      i.e. left: -360 degrees = 0V, straight: 0 degrees = 5V, right: 360 degrees = 10V.



      How do you map values in LabVIEW?



      I found scaling under the numeric pallet but they seem to be very specific (e.g. for a thermistor) with no generic block.










      share|improve this question














      I have an angle in degrees, and need to map it to a voltage.



      i.e. left: -360 degrees = 0V, straight: 0 degrees = 5V, right: 360 degrees = 10V.



      How do you map values in LabVIEW?



      I found scaling under the numeric pallet but they seem to be very specific (e.g. for a thermistor) with no generic block.







      labview






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 25 at 17:33









      Hugh WardHugh Ward

      11 bronze badge




      11 bronze badge




















          2 Answers
          2






          active

          oldest

          votes


















          2














          If the mapping you want is described by a mathematical formula, just implement that calculation using LabVIEW functions. In your case, assuming it's a linear relationship, the formula is voltage = (angle + 360) / 72 .



          You could code this in LabVIEW with an Add function followed by a Divide function, or if you think it's clearer written out as a formula then you could use a Formula Node.



          If you need to use this calculation in more than one place in your application, make it into a subVI.






          share|improve this answer























          • Just out of curiosity! why are you dividing by 72?

            – Achuthaperumal RK
            Mar 26 at 9:46











          • The asker wants to map an input range of 720 degrees (-360 to +360) on to an output range of 10 V. 720 / 10 = 72.

            – nekomatic
            Mar 26 at 11:35











          • Oops! Didn’t notice that! Thanks for the clarification...

            – Achuthaperumal RK
            Mar 26 at 12:09


















          0














          Looks like you're trying to read a analog gauge value! Actually it's very simple.



          1. Build a lookup Table

          2. Perform Interpolation followed by thresholding.

          Refer the VI Snippet (Just paste this image into your block diagram).



          Block Diagram



          Sample Output:



          Front Panel






          share|improve this answer


















          • 1





            This is a good explanation of how to implement a calibration curve as a series of linear segments, but it's not necessary for the OP's question which just needs a simple linear function.

            – nekomatic
            Mar 26 at 9:28













          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55343526%2fhow-do-you-map-values-in-labview-is-there-a-best-way-or-convention%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          If the mapping you want is described by a mathematical formula, just implement that calculation using LabVIEW functions. In your case, assuming it's a linear relationship, the formula is voltage = (angle + 360) / 72 .



          You could code this in LabVIEW with an Add function followed by a Divide function, or if you think it's clearer written out as a formula then you could use a Formula Node.



          If you need to use this calculation in more than one place in your application, make it into a subVI.






          share|improve this answer























          • Just out of curiosity! why are you dividing by 72?

            – Achuthaperumal RK
            Mar 26 at 9:46











          • The asker wants to map an input range of 720 degrees (-360 to +360) on to an output range of 10 V. 720 / 10 = 72.

            – nekomatic
            Mar 26 at 11:35











          • Oops! Didn’t notice that! Thanks for the clarification...

            – Achuthaperumal RK
            Mar 26 at 12:09















          2














          If the mapping you want is described by a mathematical formula, just implement that calculation using LabVIEW functions. In your case, assuming it's a linear relationship, the formula is voltage = (angle + 360) / 72 .



          You could code this in LabVIEW with an Add function followed by a Divide function, or if you think it's clearer written out as a formula then you could use a Formula Node.



          If you need to use this calculation in more than one place in your application, make it into a subVI.






          share|improve this answer























          • Just out of curiosity! why are you dividing by 72?

            – Achuthaperumal RK
            Mar 26 at 9:46











          • The asker wants to map an input range of 720 degrees (-360 to +360) on to an output range of 10 V. 720 / 10 = 72.

            – nekomatic
            Mar 26 at 11:35











          • Oops! Didn’t notice that! Thanks for the clarification...

            – Achuthaperumal RK
            Mar 26 at 12:09













          2












          2








          2







          If the mapping you want is described by a mathematical formula, just implement that calculation using LabVIEW functions. In your case, assuming it's a linear relationship, the formula is voltage = (angle + 360) / 72 .



          You could code this in LabVIEW with an Add function followed by a Divide function, or if you think it's clearer written out as a formula then you could use a Formula Node.



          If you need to use this calculation in more than one place in your application, make it into a subVI.






          share|improve this answer













          If the mapping you want is described by a mathematical formula, just implement that calculation using LabVIEW functions. In your case, assuming it's a linear relationship, the formula is voltage = (angle + 360) / 72 .



          You could code this in LabVIEW with an Add function followed by a Divide function, or if you think it's clearer written out as a formula then you could use a Formula Node.



          If you need to use this calculation in more than one place in your application, make it into a subVI.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 26 at 9:26









          nekomaticnekomatic

          4,4281 gold badge15 silver badges23 bronze badges




          4,4281 gold badge15 silver badges23 bronze badges












          • Just out of curiosity! why are you dividing by 72?

            – Achuthaperumal RK
            Mar 26 at 9:46











          • The asker wants to map an input range of 720 degrees (-360 to +360) on to an output range of 10 V. 720 / 10 = 72.

            – nekomatic
            Mar 26 at 11:35











          • Oops! Didn’t notice that! Thanks for the clarification...

            – Achuthaperumal RK
            Mar 26 at 12:09

















          • Just out of curiosity! why are you dividing by 72?

            – Achuthaperumal RK
            Mar 26 at 9:46











          • The asker wants to map an input range of 720 degrees (-360 to +360) on to an output range of 10 V. 720 / 10 = 72.

            – nekomatic
            Mar 26 at 11:35











          • Oops! Didn’t notice that! Thanks for the clarification...

            – Achuthaperumal RK
            Mar 26 at 12:09
















          Just out of curiosity! why are you dividing by 72?

          – Achuthaperumal RK
          Mar 26 at 9:46





          Just out of curiosity! why are you dividing by 72?

          – Achuthaperumal RK
          Mar 26 at 9:46













          The asker wants to map an input range of 720 degrees (-360 to +360) on to an output range of 10 V. 720 / 10 = 72.

          – nekomatic
          Mar 26 at 11:35





          The asker wants to map an input range of 720 degrees (-360 to +360) on to an output range of 10 V. 720 / 10 = 72.

          – nekomatic
          Mar 26 at 11:35













          Oops! Didn’t notice that! Thanks for the clarification...

          – Achuthaperumal RK
          Mar 26 at 12:09





          Oops! Didn’t notice that! Thanks for the clarification...

          – Achuthaperumal RK
          Mar 26 at 12:09











          0














          Looks like you're trying to read a analog gauge value! Actually it's very simple.



          1. Build a lookup Table

          2. Perform Interpolation followed by thresholding.

          Refer the VI Snippet (Just paste this image into your block diagram).



          Block Diagram



          Sample Output:



          Front Panel






          share|improve this answer


















          • 1





            This is a good explanation of how to implement a calibration curve as a series of linear segments, but it's not necessary for the OP's question which just needs a simple linear function.

            – nekomatic
            Mar 26 at 9:28















          0














          Looks like you're trying to read a analog gauge value! Actually it's very simple.



          1. Build a lookup Table

          2. Perform Interpolation followed by thresholding.

          Refer the VI Snippet (Just paste this image into your block diagram).



          Block Diagram



          Sample Output:



          Front Panel






          share|improve this answer


















          • 1





            This is a good explanation of how to implement a calibration curve as a series of linear segments, but it's not necessary for the OP's question which just needs a simple linear function.

            – nekomatic
            Mar 26 at 9:28













          0












          0








          0







          Looks like you're trying to read a analog gauge value! Actually it's very simple.



          1. Build a lookup Table

          2. Perform Interpolation followed by thresholding.

          Refer the VI Snippet (Just paste this image into your block diagram).



          Block Diagram



          Sample Output:



          Front Panel






          share|improve this answer













          Looks like you're trying to read a analog gauge value! Actually it's very simple.



          1. Build a lookup Table

          2. Perform Interpolation followed by thresholding.

          Refer the VI Snippet (Just paste this image into your block diagram).



          Block Diagram



          Sample Output:



          Front Panel







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 26 at 5:38









          Achuthaperumal RKAchuthaperumal RK

          799 bronze badges




          799 bronze badges







          • 1





            This is a good explanation of how to implement a calibration curve as a series of linear segments, but it's not necessary for the OP's question which just needs a simple linear function.

            – nekomatic
            Mar 26 at 9:28












          • 1





            This is a good explanation of how to implement a calibration curve as a series of linear segments, but it's not necessary for the OP's question which just needs a simple linear function.

            – nekomatic
            Mar 26 at 9:28







          1




          1





          This is a good explanation of how to implement a calibration curve as a series of linear segments, but it's not necessary for the OP's question which just needs a simple linear function.

          – nekomatic
          Mar 26 at 9:28





          This is a good explanation of how to implement a calibration curve as a series of linear segments, but it's not necessary for the OP's question which just needs a simple linear function.

          – nekomatic
          Mar 26 at 9:28

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55343526%2fhow-do-you-map-values-in-labview-is-there-a-best-way-or-convention%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

          SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

          은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현