Problems Math Expression using Labview

Hi all

I am trying to solve a mathematical expression with Labview. The expression, I am trying to solve is 4 ^ x + 7 x ^ 3 = 200.

Let's say 200 = y. The task is someone inserts a number of 'y' and Labview calculates 'x '.

The way I'm trying to achieve, is to slowly in 'x' and put it in the expression.

When 'y' is equal to the preset 'y' (defined by a digital control), everything stops and the digital indicator shows 'x '.

I tried a number of things, but I can't work properly, what am I doing wrong?

Kind regards

Roy (Netherlands)

Zero finder?

Here 2,790615

Tags: NI Software

Similar Questions

  • Transfer TDMS file cRIO 9076 PC locally using Labview code problem

    Dear all

    I use LabVIEW 2013 with cRIO 9076 for datalogging PDM.

    I try to transfer the logging queue (.tdms) cRIO to the computer via the LabVIEW FTP software. The transfer is OK but computer I can't open the file-68007 error.

    It's ok when I copy the cRIO on computer file ( ftp://192.168.2.102 and manually copy the file)

    How can I fix the ploblem and LabVIEW FTP allows us to trnasfer file.tdms?

    Thanks and greetings

    Luong.Tran

    This might be useful:

    http://forums.NI.com/T5/real-time-measurement-and/TDMS-files-corruption-when-using-FTP/m-p/2331550

  • Problems with migration from LabVIEW 2012 VBAI 2012.

    Hello.

    Someone had problems with the migration of the VBAI 2012, 2012 to labview?
    I'm filing this disadvantage when use migration in VBAI everything works fine, when I use LabVIEW with 'Vision Acquisition Express' for example, everything works as it should.
     
    The solution I've done has been to work with the control VBAI API and it worked perfectly, but I wonder, if a bug or a known error on this process.

    Thank you.

    Finally, I solved it by installing the "Vision Development Module 2012 SP1". With this update worked correctly migration.

  • How to view mdsplus data using labview

    I posted this question in the Council of Labview, but seems that nobody does it so far. I don't know what is the best place to ask this question. So I reposted here.  Thank you very much.

    I am a newbie to Labview. I'm writing a few vi to display and write data to Mdsplus.  I downloaded Mdsplus(labview) can discover Mdsplus functions, like mdsconnect, mdsput, ect, in vi to call a library function. But I have no ideal how to use it. I tried to use the Mdsconnect function to connect to a machine, but it still gives me an error like: Labview: an exception occurred in the external code that is called by a call library function node...  I was looking for help on the internet documents, but could not find anything useful. Could you please help me with this problem?  If you have examples of these vi, or teach me how it, it would be very useful. I'm using Labview 8 (windows). I would appreciate your help!  Looking forward for your reply.

    Oops,

    I attached properly in the previous post.

    Greg

  • How to program using Labview to an accelerometer

    Hello:

    I got an accelerometer which has digital I2C/SPI serial interface, so I bought a USB - I2C converter for data acquisition. I would like to know if I can use Labview to acquire data of com port and also program for the accelerometer to capture the data of the axis z. I have a box of white myDAQ NOR but SB. says that it is not an appropriate device to acquire before I2C/SPI signals. The datasheet of the accelerometer is in the accessory and the specification of the converter is this link: http://www.robot-electronics.co.uk/htm/usb_iss_tech.htm .

    I hope someone can solve the problem for me. It is best to use the software labview for me because most of my project work is based on that.

    Best regards

    The f

    Good and bad news.  You have an accelerometer that 'speaks' I2C or USB to I2C converter, so if you connect both of them, you can send 'orders' of your accelerometer easily of LabVIEW by using communication series live that's the good news.  The bad news is that it seems that you need to address your accelerometer using calls very low level, a work, I certainly don't want to face!  This crys on a 'pilot', a middle piece of equipment that does all the "hard work" to take a high level order ("Please tell me the acceleration") and he translates things your device includes (including the Setup program, records, calendar, packing and unpacking of the bits and bytes, etc.).

    Bob Schor

  • Deal with failure when using LabVIEW 2011 and DSC MODBUS communication

    I'm currently reading from operating records a PLC with MODBUS/TCP. I confirmed that the PLC will update the values and in response to a MODBUS communication correctly by using a third-party program called Modbus Poll. However, when I try to query the PLC using the LabVIEW shared variable engine, I am unable to read the values of the same addresses that I consult with Modbus Poll.

    My installation is simply to a PC directly connected to the controller via Ethernet without a router between the two. I'm using LabVIEW 2011 SP1 with the DSC module.

    I opened the Manager of distributed systems OR to display the State of all variables in the Modbus Library that I created, and I noticed that the ILO CommFail permanently the value 'true '. All other variables with a 'read' access mode signal "failure of process". I tried to restart the process and stop and start the local variable engine without success. I also restarted my computer several times to see if any services did not exist, but this does not appear to have solved the problem.

    Finally, I resorted to listening to communications on the network card I have the PLC connected via Ethernet using Wireshark and found that while Modbus Poll communicates with PLC, number of MODBUS and TCP packet is sent and received. However, when using only LabVIEW or the DSM OR communicate with the controller, there don't seem to be any communication on the network card.

    Something that may be interesting to note is that I could communicate with the PLC and to read values with the DSM just once, when I understood everything first what address I should be reading of. All of this has stopped working shortly after. Prior to this, 'CommFail' was not generally set to 'true' with my current setup. Thinking it was my firewall, I have since disabled my firewall, but this seems to have had no effect on the problem either.

    Any help on this would be appreciated.

    So, I thought about it. It turns out that the IP address of the server i/o MODBUS must be set to the address of the MODBUS slave, not the local computer. The address of the i/o MODBUS server is defined by the navigation in the Explorer window projects, expanding the variable engine shared library for MODBUS and right click on the server MODBUS (for example Modbus1) item and select Properties.

    In addition, the addresses seem to be shifted by + 1.

    Thanks for the tip so.

  • Go to the PHP website using Labview 8

    Hi people,

    I'm writing a vi LV8 to retrieve data from a Web site. The first site I've played with just had a text output so a simple:

    -OpenTCPConnection (for 'www.hpc.ncep.noaa.gov')

    -WriteTCP:

    -line 1: 'GET heat_index_MEAN/hitable_east.txt '.

    -line 2: "" Host: www.hpc.ncep.noaa.gov".

    -line 3:

    -ReadTCP

    It worked perfectly fine.

    But this isn't really the data I want. I want the data displayed on the Web site:

    http://forecast.weather.gov/MapClick.php?W0=t&W1=TD&W2=Hi&w3=sfcwind&w3u=1&W4=sky&W5=pop&W6=RH&W7=th... 96 & textField2 =-77.48167 & site = all & unit = 0 & dd = 0 & bw = 0

    But, when I try the same calls I get the error messages like:

    Query HTTP/1.0 400 Bad server: AkamaiGHost Mime-Version: 1.0 Content-Type: text/html Content-Length: 216 Expires: Sunday 12 August 2012 17:40:25 GMT Date: Sunday 12 August 2012 17:40:25 GMT connection: closeBad request

    Bad request

    Your browser has requested that this server could not understand.

    Reference #7.9f931160.1344793225.0

    I don't know enough about HTML or PHP to tell if I have a HTML or PHP problem; and what I have to understand to move forward. More precisely:

    -can you tell if it is a PHP or HTML problem in my code?

    -If Yes, which?

    -I can access a Web site (which uses PHP) LabVIEW?

    -what I have to learn more about PHP to proceed?

    -J' tried to send a command "OPTIONS" of HTML, but I received very similar eror messages (not a quesstion)

    -the site has an XML option that displays data as text/XML, but it also seems to use PHP, if I get the same errors with my code (not an issue)

    -any ideas on how to use labview to read data from this site?

    Thank you, in advance...


  • Strange behavior when using Labview to collect data from Tektronix oscilloscope tds8200

    I hit a wall in trying to understand this one. The problem I have is that my application will not start the oscilloscope when it should.

    I use an oscilloscope Tektronix TDS8200. My goal is to collect data from the oscilloscope using Labview waveform. First of all, my program initializes and configures the oscilloscope; This part of the program works very well.

    The second part of the program begins the acquisition of data with the function 'Tktds8k Start or Stop Aquisitions.vi', which is to press the button run on the scope. The function "tktds8k to Waveform.vi" is used and should ideally return data, which I connected to a waveform playback graph.

    When I run my program, the first part runs without a problem, but as soon as the program comes to the service get the waveform, the run button in the scope, which is green when running, turns off; the program then expires, and no data is collected.

    Here is where it gets weird. I went through the debugging to try to understand this point, and I put breakpoints on the beginning and get shape wave functions so that I could scroll through the last part of the program. The program continues with the departure function, and the button run in scope is green. The breakpoint for the function get the waveform is reached and when I press on continue, turns the Run button and turns it off then back on almost immediately. data are collected, the waveform graph appears and the program ends without error.

    I thought that the timetable could be the problem, so I did the program wait as long as five seconds between the functions of start and get the waveform and that did not work. I also tried to move the start function to before the configuration functions and remove start completely; no method worked.

    is there any ideas on why, the program works when I enabled breakpoints and isn't when breakpoints are disabled? I'm sure there is an easy solution, but I was not able to find a solution.

    I have attached a pdf that contains information about the functions of the Oscilloscope (tktds8k.pdf), and I have also attached my program.


  • Control CMD (command line interface) using Labview 2011.

    Hello

    I'm trying to control software that has an interface to command line using LabView 2011 but I have problems when reading the information.

    Is attached the VI I created so far, but it is not working properly.

    Problems so far:

    1 - if I use ReadLine(), it blocks showing no error and nothing else.

    2 - ReadToEnd () same problem as the previous line, the software hangs just at this stage.

    3 - if I compare the response of the "peek" in waiting for the - 1 indicating there is not more character, the hook of software as the previous steps.

    You have some clues as to what might be wrong or another way to 'control' the CMD to send messages, read and send messages, etc...

    Thank you very much for your help.

    I've done it before - I posted about this on the forum here: https://forums.ni.com/t5/LabVIEW/How-to-open-close-and-monitor-a-application-xyz-exe-using/m-p/32511...

    I did also wrap in a library at a given time and post it on the forums, but I couldn't find this particular post.

  • receiving sms using labview

    Hello

    You have an idea on how to receive SMS using labVIEW? I tried the AT commands using hyperterminal to receive the SMS, but I do not know how to continue on labVIEW to receive?

    The concept is same with the sending of SMS in labVIEW?

    Thank you

    Hi MiBL,

    If you could do this using AT commands, it is the same in LabVIEW so. Use the VISA, write the commands using the functions of writing to the modem and play the same thing using reading orders. You can even find examples for this if you search the forum properly.

    Kind regards
    Amine31

    (Bravo to give good answers, mark it as a Solution If your problem is resolved)

  • I have a problem in the use of 'DAQassistant '.

    Hello world. I am a new learner to labview and China. When I use labview 2014 and DAQassistant with advantech USB4750, it will display ´error-536805376· "¢ Euou ToErrorCluster.vi ' and 'Get a unique temporary file name.' I reinstalled times serval labview and win7, but it still has the same problem (initially, I work well., but finally it did not work sorry for my english.and happy Chinese new year to all.

    a version of this tool also have problem then try using a different version of the

  • help the guitar hero automated using labview

    Hi, Im working on my final project for a class e and Im making a guitar hero automated using labVIEW and vision builder. I already have all the buttons and the strum bar, but I need help with the whammy bar. My problem is that it should only work on the notes which take more time with a single click, I think I should add some time delay (or something like that) so if the camera sees the note more times the amount of time its will send a signal to the solenoid to continue to press the whammy in intermittent form bar (I think I need a square to wave this) part).

    I'd really appreciate if someone can help me or show me an example implementation of the part.

    Here is a video of a similar project without the whammy bar

    Edit: Im using a NOR-cDAQ 9472 module for output on a digital OR cDAQ 9171 chasis USB

    Thank you

    Javier Morales

    Dear Javier,

    It sounds like a cool project work.

    Why not try wiring of the output of the shared in a shift register variable to retain the previous values and compare the old with the new value using a door and.  You can connect to a wait function in your loop and wire abour 100ms, normal human reaction time, while is the button held for two cycles this triggers your whammy bar.

    I hope this helps.

    Kind regards

  • Programming computer laptop Wifi using Labview

    Hi dear all, can someone guide me how can I program my laptop computer Wifi module to send and receive data through Labview programming. What tools or drivers should I me take his Express or other screws are visible in Labview. If possible, some codes an example or link to that knowledge base. This will help me understand the concepts of programming Wifi. Thanks Zdzislaw qureshi

    Hi dear Dennis Knutson,

    I tried screws from TCP/IP and to understand. But how can we make our PC Access point using Labview? Are there any specific screw init or some additional toolkit required to do this. Actually I want to PC to become the hot spot to be connected. My app will then scan him in serach and then sign in to do some data send and receive actions. You have little help for me in Labview.

    For the wifi connection, I need to use the method of connectivity to Microsoft. How can I do this by Labview. I understood how to put IP LAN to detect in Labview only once I'm connected to the other PC via LAN wireless and wireless.

    Thank you & best regards

    Zdzislaw qureshi

  • How to create a strictly typed control refnum using LabVIEW scripts

    I want to use LabVIEW to create a strictly typed refnum control that is bound to my custom control (a defined cluster), but I'm not familiar with scripts and can't see how to do it.

    If I create a new object of VI, with Refnum of control as the Style, how can I give my custom class object VI control terminal? When I try to use a reference to my control.ctl file customized (using the Open VI reference) I get an error: 'error 1057 occurred... ". Type mismatch: object cannot be cast to the specified type. »

    Alternatively, if I create a new Refnum of control as above, using a standard Cluster as the object of VI class, how I can convert this refnum control to a strictly typed refnum, which is related to my custom cluster control type?

    Thanks in advance for any advice,

    I tried, and as usual, things were slightly different.  The big problem is that a constant control reference becomes a node, not a constant, so cannot be converted to a control.  The good news is that you simply move to the front of the new control, as you would in the dev environment.  Here is the raw code (always needs cleaning to close the refs and add save of the new control, and more, you don't need to show the FP control if you do not want).

  • Complex graphics on Excel using Labview

    Hi all

    1. I'm trying to draw some graphs complicated some csv data file. I was able to do this in excel by using graphical wizard. However, I want to automate this process using Labview. I'm stuck trying to plot a graph with primary and secondary excel-axis.I join the project file and the relevant Vi. I also enclose a single sheet, which shows the final version of the excel chart.

    2. I also have problems with formatting the chart to make it similar to that obtained from excel. More precisely

    (a) how to place the legend at the bottom of the screen

    (b) Furthermore, how to turn the values on the x-axis by 90 degrees and also display all of the discrete values rather than each 4th data 3rd or every point.

    VI - MOS_FUT_Display1_Attempt4.vi

    data in CSV - MOS_Scores_Generic_Overall_27Oct09.csv file

    original excel with reference output formatting - MOS_Scores_Generic_Overall_27Oct09.xls

    It is notnecessary for me to use excel for my results, if I can use other functions or vi to get the desired results, I'm Ok with him.

    Thanks a lot for your help.

    Vincent

    I don't know if this is the way you need to get your result, but here's a solution.

Maybe you are looking for

  • CD/DVD drive disappeared on Satellite Pro U

    Hello I can't get my dvd player or windows media player to work.When I put a cd or dvd in the laptop, nothing happens.When I opened the window of the computer it does not show the dvd player at all.I went to the toshiba drive, the parameters, the par

  • Connected by USB PS 7510: access to the memory card?

    For the past year, I had my PS 7510 connected wireless to my home LAN. The memory card appears on my computer (Mac OS X) in my list of devices, and I could access the images that I had scanned it. Changes of houshold allowed me to change my setup and

  • What are ALL the steps to make your pc faster

    What are ALL the steps to make your pc faster?  Mine is Windows XP with IE8 browser.

  • Audiobooks from Netlibrary will no longer play

    In the past, I managed to download and play 2 audio books from the media center of Netlibrary my clip. Yesterday, I tried to download another book, and he won't play at all. When I select my music and press Play, it scrolls all chapter numbers, but i

  • Yellow tint on the second monitor

    I am running Windows Vista 64-bit for my Toshiba laptop. When I connect via VGA to a secondary monitor (TV Widescreen), sometimes the colors are good, but most of the time, it has a yellow tint to it. Using the same cable, I connected a different Vis