Jump to content
Sign in to follow this  
shashank

Creating lookup table

Recommended Posts

Dear people,

I want to make up a lokup table for a sigmoid waveform, to which i can enter the x values and the output i get is the y value which i can give as an input to a transfer function. can anyone please help me with this. i am new to labview and trying to implement a model, i m almost done but stuck up with this problem. if anyone can please help will be of great help.

Share this post


Link to post
Share on other sites

QUOTE(shashank @ Sep 5 2007, 04:31 AM)

Two options have just appeared on radar.

If you're using LV 8.2...

Go to ni.com/labs and click on the Generic Container download.

If you're using LV 8.5...

try this out: http://forums.lavag.org/Map-implemented-with-classes-for-85-t8914.html' target="_blank">http://forums.lavag.org/Map-implemented-wi...r-85-t8914.html

Otherwise, there are two options that you have historically in LV:

1) Create two parallel arrays and add and remove from both simultaneously. You can use Search 1D Array to find the value in the X array and then return the complimentary value in the Y array.

2) You can use the attributes of a Variant; flatten your X to a string and use that as the key to store attributes whose value is y. Later you can retrieve the values by looking up attributes on the variant.

Share this post


Link to post
Share on other sites

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.

Sign in to follow this  

×
×
  • Create New...

Important Information

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