Derivative problem

Hello, I'm getting data in Excel in table, then I use block 'sim arbitrary signal' to define a dt I need and to trace the signal (it is the voltage signal). Then I need to get a 1st derivative of this signal. and here I'm getting cause problems after the use of derivatives of (time domain GIS pallete) my drift does not seem appropriate. Is there someone who could help me? You can see the attachments to some piece of my chart of drift of Signal voltage and VI, graphic of the voltage Signal


Tags: NI Software

Similar Questions

  • Poweredge840 non parte [GRO]

    PowerEdge 840 (2S3Kj2J) - Win server 2008

    He e questa mattina if e SC Server do non vuole sapere di find a disco di d (solo da DVD, not if trova niente da try a riparare con).

    GROWTH che he derivi problema da questo message:

    1 primary IDE drive not found

    If Può fare qualcosa?

    Grazie

    Salve,

    Provisional ad entrare nella configurazione della controller e raid (CTRL + R) FOREIGN rates-> IMPORT volume e che sul in stato failed.

    Hard disk ha perso his configurazione, causa could be molteplice, do it danneggiamento fisico del vostro hard drive

    Saluti,

  • derived clock problem?

    I am tring to derive a clock to 25 MHz using an NI PXI-7842R and labview project will not allow exact clock

    But when I try to do the same thing for a PXI-7830R target, I'm successful.

    What is going on?

    I choose a base of 40 MHz clock

    for 25 MHz, the multiplier is 5 and the divisor is 8

    When I right click on the clock of new derivatives, I get only the possibility to enter a new frequency of the clock.

    Why doesn't the tool let me simply specify the multiplier and divisor?

    I'm using Labview version 2010

    That should work just fine.  The structure of the case will add some overhead to the total runtime of the circuit, but at 50 MHz, these costs should be minimal and you should not encounter many problems of timing.

  • Tecra R840-S8450 - power problems - help with Blink Codes

    Looking for help, thinking on the right track, but want to confirm and get things fixed.

    Have a Tecra R840-S8450 that is having power problems. When you try to start it, the orange plug light flashes a code. This code is 01001010 which I derived shortlong short short long short long short flashes of orange electric light.

    It is great progress, assuming that I have translated as right to 52 h, which is equivalent to 'EVER5V voltage is under or equal to 4.5V when the computer is '.
    Start ". However it don't tell me what is wrong so that I can try to do something about it.

    Would be grateful for the help, thanks,

    David

    Of course quite here, is that no one from Toshiba has the manual to find codes?

    Posted by dgwbdavid
    Looking for help, thinking on the right track, but want to confirm and get things fixed.

    Have a Tecra R840-S8450 that is having power problems. When you try to start it, the orange plug light flashes a code. This code is 01001010 which I derived shortlong short short long short long short flashes of orange electric light.

    It is great progress, assuming that I have translated as right to 52 h, which is equivalent to 'EVER5V voltage is under or equal to 4.5V when the computer is '.
    Start ". However it don't tell me what is wrong so that I can try to do something about it.

    Would be grateful for the help, thanks,

    David

  • problem backup Time capsule

    It has been 29 days since the last backup from time machine of my imac 27 "and the mac pro to my time capsule.

    When I select the disk to use for the backup, after the display of connection to the disk 5 or 10 minutes later a messeage "wa there a problem connecting to the server airport time capsule."

    Did you turn off all of the network and restart everything in the right order... modem to transport CANADA for computer... with 2 min between them?

    If you have already tried you must reset the TC factory and redo the installation... it sometimes get lost.

    Start from a factory reset. No files are lost on the drive hard in doing so.

    Universal factory reset

    Turning off the TC... That is, remove the power supply cord or the power at the wall outlet, wait 10 seconds... Hold the reset button... be nice... Turn on always even now in reset... and keep holding in for another 10 seconds. You may need assistance because it is difficult to hold in reset and power on. It will show the success quickly flashing led front. Release reset... and wait a few minutes for the TC to reset and return with the factory settings. If the front LED flashes quickly you missed and simply try again. The reset is quite fragile in these... Press the key while it is just click away and not more... I've seen people bend lever or even break. I use a toothpick as a tool.

    NB. None of your files on the hard drive of the TC are removed... This simply clears the settings of the router of the TC.

    The installer the TC.

    And then redo the configuration of the computer with the Mavericks - Yosemite - ElCapo. (MYELCAP)

    1. the use of very short names... NO APPLE RECOMMENDED names. Without the space and pure alphanumeric characters.

    for example TCgen5 for the base station and the name of the TCwifi wireless.

    If the problem is using wireless TC24ghz and TC5ghz with fixed channels as it also seems to help stop the nonsense. But it can be tried in the second round. IE, plan on a first and second series of changes to fix this... If all goes well... I note other steps can you tour2.

    2. use all passwords also consistent with 1. but maybe a little longer. IE 8 and 20 characters of mixed cases and numbers... no alphanumeric non-caracteres.

    3. If the TC is router, you can ignore this point. It is only a problem when the TC is bridged.

    If ensure that the TC is always the same IP address... you will need to do this on the main router using a dhcp reservation... or a bit more complex setup by using the static IP address in the TC. But it's important for deriving from intellectual property in all directions when MYELCAP do not remember his name for 5 min after a reboot done for poor network management.

    4. check that your share on the computer name does not change... Make sure that it is also in line with the above... short without space and pure alphanumeric... but this change will mess up your TM backup... so be prepared to make a new, full backup. Sorry... keep this one for the second round, if you want to avoid a new backup.

    5 attach the TC disc into the computer manually.

    In Finder, go, connect to the server in the main menu,

    Type in SMB://192.168.0.254 (or whatever ip of TC is that you made static. It's a default router 10.0.1.1 and I encourage people to stick with it unless you know what you're doing).

    You can use the name... SMB://TCgen5.local where you replace TCgen5 with your name of TC... local is the default domain of the TC and does not change.

    However the names are not so easy as... the IP address nor reliable. They are not at least not in Yosemite. The field can also be a problem if you are not clogged or wireless directly to the Treasury Board.

    6. ensure that IPv6 is set to link-local only in the computer. For example wireless open network, wireless and Advanced preferences / TCP/IP... and the difficulty of IPv6. link-local only. Do the same for the ethernet if you use it.

    It is a lot more jiggery pokery, you can try, but the above is a good start... If you still find not reliable... don't be surprised.

    You may need to do more work on the computer itself. for example, to reset the NVRAM/PRAM/SMC... helped some people. A clean installation of the operating system is also useful if you update installed.

    https://discussions.Apple.com/message/29202159?ac_cid=ha123456#29202159

    Let us know how you go.

    No luck there which modem you have... and what OS is on your computer.

    Most any other details on your network that could relate to the issue... for example... are you using wireless or ethernet... other computers use without problems. Do you have an update or change anything recently?

  • Problem with the use of MID/LEFT functions

    I have a problem, see the point of these functions if (as seems to be the case) they will not allow another cell to be referenced.

    I want to do a SUMIFS with match being the first four characters of another cell data. I can't find any way to do it without manually copying the first four characters in another cell.

    If I use only LEFT like this:

    LEFT ('ABCD', 3) to derive 'ABC '.

    so why would just enter ABC in the first place? But that's what show examples and any attempt to do what I really want

    that is LEFT (F19: 3)

    causes a syntax error.

    I believe that I'm missing something really stupid, but I'm darn if I can see it.

    Hi jon,

    LEFT (F19: 3)

    causes a syntax error.

    Try a comma in place of the colon

    = LEFT(B2,3)

    It's your area used for the decimal point. If you use the comma for decimals, use a semicolon in the formula, = LEFT(B2;3)

    Kind regards

    Ian.

  • Problems of compatibility with Time Capsule

    I have a Time Capsule, which seems to be only compatible with Snow Leopard.  My software is OS X 10.9.5 (13F1603). Live in glue, I would back up my MacBook Pro to the Time Capsule as the internet is slow, but it seems that if they are not compatible with each other.  Any ideas as to what I can do?

    A time Capsule will work with any Mac operating system.

    You are right that the BONES later has more good problems.

    Here's my standard set of instructions to work things out.

    Start from a factory reset. No files are lost on the drive hard in doing so.

    Universal factory reset

    Turning off the TC... That is, remove the power supply cord or the power at the wall outlet, wait 10 seconds... Hold the reset button... be nice... Turn on always even now in reset... and keep holding in for another 10 seconds. You may need assistance because it is difficult to hold in reset and power on. It will show the success quickly flashing led front. Release reset... and wait a few minutes for the TC to reset and return with the factory settings. If the front LED flashes quickly you missed and simply try again. The reset is quite fragile in these... Press the key while it is just click away and not more... I've seen people bend lever or even break. I use a toothpick as a tool.

    NB. None of your files on the hard drive of the TC are removed... This simply clears the settings of the router of the TC.

    The installer the TC.

    And then redo the configuration of the computer with the Mavericks - Yosemite - ElCapo. (MYELCAP)

    1. the use of very short names... NO APPLE RECOMMENDED names. Without the space and pure alphanumeric characters.

    for example TCgen5 for the base station and the name of the TCwifi wireless.

    If the problem is using wireless TC24ghz and TC5ghz with fixed channels as it also seems to help stop the nonsense. But it can be tried in the second round. IE, plan on a first and second series of changes to fix this... If all goes well... I note other steps can you tour2.

    2. use all passwords also consistent with 1. but maybe a little longer. IE 8 and 20 characters of mixed cases and numbers... no alphanumeric non-caracteres.

    3. If the TC is router, you can ignore this point. It is only a problem when the TC is bridged.

    If ensure that the TC is always the same IP address... you will need to do this on the main router using a dhcp reservation... or a bit more complex setup by using the static IP address in the TC. But it's important for deriving from intellectual property in all directions when MYELCAP do not remember his name for 5 min after a reboot done for poor network management.

    4. check that your share on the computer name does not change... Make sure that it is also in line with the above... short without space and pure alphanumeric... but this change will mess up your TM backup... so be prepared to make a new, full backup. Sorry... keep this one for the second round, if you want to avoid a new backup.

    5 attach the TC disc into the computer manually.

    In Finder, go, connect to the server in the main menu,

    Type in SMB://192.168.0.254 (or whatever ip of TC is that you made static. It's a default router 10.0.1.1 and I encourage people to stick with it unless you know what you're doing).

    You can use the name... SMB://TCgen5.local where you replace TCgen5 with your name of TC... local is the default domain of the TC and does not change.

    However the names are not so easy as... the IP address nor reliable. They are not at least not in Yosemite. The field can also be a problem if you are not clogged or wireless directly to the Treasury Board.

    6. ensure that IPv6 is set to link-local only in the computer. For example wireless open network, wireless and Advanced preferences / TCP/IP... and the difficulty of IPv6. link-local only. Do the same for the ethernet if you use it.

    It is a lot more jiggery pokery, you can try, but the above is a good start... If you still find not reliable... don't be surprised.

  • Time Capsule router problems

    Recently, my wireless network has had problems.  He became more and more slow.  My devices connect without problems and the signal is full but it takes significantly more time to do something about it.  My iMac doesn't seem to have problems but are my other devices (phone, Tablet, PS3, PS4).  Netflix is essentially very bad because it keeps buffering every 30 seconds and I have to run PS4 upgrades must run all night because they take 8 + hours to download.  I had questions about 5-6 months, which I was able to correct by closing all the way down, 20 minute wait and then turn the modem, the router, and then the computer.  I tried again twice, but he don't seem to have any effect.

    My modem is a Motorola Surfboard SB6141.

    My router is a time capsule, model A1409.

    iMac is a model 27 inch late 2009 10.10.5 running.

    The capsule is connected directly to the modem via Ethernet.  All other devices are connected to the wireless network.  Any advice would be greatly appreciated.

    Thank you!

    Something directly connect to the modem by ethernet. And do a test to see if download and shipping limits are together and working properly.

    You must turn off the modem at each change of customer... 5 minutes is probably enough, but this can take up to 15 minutes.

    If you have good speed then when you put the back... TC test via ethernet to TB... once again, you should get almost the same download and upload speeds as the test to the direct modem.

    Now, test your wireless... you say that the iMac has no problem... so please give us the numbers... It is difficult to work from vague descriptions...

    Then, I need to know the connection speeds and all possible information. Run diagnostics on the computer wireless.

    You should also do a factory reset full of the TC and reconfigure it as follows.

    Start from a factory reset. No files are lost on the drive hard in doing so.

    Universal factory reset

    Turning off the TC... That is, remove the power supply cord or the power at the wall outlet, wait 10 seconds... Hold the reset button... be nice... Turn on always even now in reset... and keep holding in for another 10 seconds. You may need assistance because it is difficult to hold in reset and power on. It will show the success quickly flashing led front. Release reset... and wait a few minutes for the TC to reset and return with the factory settings. If the front LED flashes quickly you missed and simply try again. The reset is quite fragile in these... Press the key while it is just click away and not more... I've seen people bend lever or even break. I use a toothpick as a tool.

    NB. None of your files on the hard drive of the TC are removed... This simply clears the settings of the router of the TC.

    The installer the TC.

    And then redo the configuration of the computer with the Mavericks - Yosemite - ElCapo. (MYELCAP)

    1. the use of very short names... NO APPLE RECOMMENDED names. Without the space and pure alphanumeric characters.

    for example TCgen5 for the base station and the name of the TCwifi wireless.

    If the problem is using wireless TC24ghz and TC5ghz with fixed channels as it also seems to help stop the nonsense. But it can be tried in the second round. IE, plan on a first and second series of changes to fix this... If all goes well... I note other steps can you tour2.

    2. use all passwords also consistent with 1. but maybe a little longer. IE 8 and 20 characters of mixed cases and numbers... no alphanumeric non-caracteres.

    3. If the TC is router, you can ignore this point. It is only a problem when the TC is bridged.

    If ensure that the TC is always the same IP address... you will need to do this on the main router using a dhcp reservation... or a bit more complex setup by using the static IP address in the TC. But it's important for deriving from intellectual property in all directions when MYELCAP do not remember his name for 5 min after a reboot done for poor network management.

    4. check that your share on the computer name does not change... Make sure that it is also in line with the above... short without space and pure alphanumeric... but this change will mess up your TM backup... so be prepared to make a new, full backup. Sorry... keep this one for the second round, if you want to avoid a new backup.

    5 attach the TC disc into the computer manually.

    In Finder, go, connect to the server in the main menu,

    Type in SMB://192.168.0.254 (or whatever ip of TC is that you made static. It's a default router 10.0.1.1 and I encourage people to stick with it unless you know what you're doing).

    You can use the name... SMB://TCgen5.local where you replace TCgen5 with your name of TC... local is the default domain of the TC and does not change.

    However the names are not so easy as... the IP address nor reliable. They are not at least not in Yosemite. The field can also be a problem if you are not clogged or wireless directly to the Treasury Board.

    6. ensure that IPv6 is set to link-local only in the computer. For example wireless open network, wireless and Advanced preferences / TCP/IP... and the difficulty of IPv6. link-local only. Do the same for the ethernet if you use it.

    It is a lot more jiggery pokery, you can try, but the above is a good start... If you still find not reliable... don't be surprised.

    You may need to do more work on the computer itself. for example, to reset the NVRAM/PRAM/SMC... helped some people. A clean installation of the operating system is also useful if you update installed.

  • Find a tension problem

    If someone could help, I would be very happy.

    I try to find the time needed for the first voltage glitch ('clutch amps") since when the"clutch power"falls.

    Also the voltage at the point of the glitch of the amps 'clutch '.  All the world run into this kind of problem before?

    Thanks in advance for any help!

    I am attaching the file and an image of what I seek to do...

    Thank you!!

    SDuff

    SDuf Hello,

    Please see below the small script providing a suggestion how to fix this problem:

    '-------------------------------------------------------------------------------
    '
    '-------------------------------------------------------------------------------
    Option Explicit ' force explicit declaration of all variables in a script.

    Call LogFileDel()
    Call the Main()
    '-------------------------------------------------------------------------------
    '
    '-------------------------------------------------------------------------------
    Main() function
    Dim sgDataFile : sgDataFile = CurrentScriptPath & "Clutch_do_sn001_02-19-2016_11-05-43-505.tdm".
    Dim oGroupR, oChnSignal, oChnSmooth, oChn1Der
    Dim FreqLimit, FilterDegree, oaEvents
    '----------------------------------------------------------
    '
    '----------------------------------------------------------
    Call Data.Root.Clear)
    Call DataFileLoad (sgDataFile, "TOC", "Load")
    '----------------------------------------------------------
    '
    '----------------------------------------------------------
    Set oGroupR = Data.Root.ChannelGroups.Add ("Results")
    Set oChnSignal = Data.GetChannel ("clutch (AMPS)" ")
    Set oChnSmooth = oGroupR.Channels.Add (oChnSignal.Name & "_Smooth", DataTypeChnFloat64)
    Set oChn1Der = oGroupR.Channels.Add (oChnSignal.Name & "First_Der", DataTypeChnFloat64)

    '----------------------------------------------------------
    "Pre-treat signal clucth (AMPS)
    '----------------------------------------------------------
    FreqLimit = 100.
    FilterDegree = 4
    Call ChnFiltCalc ("", oChnSignal, oChnSmooth, "IIR", "Bessel", "Lowpass", FilterDegree, FreqLimit, 0, 0, 1,2, 25, "Hamming" 1, 1 ")
    Call ChnSmooth(oChnSignal,oChnSmooth,50,"maxNumber")
    Call ChnSmooth(oChnSmooth,oChnSmooth,50,"maxNumber")
    ' compute the first derivative to then find the area
    ' where the amps to report decreases in value
    Call ChnDeriveCalc("",oChnSmooth,oChn1Der)
    "drift of pre-treat to better define the area that we are looking for".
    Call ChnFiltCalc ("", oChn1Der, oChn1Der, "IIR", "Bessel", "Lowpass", FilterDegree, FreqLimit, 0, 0, 1,2, 25, "Hamming" 1, 1 ")
    Call ChnSmooth(oChn1Der,oChn1Der,50,"maxNumber")
    Call ChnSmooth(oChn1Der,oChn1Der,50,"maxNumber")
    "calculate the area where the first derivative is negative."
    oaEvents = ChnEventDetectionWindow(,oChn1Der,,-0.05,0.05,0.05)
    LogFileWrite ("interval Indices: " & & oaEvents (0,1)) oaEvents (0,0) & vbTab
    LogFileWrite ("time values Intervall:" & & str (oaEvents (0.3), "autoadj") "") Str (oaEvents (0.2), "autoadj") & vbTab
    End FUnction

  • Clocks on board and derivatives of FPGA

    Hello

    I use a PCIe FPGA 7852R card to collect data at 200 kHz of channel 5. I was pretty confident that my collection frequency was correct, because my program was based on a derived clock of 40 MHz I had chosen to use a derived clock because the on-board clock is running at 40,02 MHz (instead of the 40 MHz specified for some unknown reason I ignored).

    However, today one of the members of the LabVIEW support team told me that the FPGA clock rate may change during the compilation and optimization (constraints). He stressed that if the FPGA can run that fast, then it displays an error (as you might expect). He said also that in some cases, the on-board clock can run faster, but in this case no error will be displayed. I saw no errors in the past (which means that the system had no problem with that fast running), however, I'm not sure if during one of my compilations my derived clock could have run faster than 40 MHz. If it can happen? This will affect the time of all of my previously acquired data. Unfortunately, I have not saved any of my journal compilation of .

    Thank you very much in advance.

    Kind regards

    Varun

    Hi VarunSreenivasan,

    I think that our support has meant that compile logs will show you some pieces of logic could operate at higher speeds. During the process of compilation, the compiler will determine the clock frequency more rapid that can be used for your logic and to ensure that the configured clock frequency is less than or equal to this value. If you have decided to try to run your code to 200 MHz and logic cannot run this fast, then you get an error. If you have decided to run your logic to 200 kHz and it is possible to run faster compilation logs will show you then the max frequency that will work, but the logic still run to 200 kHz. The code should run no faster than the frequency you specified.

  • Security system CLD Exam problem solution? Crazy?

    I just started working on the problems of CLD example.  I use Labview for about 10 years - so everything I do is old school.

    I am writing this solution for the example of security system.  There are arrays of switches to represent the alarm, derivation and inviolable

    signals - and then a loop to go through each 'zone' logically determine the State (normal, alarm, circumvent or modify).  To make the

    'State of the area' indicator an indicator is easily scalable, I have the loop of the "area of" change the color of a Boolean indicator LED.  Then I take a

    her picture and display a table of pix.

    Question: It works fine, good answer-, but to happen?  Is there a better way? I have attached the diagram...

    BADVI wrote:

    But somehow, I couldn't have the property/reference structure right key to change the colors of the individual indicators, once they are in the table - which is at the origin of the stupid 'picture of the images' work around.  Apparently, you can reference individual cluster elements to change their colours (but not individual array elements?). It was certainly not an obligation but a reflection of 'fast' go around because I couldn't ref elements the individual LED to the table.

    Fix.  Is the only thing that can vary between the elements in an array useful.  Other elements such as color, display format, visibility, etc are not.  So a Boolean array can have each element a true or false.  But all items must share the same color property.

  • Apparent problem with OpenG Get Data Name_ogtk.vi

    The data Name_ogtk.vi Get OpenG is a function that takes a data Structure and returns the name of this structure if the Data Structure has a name.

    I use it in my Configure.vi. Configure.VI takes several data structures and saves / loads to an INI file. The name of the section in the INI file is the same as the name of the Data Structure. When loading, Configure.vi takes the name of the data structure to load and locate the Section in the INI file with the same name and then uses the items listed in the INI section to load the Data Structure with the data values.

    In my case, I have 3 sections. Two of the sections, 1 Servo and Servo 2 derive from the same Type definition. I am trying to load 3 of the attached INI file data Structure. The Config.ini in the system file has been generated by the backup function Configure.vi. I'm passing in the routine of the load, 3 Data Structures, each with unique names. I have an explicit call to get the data for Servo 1 Name.vi and 2 Servo. But the probes on the output of the Name.vi of data values get two return to the same 'Servo 1' same string if sensors on the Structure of data entries that clearly indicate them the unique names of the "Servo 1" and "Servo 2" respectively.

    It seems that the 2nd Get data name returns the name of the Data Structure 1 by mistake. If anyone can check this?

    Does anyone know how to fix Get Data Name.vi so that it returns the appropriate data Structure names?

    Thank you.

    I was able to reproduce it and I show here as an oddity to force entry to the variant on the primitive flat string Variant.

    Basically, if you have more than one cluster with content command to match the type and order wired directly to this function, it returns the flattened string which is first to each call.  The wires must be wired without before converting to alternative, if you have points of constraint.

    This only happens if you feed directly the input varying both and get the stress points.  If you are using a variant is not the case.

    I found that this occurs if the cluster is of type defined, and it does not occur for constants.  I didn't try other controls.  I'll be honest, I'm usually used to constrain to the Variant.  I'll be more careful in the future!

    ----

    so convert to first variant will solve your problem.  In addition, if you leave the entry of the section name of the variant config openG write screw unwired, he will take the name as it is the research of the control, you did, so you need not the name of data Get there at all.

    An excerpt from 2009.  as - is equal to true.  The bunches are each a dbl and a bool, but each FP different controls.

  • PtByPt; Question of derivatives

    Hello

    I'm working on a program that read data from serial port (FS = 1000) permanently. I chose to read the data in blocks of 512 loop producer and send it via FIFO to the consumption loop. On the consumption loop, I want to filter and get the signal drift.  I wrote a simple program to illustrate my problem, the program simply produce a sine wave of 128 point per cycle and this wave to filter with a bandpass filter (assuming a 1280 Hz FS). Which works very well! What I don't understand, it is the derived part and meaning of dt. I wait, it should be 1/1280 but this givs an answear wronge. I saw a solution in which they take the difference between Xn - 1 and X 0 of the signal block and insert it into dt if I read the description in the derivtive sense of dt is sampling interval and it should not be less than or equal to zero. So what did I lack?

    ahmalk71 wrote: I started with your suggestion, what I get is a derivative that is 63.8 times

    If you go through the math, that's right.

    d (sin (2 * pi * x 128) /dt = 2 * pi * 128 * cos(2*pi*128x) /dt.)  With dt = 1/1280, that you end up with 20 * pi * cos(2*pi*128x).  20 * pi = ~63.8

  • The transfer of the PID block function does not show the derivator.

    Hello

    I try to use the vi of PID, but I when I try the box by itself, it does not behave as a 'classic' PID should behave. The main problem is that I can't see the derivator. In the attached vi, I compare the transfer function of the PID vi with the function of transfer of a PID built by me. My version shows should have all what a PID: section integral (with an amplitude decreasing and phase-90), Center (with a constant amplitude and phase 0) and area derived (with the magnitude and the phase of + 90).

    The PID vi shows that the part.

    You can also select a progressive input signal and see the result directly. If you choose a large enough time to bypass (100 times greater than the time to the Integrator), and you look closely at the first part of the output, you will see the choice because of the derivator in my version, but not in the version PID.vi.

    Anyone know what I am doing wrong?

    Kind regards

    Pablo Estevez

    Nathand dear,

    Thanks for your reply, I tried the change and you are right. This shows that's not a PID standard, since this means (and in fact I can see it now by checking within the vi) is not using the derivative of the error, but the derivative of the process variable. I know that it is sometimes used to prevent the effect of fast changing set points, but it's a shame that they don't how about it in the help, and that's not a selectable feature. Do you know if there is a way to edit these pre-packaged vi?

    Another question, about the style of labview. I've included the footage just for the terms of the Group and to make the code more readable separate the integrator of the derivator and not having a knot of tangled signals. Especially when I run the cleaning diagram, it becomes very tangled. I searched for another way to do this (container boxes, groups). Would be nice if you could suggest me something that I can do for her.

    Thanks again,

    Pablo

  • Synchronization of signals on my SBRIO problem

    Hi all

    I need some advice on how to complete my project.

    I need to send a 32 bits of data to my unit test with the following parameters. CLK + FS + and +.

    The clock runs at 4 MHZ. The FS + sends a bit length 33 of high for the treatment of the data signal, and in this context, I need to send my 32-bit data.

    What I did is I created 3 loops as shown in my diagram.

    1. the first loop is a loop timed to generate my clock pulses. I run at 8 MHZ with the low and high signals in loop rotation.

    2. the second loop is for my frame sync signal using the rising edge of the clock over an external trigger (SEND DATA) to start the sequence. It has two red WAITING to the 0 graduation and 330 ticks (by tick is 25ns).

    I have compiled up to this version of the code and run it with all the problems. I was able to generate the signal FS + 2ns after the clock rises and is to have cycles of clock exactly 33 in length.

    3. the third loop which is I'll have trouble at this time is designed to loop data. I also used the pulse of the clock and the external data to start the sequence. I used one signal to WAITING to delay the start of the data by 1 clock cycle and use a loop for send data from 32-bit to 250ns (10 ticks) per line.

    The problem is that I do not get the result I want. The departure of the bits is always erratic and not 1 clock cycle of delay that I hoped. Also the first bit is much too small for the 250ns.

    Can someone tell me where I'm wrong? Is there another way to address the issue?

    Your help will be greatly appreciated.

    As a short response, I would recommend combining the three sets of loops in a single state machine.  All three loops are intended to be based on the field of derivative 8 MHz clock.

    As a longer answer and to explain the behavior you see... the time of the present code is assigned by the data through the areas of the clock.  The details are in this help message LabVIEW FPGA: implementation of multiple clock domains with the overcoming of the areas of the clock (using a tunnel in the field to clock 8 MHz timed loop to the domain block diagram clock 40 MHz), LabVIEW is obliged to implement a hand shaking algorithm to maintain the integrity of the data.  This shaky writing consumes FPGA (logic cells) tissue and takes 25ns several clock cycles to run, as well as creates unwanted delays.  In addition, the third loop cannot guarantee that code data will trigger off the same synchronization signal as the second for loop because of the handshake that occurs for the data to pass through the loops of 8 MHz.

    I would recommend that base you all of the communication out of a single loop timed in a configuration called a state machine.  Essentially, timed with a looping structure business inside, where each picture of the structure of the case is a different State.  Breast of a timed loop state machine, does not have the 'wait' function, so the delays must be implemented with a 'status quo' State which is repeated N number of times to match the time required.  The following link leads to a state machine similar to the SPI communication that would be a good example for the implementation of this communication: Example of SPI LabVIEW FPGA.

    The example above implemented the following communication scheme, which seems pretty close to what you implement:

    This code is a little more complicated than what may be absolutely necessary to your application, but it is an excellent example of a scalable & flexible of the notion of core implementation (this code can easily be migrated to new hardware targets or add multiple replicated or modified communication to the same architecture protocols.)

    See you soon,.

Maybe you are looking for

  • PhotoImpression 5

    I get the message "Photoimpression has stopped working. A problem caused the blocking of the program works correctly. Windows will close the program and notify you if a solution is available. "It works very well and no solution now is coming. I have

  • Re: Satellite A200 doesn't turn on

    Hello I have a Satellite A200-23V. All of a sudden, he lost his power while using it. Then it turns on again. I already removed the battery - only the power supply is connected, but still it won't turn. I don't know what happened. Someone at - he had

  • Location of the HARD drive on satellite A30

    Can someone tell me please how to access the HARD drive on a laptop satellite A30? I searched everywhere and can not work on how to remove the HARD drive.

  • Receive the error message"Witcher2.EXE - point of entry not found «when you try to play The Witcher 2 Enhanced Edition»

    Original title: when I try to start The Witcher Enhanced Edition 2 since the Launcher I get the error message: witcher2. EXE - not found entry point The procedure entry point? setfilesystem@system@fmod@@QAG?aw4fmod_result@@P6G?aw43@pbdhpaipapax2@zp6g

  • 10% battery standby time of cell?

    Hello. I have a ThinkPad slate tablet (model 1838 - 2DG with an Ericsson F5521gw inside, no SIM card installed). Battery only lasts six hours on Wi - Fi (without CPU intensive tasks running on it, middle of the display brightness). There is not much