Jump to content

Thang Nguyen

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Thang Nguyen

  1. My company is growing so need to add one more position for LabVIEW developer. Best to have experience working with complicated architecture Need to help object oriented knowledge and experience. Good to help experience with NI Vision, Motion, FPGA. We can transfer H1B. Please send email to thang.nguyen@lumacyte.com This position if filled. Thank you.
  2. If you are the one order the NI parts relating to motion you will receive the letter.
  3. We are using NI Softmotion, cRIO and NI 9503 to control stepper motors now. But since NI will discontinue these products we need to look for replacement. I just want a controller which I need to send command to tell motor move for a certain distance with a pre-program acceleration, velocity profiles. Thank you for answering my question.
  4. Hi, I am looking for an option to replacement of NI Softmotion + Stepper modules to control 3 axis stepper motors. If anyone has experiment with this please give me an advice. Thanks in advance.
  5. @ensegre: I am actually aware of the panel limit size. I did set the minimum size to the smallest value I can set to. But after setting it to 1x1, I don't get error anymore. I guess this fixed it. Thank you very much.
  6. In my application, I try to change the size of the Front Panel of sub VI based on configuration. I am not sure why I got error below. subVI Set Dialog Size's block diagram When call this VI, I tried to passed in VI server reference or pass using VI property node reference. Both of methods return same error Thank you in advance.
  7. In attachment is my FPGA VI. I have 2 motors. With one motor, I have a single cycle time loop to generate a PWM and another single cycle time loop to analyze the encoder. I would like to ask, if I want to add PID in FPGA, should I create a third while loop to connect encoder value with PID and the PWM generator? This is the only way I think it can happens. Regards, TNRover1_FPGA_Main.vi
  8. Hi, I am quite familiar with different design pattern on LabVIEW but I am a newbie on FPGA design. I start working on a project for my own hobby using myRIO to control motor speed with PWM and read back encoder. This is the first part of my project and I plan to expand more later. This project will help me to get use to FPGA too. I am trying to learn a good design pattern by follow the template project which is "LabVIEW FPGA control on Compact RIO". In this template project, feedback value and control signal are analog channels and they connect directly with PID module in FPGA in a normal while loop. The configuration are sent from host. In my prototype project, I already built FPGA module to drive PWM and read encoder using single-cycle time loop. I plan to use PID in real time code. If I want to follow the template design, I have to change the way I implement the code for FPGA and Real-Time. So right now, I am not sure what is a good design I should follow. If you have any advice, I will highly appreciate. Thank you very much!
  9. Thanks Chris and Yair. I decided to swap the Y to keep it simple . At the beginning I miscalculated the offset for origin, but I have correct value now.
  10. Hi, In current picture control, the origin start at top left corner and it's positive direction go down to the bottom. I would like to use picture control to draw map for my robot project, but I would like to display as a normal coordinator system which mean vertical positive direction is go up and origin start at bottom left corner. I am trying to shift the origin and swap all y value. I wonder if there is better way than this. Regards, Thang Nguyen
  11. Thomas, Could you please take a screenshot of the part where you do this in TS? Regards, Thang Nguyen
  12. I am using TestStand 2010 so if this information is not correct for later version, please help me remove this topic. In TestStand, when there is a step does not run because of previous condition step like "If", the status of that step will be left as empty. This returns a clear visual affect, in debugging, that this step has not run. But if I have a condition step and another step under this condition. If in the first interval this step ran and in the second interval this step didn't run, it still keep the status from the first run interval.If I just put a break point at the begin of the loop and click play instead of go through each step, I will think that these step ran in the second interval. Should it be better if there is a flag or something indicates that this step did not run at all? Regards, Thang Nguyen
  13. @ininitenothing: I would like to fit the plane not the boundary. Thanks.
  14. @infinitenothing: Thanks for your reply. One of the issue is the surface can be tilt, so I cannot use the average value. I also have the case the cylinder diameter is greater than the range of the laser scan which I need to do 2 scan. In this case, I have to fit two half circle before I can stitch them together. To generalize my question, I am looking for a method to fit a 3D surface with some certain shape.
  15. I am sorry, I was not clear but I mean a 3D scan of circular surface, not a circular fit.
  16. Hi, I have data from laser scan of a circular surface. I converted data to image and using circular edge detection to mask out the background. What I like to do next is to fit the surface then subtract my original data from it. I am not sure if there is any function I can use to fit specifically in the boundary of the object only. Please let me know what function that I should use. Thanks you.
  17. @Mikael: Basicly what you use is a name queue, am I correct? That's how you get the reference to another object. Thank you very much for your time building the example code @Shoneill: Thanks for your advice. I will think a way to combine user event in LVOOP. There are some great feature I still want to use from LVOOP.
  18. Hi, I need advice on how to exchange messages between 2 classes or 2 objects. So far I am using LVOOP mostly because of data encapsulation and inheritance feature. Now I need communication between 2 objects A and B running parallel. Each object can send message to another. I can send message one way by using composition relationship. I put one class inside another class cluster, for example B inside A cluster. Then later from inside class A, I can use class B reference to send message to process of class B. But I don't know how to send message back from B to A. Is there any design pattern about this? Or is there any example? I can do this without using class by using name queue but I would like to learn how to do this with LVOOP. I read about actor framework already but I don't want to use it now seam it's a little bit complicated for my project. Thank you for your time reading and answering my question! Thang Nguyen
  19. You are right. I think the problem is myself, I need to identify clearly what I want. Currently, I am confuse that if I want deterministic or not.
  20. @Crossrulz: I have 3 array of doubles (640 elements each from a line scan). I guess I can use single process shared variable single element with another counter to tell if this is the latest data or not. How do you think? Edit: Sorry for my brainstorm idea. I forgot that I don't want it polling. I want the blocking feature.
  21. Hi, I would like to ask which method should I use for transferring latest data between determinism process. I don't want to use single process shared variable with RT FIFO enable since it will polling data. I don't want to use the RT FIFO function because I cannot send the latest value. Queue is not determinism. I am not sure if Notify is determinism or not. Anyone with experience about this? Regards, Thang Nguyen
  22. Shaun, I know NI will not run on Raspberry Pi, I am thinking about Ethernet communication. The link your provided does not work. Could you please edit it? Thank you for your help.
  23. Hi, I have some experience with image processing using NI IMAQdx and some standard cameras and line scans, but I don't have much knowledge about the camera interface. Now I would like to do some home projects which using NI IMAQdx but with lower budget camera with decent quality. I found some wireless camera on eBay but the quality is not really good (I think so). There is just a new Raspberry PI camera on the market (http://www.raspberrypi.org/product/camera-module/) I am collecting information on how to using this camera. I know that I have to use a Raspberry PI model B to connect to this camera but it only provides the features to monitor camera directly. Now I wonder how hard it is to make a IP camera with this Raspberry Pi with camera. I am not an expert in linux as well as C program but I am wiling to learn. Anyone can give me some idea what and where I need to look for. Or another camera option? Thanks!
  • Create New...

Important Information

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