Jump to content

rscott9399

Members
  • Posts

    46
  • Joined

  • Last visited

Posts posted by rscott9399

  1. Hey all, trying to run the VI analyzer on a big project. 

     

    For some reason, my rio things there are passwords in place on some VI's

    When working on the project and prompted for a password you just click enter with an empty password because there is none and off you go. 

    However, the LV VI analyzer wont go through because of the password issue and you cant add or store a "blank" password to the analyzer?

     

    Anyone with any ideas?

  2. I am working on some legacy code that i did not write. 

    Unfortunatley, the original writer used a shared variable that can be written to in about 500 locations. Just a bool tag to cause an abort. 

    I am getting random aborts and i have no clue which writer is pushing on my network published shared variable. 

    Does anyone know of a way to capture this?

    There are hundreds of this one abort tag. Its impossible to track which is pushing the tag.

     

    Thanks

     

  3. 1 hour ago, RMowatt said:

    It has been a while since I've used SoftMotion, but I recall running into similar issues.  The way to mitigate this is to create a stop move, much like a straight line move or contour move except its purpose is to stop.  You then start the stop move and the motor should stop with whatever settings you have created your stop move with.  It doesn't seem very intuitive, but if I'm remembering correctly it worked pretty perfectly.  It always seemed like stopping a straight line or any other move didn't stop the motor because it was telling it to stop the move after it was already finished.  This sort of thing was exhibited in the contour move where if you load up 1000 points, it would still go through all 1000 after stopping the contour move, but using the stop move would stop it immediately.

    I dont fully understand what you mean. 

    I have thought about your suggestion previously, but even if you made a VI called "stop move" or whatever, inside of it, you would need to place the stop immediate soft motion command. 

     

    If it doesnt respond alone why would it respond in a subVI.

     

    Or are you suggesting to making a sub VI with a strait line move in it with its velocity = zero?

     

    Thanks in advance 

  4. So i am controlling a Kollmorgen Drive with soft motion from a C-Rio 9045

     

    It runs fine 99% of them time. 

    On occasion i use the STOP immediate command to stop the drive

    It simply ignores the command.

     

    I have an indicator tied to the drive velocity and it shows zero

    However the drive continues to move and it will not stop. 

    I am at a loss. We have verified the command and tried it in several places in the program. 

    After the initial troubleshooting i am thinking this is a comm related problem. 

    As if its busy doing something else. 

    Does anyone know of any other functions we can use to monitor the comms outbound?

    I have been trying to locate a function that will tell us if the drive is busy.  

     

     

  5. I have a need to hit several front panel buttons of a sub vi in sequence. The sub VI houses an event structure that must happen in order to make a certain thing happen. 

    I have a flat sequence structure. that turns off and on local variables that are then fed into the sub VI.

    The subVI is called in its own while loop. 

    the flat sequence is running and the local variables are changing correctly. However, the subVI in the while loop will not execute causing the event structure inside the subVI to not detect a change and nothing happens

    The while loop that contains the subvi has no connects in or out of it, its all local variables

    Any recommendations on how to fix this? Thanks

     

  6. My only other issue is, I am triggering my Latch reset with a falling edge trigger.

     

    The clock that is running the latch is only running at the speed of a while loop. 

    It is causing me to miss the falling edge sometimes. Do you have any suggestions

    Thanks

    Setting the Feedback node like this to false did not work

    I need to find a way to guarantee it

     

    Latch.png

  7. On 4/29/2019 at 11:48 AM, ShaunR said:

    You can use the Path to Array and then slice out whichever parts of the path you need and concatenate back again.

    This is the way i did it.

    Seems to work ok

    Broke it down into an array and then concat it back together with just the pieces i wanted.

    One caveat , when it strips it out, it looses the  ":" colon in C drive, so concat a constant with it.

    Thanks for the suggestions. Been a few years since i have worked with LV and getting back into the swing 

     

  8. Quick question for you all

     

    Say you have two nested case structures on the RT side of a CRIO

     

    Just with simple true and false conditions

     

    Say the outer one is true and that allows you to get into the inner one 

    While the inner one is executing the outer one eventually turns false

    I am having an issue with the inner case stuck executing because for some reason the outer case is never evaluated again

    Any ideas?

    Thanks

  9. The procedure would not work with the CRIO just in SAFE mode

    For some interesting reason i could only format the machine if it was not only in safe mode but also IP RESET mode

    Just incase someone else has the same issue. 

  10. So i have a CRIO at the moment. 

    I have seen a few example projects built. 

    My question is general in nature. 

    There are 3 pieces to this thing. The host, the FPGA and the Real Time.

     

    Can someone help me out with some guidelines as to what type of tasks should be assigned to each of these 3 pieces. 

    I understand the FPGA handles the IO.

    However, the division of labor between the RT and the host is somewhat hazy. 

    Thanks in advance. 

     

     

  11. Hi

    Another rookie question here.

    I have one VI and it is running a while loop that never stops

    I have a simple path control and path indicator just tied to each other for no other reason then testing.

    When i add an event structure inside the while loop, the path control and indicator will not execute

    When i delete the event structure it works just fine

    To be clear, there is nothing in the event structure. They simply share the same while loop.

    With the event structure, it wont run, without it, it will run

    Putting a probe on the path control and i get "not executed"

    Anyone can think of a reason why?

     

    no_execution.PNG

×
×
  • Create New...

Important Information

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