Jump to content

AInvisibleNinja

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by AInvisibleNinja

  1. Okay, so I tried the test case that you mentioned and it seems like once the VI shows up inside of the subpanel, it stops running. I also already tried opening the block diagram of the VI running in the subpanel but it won't actually let me open it despite have the option selected. I also know that there is no error being produced by the variant to data function. Closing the front panel could be the issue though. I'll look for where it's being opened and seeing if I can stop it there and see if it helps. Thanks!
  2. I'm trying to run a VI using the Call by Reference function, then embedded it into a subpanel in my Main.VI. Once the VI is embedded, I can't use it in the subpanel. It's like everything is blocked and it won't let me interact with any of it. If I use an invoke node and call the Run VI method, this isn't an issue. Unfortunately, this is part of a much bigger application that use Call by Reference functions, so I can't replace those calls. I have attach image snippets showing my code. Does anyone have any suggestions why this might be happening or a work-around to fix it? Thank you in advance!
  3. Thank you for all of your time and help. Yes, it is a member of a class so I'm seeing how difficult this will be. We will probably look for another motor so we don't have to work on that. Just out of curiosity though, do you have any good resources for writing DLL wrappers? Maybe books or something? I haven't been able to find anything, but I would like to read up on the issue in case we ever encounter it again.
  4. Thanks for the response. I provided it the master header file, and I have looked inside it and all of the functions show up correctly in there. For example, the header file shows the function: virtual void AddToPosition(double adjAmount) = 0; where LabVIEW is reading it as cpmAddToPosition() and lists it as broken. I'm thinking the issue is from it being a C++ DLL inside of a C DLL. Do you have any tips or suggestions for getting a C++ DLL to work with Labview?
  5. I'm trying to use the Import Shared Library Wizard to call C/C++ calls from the ClearPath-SC SDK in LabVIEW. I'm having issues with the wizard creating the VIs where it's saying that none of the functions can be created. It also seems like it's importing the names of the functions incorrectly as well. Does anyone have any idea what's going on or what I can do to fix it? Thank you.
  6. I'm trying to communicate with a Netzer DS-70 using a cRIO 9063 with a SEA-9521 card. I already have the FPGA and RT VIs written, but I'm constantly getting a time-out from the hardware. I have verified that everything is wired correctly and powered, but there is consistently a time-out. I believe the biggest issue is that the encoder uses a 6 bit CRC and an ACK bit that lasts the length of a clock cycle. I believe this is throwing off the timing of the communication. Does anyone have any experience using these encoders or this cRIO modules?
×
×
  • Create New...

Important Information

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